Versions Compared

Key

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


View file
nameTraffic Distribution Workflow Dublin Requirements.pptx
height250

...

The following are the key parameters that needs to be sent in from SO to OOF:

Elite soft json viewer
{
	"sourceVnfId": "GUID",
  "requestInfo": {
    "transactionId": "xxx-xxx-xxxx",
    "requestId": "yyy-yyy-yyyy",
    "callbackUrl": "https://wiki.onap.org:5000/callbackUrl/",
    "sourceId": "SO",
    "requestType": "create",
    "numSolutions": N,
    "optimizers": ["TD"],
    "timeout": 600
  },
  "placementInfo": {	
	"requestParameters": { "sourceVnfId": "GUID" },
    "subscriberInfo": {"globalSubscriberId": "xxx-xx-xxx", "subscriberName": "subscriber_x"},
    "placementDemands": [
        {
            "resourceModuleName": "vFW",
            "serviceResourceId": "vFW-xx",
            "tenantId": "vFW-yy",
            "resourceModelInfo": {
                "modelInvariantId": "vFW-modelInvariantId",
                "modelVersionId": "vFW-versionId",
                "modelName": "vFW-model",
                "modelType": "resource",
                "modelVersion": "1.0",
                "modelCustomizationName": "vFW-customeModelName"
            }
        },
	
	"requiredCandidates": "sourceVnfId-GUID", 
	"anchorVnfType": "VNFName"
}

OOF - SO: 


Elite soft json viewer
{
  "anchors": [
    {
      "vnfId": "515e7c01-de6f-4cd5-8e2a-e11565ca6709",
      "distributionPolicy": "equal",
      "distributionPoints": [
        {
          "vnfId": "c360cd53-0ba8-4986-8f80-cf1257cf603b",
          "vServers": [
            {
              "vServerId": "37f5c62d-2d6c-4bd4-b421-26331c6c6423",
              "name": "vfw-dt-1",
              "interfaces": [
                {
                  "name": "eth1",
                  "ipv4": "192.168.10.100"
                },
                {
                  "name": "eth2",
                  "ipv4": "192.168.20.200"
                }
              ]
            },
            {
              "vServerId": "362d35e1-bb7e-4108-9d61-1bd6f9ab7c62",
              "name": "vsink-dt-1",
              "interfaces": [
                {
                  "name": "eth1",
                  "ipv4": "192.168.10.101"
                },
                {
                  "name": "eth2",
                  "ipv4": "192.168.20.201"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

...

The following REST calls to retrieve topology and VNF candidates from AAI: