Versions Compared

Key

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

...

Code Block
titlevDNS - A&AI vserver named query
linenumberstrue
collapsetrue
#PLD find the vserver version 


https://{aai}/aai/search/named-query

{
  "query-parameters": {
    "named-query": {
      "named-query-uuid": "4ff56a54-9e3f-46b7-a337-07a1d3c6b469"
    }
  },
  "instance-filters": {
    "instance-filter": [
      {
        "vserver": {
          "vserver-name": "vserver-71c978fb-29b8-437d-80e6-acf3a3a91e69"
        }
      }
    ]
  }
}

TODO update -  Update with output containing valid VF Modules (other than "dummy")

Code Block
titlevDNS - A&AI vserver named query response
linenumberstrue
collapsetrue
{
  "inventory-response-item": [
    {
      "vserver": {
        "vserver-id": "6ed3642c-f7a1-4a7c-9290-3d51fe1531eb",
        "vserver-name": "zdfw1lb01lb02",
        "vserver-name2": "zdfw1lb01lb02",
        "prov-status": "ACTIVE",
        "vserver-selflink": "http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/servers/6ed3642c-f7a1-4a7c-9290-3d51fe1531eb",
        "in-maint": false,
        "is-closed-loop-disabled": false,
        "resource-version": "1510606403522"
      },
      "extra-properties": {
        "extra-property": []
      },
      "inventory-response-items": {
        "inventory-response-item": [
          {
            "model-name": "vLoadBalancer",
            "generic-vnf": {
              "vnf-id": "db373a8d-f7be-4d02-8ac8-6ca4c305d144",
              "vnf-name": "Vfmodule_vLB1113",
              "vnf-type": "vLoadBalancer-1106/vLoadBalancer 0",
              "service-id": "66f157fc-4148-4880-95f5-e120677e98d1",
              "prov-status": "PREPROV",
              "in-maint": false,
              "is-closed-loop-disabled": false,
              "resource-version": "1510604011851",
              "model-invariant-id": "cee050ed-92a5-494f-ab04-234307a846dc",
              "model-version-id": "fd65becc-6b2c-4fe8-ace9-cc29db9a3da2"
            },
            "extra-properties": {
              "extra-property": [
                {
                  "property-name": "model-ver.model-version-id",
                  "property-value": "fd65becc-6b2c-4fe8-ace9-cc29db9a3da2"
                },
                {
                  "property-name": "model-ver.model-name",
                  "property-value": "vLoadBalancer"
                },
                {
                  "property-name": "model.model-type",
                  "property-value": "resource"
                },
                {
                  "property-name": "model.model-invariant-id",
                  "property-value": "cee050ed-92a5-494f-ab04-234307a846dc"
                },
                {
                  "property-name": "model-ver.model-version",
                  "property-value": "1.0"
                }
              ]
            },
            "inventory-response-items": {
              "inventory-response-item": [
                {
                  "model-name": "vLoadBalancer-1106",
                  "service-instance": {
                    "service-instance-id": "3b12f31f-8f2d-4f5c-b875-61ff1194b941",
                    "service-instance-name": "vLoadBalancer-1113",
                    "resource-version": "1510603936425",
                    "model-invariant-id": "1321d60d-f7ff-4300-96c2-6bf0b3268b7a",
                    "model-version-id": "732d4692-4b97-46f9-a996-0b3339e88c50"
                  },
                  "extra-properties": {
                    "extra-property": [
                      {
                        "property-name": "model-ver.model-version-id",
                        "property-value": "732d4692-4b97-46f9-a996-0b3339e88c50"
                      },
                      {
                        "property-name": "model-ver.model-name",
                        "property-value": "vLoadBalancer-1106"
                      },
                      {
                        "property-name": "model.model-type",
                        "property-value": "service"
                      },
                      {
                        "property-name": "model.model-invariant-id",
                        "property-value": "1321d60d-f7ff-4300-96c2-6bf0b3268b7a"
                      },
                      {
                        "property-name": "model-ver.model-version",
                        "property-value": "1.0"
                      }
                    ]
                  }
                },
                {
                  "model-name": "Vloadbalancer..base_vlb..module-0",
                  "vf-module": {
                    "vf-module-id": "e6b3e3eb-34e1-4c00-b8c1-2a4fbe479b12",
                    "vf-module-name": "Vfmodule_vLB1113-1",
                    "heat-stack-id": "Vfmodule_vLB1113-1/3dd6d900-772f-4fcc-a0cb-e250ab2bb4db",
                    "orchestration-status": "active",
                    "is-base-vf-module": true,
                    "resource-version": "1510604612557",
                    "model-invariant-id": "6d760188-9a24-451a-b05b-e08b86cb94f2",
                    "model-version-id": "93facad9-55f2-4fe0-9574-814c2bc2d071"
                  },
                  "extra-properties": {
                    "extra-property": [
                      {
                        "property-name": "model-ver.model-version-id",
                        "property-value": "93facad9-55f2-4fe0-9574-814c2bc2d071"
                      },
                      {
                        "property-name": "model-ver.model-name",
                        "property-value": "Vloadbalancer..base_vlb..module-0"
                      },
                      {
                        "property-name": "model.model-type",
                        "property-value": "resource"
                      },
                      {
                        "property-name": "model.model-invariant-id",
                        "property-value": "6d760188-9a24-451a-b05b-e08b86cb94f2"
                      },
                      {
                        "property-name": "model-ver.model-version",
                        "property-value": "1"
                      }
                    ]
                  }
                },
                {
                  "model-name": "Vloadbalancer..dnsscaling..module-1",
                  "vf-module": {
                    "vf-module-id": "dummy_db373a8d-f7be-4d02-8ac8-6ca4c305d144",
                    "vf-module-name": "dummy_db373a8d-f7be-4d02-8ac8-6ca4c305d144",
                    "is-base-vf-module": false,
                    "resource-version": "1510610079687",
                    "model-invariant-id": "356a1cff-71f2-4086-9980-a2927ce11c1c",
                    "model-version-id": "6b93d804-cfc8-4be3-92cc-9336d135859a"
                  },
                  "extra-properties": {
                    "extra-property": [
                      {
                        "property-name": "model-ver.model-version-id",
                        "property-value": "6b93d804-cfc8-4be3-92cc-9336d135859a"
                      },
                      {
                        "property-name": "model-ver.model-name",
                        "property-value": "Vloadbalancer..dnsscaling..module-1"
                      },
                      {
                        "property-name": "model.model-type",
                        "property-value": "resource"
                      },
                      {
                        "property-name": "model.model-invariant-id",
                        "property-value": "356a1cff-71f2-4086-9980-a2927ce11c1c"
                      },
                      {
                        "property-name": "model-ver.model-version",
                        "property-value": "1"
                      }
                    ]
                  }
                },
                {
                  "model-name": "Vloadbalancer..dnsscaling..module-1",
                  "vf-module": {
                    "vf-module-id": "my_module_db373a8d-f7be-4d02-8ac8-6ca4c305d144",
                    "vf-module-name": "my_module_1",
                    "is-base-vf-module": false,
                    "resource-version": "1510610079687",
                    "model-invariant-id": "356a1cff-71f2-4086-9980-a2927ce11c1c",
                    "model-version-id": "6b93d804-cfc8-4be3-92cc-9336d135859a"
                  },
                  "extra-properties": {
                    "extra-property": [
                      {
                        "property-name": "model-ver.model-version-id",
                        "property-value": "6b93d804-cfc8-4be3-92cc-9336d135859a"
                      },
                      {
                        "property-name": "model-ver.model-name",
                        "property-value": "Vloadbalancer..dnsscaling..module-1"
                      },
                      {
                        "property-name": "model.model-type",
                        "property-value": "resource"
                      },
                      {
                        "property-name": "model.model-invariant-id",
                        "property-value": "356a1cff-71f2-4086-9980-a2927ce11c1c"
                      },
                      {
                        "property-name": "model-ver.model-version",
                        "property-value": "1"
                      }
                    ]
                  }
                },
                {
                  "model-name": "Vloadbalancer..dnsscaling..module-1",
                  "vf-module": {
                    "vf-module-id": "my_module_db373a8d-f7be-4d02-8ac8-6ca4c305d144",
                    "vf-module-name": "my_module_2",
                    "is-base-vf-module": false,
                    "resource-version": "1510610079687",
                    "model-invariant-id": "356a1cff-71f2-4086-9980-a2927ce11c1c",
                    "model-version-id": "6b93d804-cfc8-4be3-92cc-9336d135859a"
                  },
                  "extra-properties": {
                    "extra-property": [
                      {
                        "property-name": "model-ver.model-version-id",
                        "property-value": "6b93d804-cfc8-4be3-92cc-9336d135859a"
                      },
                      {
                        "property-name": "model-ver.model-name",
                        "property-value": "Vloadbalancer..dnsscaling..module-1"
                      },
                      {
                        "property-name": "model.model-type",
                        "property-value": "resource"
                      },
                      {
                        "property-name": "model.model-invariant-id",
                        "property-value": "356a1cff-71f2-4086-9980-a2927ce11c1c"
                      },
                      {
                        "property-name": "model-ver.model-version",
                        "property-value": "1"
                      }
                    ]
                  }
                }
              ]
            }
          },
          {
            "tenant": {
              "tenant-id": "41d6d38489bd40b09ea8a6b6b852dcbd",
              "tenant-name": "Integration-SB-00",
              "resource-version": "1509587770200"
            },
            "extra-properties": {
              "extra-property": []
            },
            "inventory-response-items": {
              "inventory-response-item": [
                {
                  "cloud-region": {
                    "cloud-owner": "CloudOwner",
                    "cloud-region-id": "RegionOne",
                    "cloud-region-version": "v1",
                    "resource-version": "1509587770092"
                  },
                  "extra-properties": {
                    "extra-property": []
                  }
                }
              ]
            }
          }
        ]
      }
    }
  ]
}

SO API Interaction

...


Code Block
titlevDNS - SO Request (TODO - Update)
linenumberstrue
collapsetrue
TODO - this is new work
Code Block
titlevDNS - SO Response ACCEPTED
linenumberstrue
collapsetrue
TODO - this is new work
vDNS - SO Response SUCCESS
Code Block
title
https://{so}/serviceInstantiation/v7/3b12f31f-8f2d-4f5c-b875-61ff1194b941/vnfs/db373a8d-f7be-4d02-8ac8-6ca4c305d144/vfModules/scaleOut

{
  "requestDetails": {
    "modelInfo": {
      "modelType": "vfModule",
      "modelInvariantId": "356a1cff-71f2-4086-9980-a2927ce11c1c",
      "modelVersionId": "6b93d804-cfc8-4be3-92cc-9336d135859a",
      "modelName": "Vloadbalancer..dnsscaling..module-1",
      "modelVersion": "1"
    },
    "cloudConfiguration": {
      "lcpCloudRegionId": "RegionOne",
      "tenantId": "41d6d38489bd40b09ea8a6b6b852dcbd"
    },
    "requestInfo": {
      "instanceName": "my_module_3",
      "source": "POLICY",
      "suppressRollback": false,
      "requestorId": "policy"
    },
    "relatedInstanceList": [
      {
        "relatedInstance": {
          "instanceId": "e6e99b38-7e3c-49ad-ad90-617c6c710a02",
          "instanceName": "my_module_3_vol",
          "modelInfo": {
            "modelType": "volumeGroup"
          }
        }
      },
      {
        "relatedInstance": {
          "instanceId": "3b12f31f-8f2d-4f5c-b875-61ff1194b941",
          "modelInfo": {
            "modelType": "service",
            "modelInvariantId": "1321d60d-f7ff-4300-96c2-6bf0b3268b7a",
            "modelVersionId": "732d4692-4b97-46f9-a996-0b3339e88c50",
            "modelName": "vLoadBalancer-1106",
            "modelVersion": "1.0"
          }
        }
      },
      {
        "relatedInstance": {
          "instanceId": "db373a8d-f7be-4d02-8ac8-6ca4c305d144",
          "modelInfo": {
            "modelType": "vnf",
            "modelInvariantId": "cee050ed-92a5-494f-ab04-234307a846dc",
            "modelVersionId": "fd65becc-6b2c-4fe8-ace9-cc29db9a3da2",
            "modelName": "vLoadBalancer",
            "modelVersion": "1.0",
            "modelCustomizationName": "vLoadBalancer 0"
          }
        }
      }
    ],
    "requestParameters": {
      "usePreload": true,
      "userParams": [
        {
          "name": "gtp_bind_addr",
          "value": "vmme_private_ip_0"
        },
        {
          "name": "mmc",
          "value": "001"
        },
        {
          "name": "mme_addr",
          "value": "vmme_private_ip_0"
        },
        {
          "name": "mnc",
          "value": "01"
        },
        {
          "name": "n_prob",
          "value": "50"
        },
        {
          "name": "vnfHostIpAddress",
          "value": "veb_private_ip_0"
        }
      ]
    },
    "configurationParameters": [
      {
        "availability-zone": "$.vnf-topology.vnf-resource-assignments.availability-zones.availability-zone[0]",
        "xtz-123": "$.vnf-topology.vnf-resource-assignments.availability-zones.availability-zone[0]"
      }
    ]
  }
}
Code Block
titlevDNS - SO Response ACCEPTED (TODO - Update)
linenumberstrue
collapsetrue
{
	"requestReferences": {
		"requestId": "60533ee3-814d-4949-be93-e6b26aace580"
	},
	"request": {
		"requestId":"d5bc27f2-1d5c-405d-a985-3e3f544c1582",
		"requestStatus": {
			"percentProgress": 0,
			"requestState": "COMPLETE",
			"wasRolledBack": false
		}
	},
	"httpResponseCode": 0
}
Code Block
titlevDNS - SO Response SUCCESS (TODO - Add)
linenumberstrue
collapsetrue
TODO - this is new work

