Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JSON Viewer
width600
height700
{
  "requestInfo": {
    "transactionId": "e576c75e-7536-4145-a1c0-d60b65bb1bb8",
    "requestId": "de4f04e3-0a65-470b-9d07-8ea6c2fb3e10",
    "callbackUrl": "https://wiki.onap.org:5000/callbackUrl/",
    "sourceId": "SO",
    "requestType": "create",
    "numSolutions": "100",
    "optimizers": [
      "placement"
    ],
    "timeout": 1200
  },
  "placementInfo": {
    "requestParameters": {
      "sourceDestinationVfModuleId": "e85d0c57-e518-4dae-b185-75bf649e52f8"
    },
    "subscriberInfo": {
      "globalSubscriberId": "dbc2c763-6383-42d6-880a-b7d5c5bc84d9",
      "subscriberName": "oof-so-chm"
    },
    "placementDemands": [
      {
        "resourceModuleName": "DtDestination",
        "serviceResourceId": "vFW-XX",
        "resourceModelInfo": {
          "modelInvariantId": "b50a101d-dbe3-41b1-a04b-3c44b0ec9d94",
          "modelVersionId": "d23ad900-9920-49da-94e3-78c76cbdf331",
          "modelName": "VfwSnkDtVf..base_vfw..module-0",
          "modelType": "resource",
          "modelVersion": "1.0"
        },
        "excludedCandidates": [
          {
            "identifierType": "vfModuleId",
            "identifiers": [
              "2b88bda7-95d4-4e26-92b7-fab087a1b609"
            ]
          }
        ]
      },
      {
        "resourceModuleName": "DtAnchor",
        "serviceResourceId": "vPGN-XX",
        "resourceModelInfo": {
          "modelInvariantId": "344e26f1-ff29-4570-98fd-2f607b79e609",
          "modelVersionId": "a8ad1d21-5e9d-4a91-b155-19c5ce5fbe17",
          "modelName": "VfwPkgDtVf..base_vpkg..module-0",
          "modelType": "resource",
          "modelVersion": "1.0"
        }
      }
    ]
  }
}
     

AFFINITY POLICY

...

:

Code Block
languagejs
titleAfFINITY POLICY OOF
linenumberstrue
{
    "service": "affinityPolicy",
    "policyName": "TD-vPGN-AP-DP-AffinityOSDF_DUBLIN.Affinity_vFW_TD",
    "description": "Affinity policy for  vPGN Anchor and vFW destination point",
    "templateVersion": "1702OpenSource.version.031",
    "version": "oofDublin",
    "priority": "53",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "identity": "affinity_vFW_TD_vPGN",
        "policyScope": ["vPGN", "TD
            "TD",
            "vFW-SINK",
            "vPGN"
        ],
        "affinityPropertiesaffinityProperty": {
            "qualifier": "same",
            "category": "region"
        },
        "policyType": "affinityPolicyzone",
        "resources": [
            "vPGNvFW-SINK",
            "vFW-SINKvPGN"
        ],
        "applicableResources": "all"
    }
}

OSDF - HAS:

Code Block
languagejs
titleOSDF - HAS
linenumberstrue
{
    "name": "distribute_traffic_test",
    "files": {},
    "limit": 1,
    "timeout": 1200,
    "template": {
        "homing_template_version": "2018-02-01",
        "demands": {
            "vFW-SINK": [{
                "inventory_provider": "aai",
                "inventory_type": "vfmodule",
                "region": "RegionOne",
                "placement_role": "destination",
                "attributes": {
                    "orchestration-status": "active",
                    "prov-status": "ACTIVE",
                    "service_instance_id": "b73bed51-63a4-4660-8a2d-b8d4625b2cc0",
                    "global-customer-id": "Demonstration",
                    "model-invariant-id": "7e12b0e6-de72-45ee-8811-cce6fc31f65d",
        			"model-version-id": "90ce273d-463d-4a54-90fa-db8e90a0f2e2"
                },
                "excluded_candidates": [{
                	"candidate_id": "e765d576-8755-4145-8536-0bb6d9b1dc9a",
                	"inventory_type": "vfmodule"
                }]
            }],
            "vPGN": [{
                "inventory_provider": "aai",
                "inventory_type": "vfmodule",
                "region": "RegionOne",
                "placement_role": "anchor",
                "attributes": {
                    "orchestration-status": "active",
                    "prov-status": "ACTIVE",
                    "service_instance_id": "b73bed51-63a4-4660-8a2d-b8d4625b2cc0",
                    "global-customer-id": "Demonstration",
                    "model-invariant-id": "1dc4fcc4-0895-4b76-8126-34ebfe875859",
        			"model-version-id": "b99f698c-130a-4141-82c9-dbabaed7581d"
                }
            }]
        },
        "constraints": {
        	"vf_module_affinity": {
          		"type": "zone",
			    "demands": ["vFW-SINK", "vPGN"],
			    "properties": {
					"qualifier": "same",
				     "category": "region"
			    }
          }
        }
    }
}

...