View file | ||||
---|---|---|---|---|
|
...
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:
- GET /aai/v14/network/generic-vnfs/
- GET /aai/v14/network/generic-vnfs/generic-vnf/e529455a-e50f-4fe2-b170-ec498ba1f75c
- GET /aai/v14/network/generic-vnfs/generic-vnf/e529455a-e50f-4fe2-b170-ec498ba1f75c/vf-modules
- GET /aai/v14/network/generic-vnfs/generic-vnf/e529455a-e50f-4fe2-b170-ec498ba1f75c/vf-modules/vf-module/0c3e0afe-9af4-4d92-bf3f-a8e20f5c093a
- GET /aai/v14/service-design-and-creation/models/model/d7b903e7-a4d5-4ed1-898f-6174a7a88762/model-vers/model-ver/7f9bd514-bb18-431e-9696-794f70c0b66d
- GET /aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/bc43d50ffcb84750bac0c1707a9a765b/vservers
- GET /aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/bc43d50ffcb84750bac0c1707a9a765b/vservers
- GET /aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/bc43d50ffcb84750bac0c1707a9a765b/vservers/vserver/bf5f089c-0632-48dd-814c-2dfa4095f2ac
- GET /aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/bc43d50ffcb84750bac0c1707a9a765b/vservers/vserver/bf5f089c-0632-48dd-814c-2dfa4095f2ac/l-interfaces/l-interface/Vfmodule_Demo_vFWSNK_7fa9e563-bf0f-4b4c-966c-0f2179105c1c-vsn_private_0_port-ovft6nu22dz4/l3-interface-ipv4-address-list