...

Code Block
languagetext
titleCCVPN - Query 'input-parameters' for 'service-instance'
collapsetrue
URL: https://<AAI host>:<AAI port>/aai/v14/business/customers/customer/{global-custoner-id}/service-subscriptions/service-subscription/{service-type}/service-instances?service-instance-id={serviceId}
Method: GET
Request Body:
{
}
Response Body:
{
    "service-instance-id": "{service-instance-id}",
    "service-instance-name" : "instance name",
    "service-type": "some type",
    "service-role": "some role",
    "model-invariant-id": "model id",
    "model-version-id": "model version",
    "input-parameters:"request parameters",  // ... This is the service instance recreation input looked up by CL.
    "resource-version": "some version"
}
 
 
Example of response body:
{
    "service-instance-id": "176d9eba-1662-4289-8396-0097b50fd485",
    "service-type": "E2E Service",
    "service-role": "E2E Service",
    "model-invariant-id": "c22a9483-d2b6-49cc-b1f7-ef34c93572a1",
    "model-version-id": "71d0e396-e246-4c23-aa57-6da2043d6209",
    "input-parameters:".....;",             // ... This is the service instance recreation input looked up by CL.
    "resource-version": "1528975017336"
    "relationship-list": {
         "relationship": [
            {
            "related-to": "pnf",
            "related-link": "/aai/v11/network/pnfs/pnf/MME-0001",
            "relationship-data": [
                    {    
                    "relationship-key": "pnf.pnf-id",      
                    "relationship-value": "176d9eba-1662-4289-8396-0097b50fd466"
                    }
                ],
            "related-to-property": [
                    {
                    "property-key": "pnf.pnf-name",      
                    "property-value": "MME-0001"
                    }
                ]
            } 
        ]
    }
}


SO API Interaction