...
Using POSTMAN to update AAI requires headers and basic authorization shown.
Create the vIMS Service
This will put vIMS in the drop down for new VNFs in VID.
Query for the services
https://<AAI_IP>:8443/aai/v8/service-design-and-creation/services
...
No Format |
---|
{ "service": [ { "service-id": "4dd0f831-785f-455e-a0d9-b16726dd1a70", "service-description": "vLB", "resource-version": "1493657491" }, { "service-id": "1b0332b9891ab7fa-56a2715f-45d94556-be94abd7-c5dc9c0bc881db575894e3e2", "service-description": "vIMSvFW", "resource-version": "15003046831493657491" }, { "service-id": "e8cb8968c30d0f54-541161e8-478b4475-906ab029-f28747de72cd43fc3f7bebef", "service-description": "vCPEvVG", "resource-version": "15003047231493844352" }, { "service-id": "891ab7fa-715f-4556-abd7-db575894e3e2", "service-description": "vFW", "resource-version": "1493657491" }, { ] } |
Generate a UUID
https://www.uuidgenerator.net/
pick the Version 4 UUID like: e8cb8968-5411-478b-906a-f28747de72cd
PUT the vIMS Service (see headers in screen shot below)
{
"service-id":
...
"
...
e8cb8968-
...
5411-
...
478b-
...
906a-
...
f28747de72cd",
...
"service-description":
...
"
...
vIMS"
}
replace "e8cb8968-5411-478b-906a-f28747de72cd" with the UUID you generated
confirm with a GET to the services url.
Generate a UUID
PUT the vIMS Service
Create the Account
Code Block | ||||
---|---|---|---|---|
| ||||
{ "global-customer-id": "Demonstration3", "subscriber-name": "Demonstration3", "subscriber-type": "INFRA", "service-subscriptions": { "service-subscription": [ { "service-type": "vFW", "relationship-list": { "relationship": [{ "related-to": "tenant", "relationship-data": [ {"relationship-key": "cloud-region.cloud-owner", "relationship-value": "Rackspace"}, {"relationship-key": "cloud-region.cloud-region-id", "relationship-value": "IAD"}, {"relationship-key": "tenant.tenant-id", "relationship-value": "<YOUR_TENANT_HERE>"} ] }] } }, { "service-type": "vLB", "relationship-list": { "relationship": [{ "related-to": "tenant", "relationship-data": [ {"relationship-key": "cloud-region.cloud-owner", "relationship-value": "Rackspace"}, {"relationship-key": "cloud-region.cloud-region-id", "relationship-value": "IAD"}, {"relationship-key": "tenant.tenant-id", "relationship-value": "<YOUR_TENANT_HERE>"} ] }] } }, { "service-type": "vIMS", "relationship-list": { "relationship": [{ "related-to": "tenant", "relationship-data": [ {"relationship-key": "cloud-region.cloud-owner", "relationship-value": "Rackspace"}, {"relationship-key": "cloud-region.cloud-region-id", "relationship-value": "IAD"}, {"relationship-key": "tenant.tenant-id", "relationship-value": "<YOUR_TENANT_HERE>"} ] }] } } ]} } |
...