Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

The following pre-requisites are needed to run the vFW/vDNS instantiation using VID UI

  1. Create Customer in AAI
    Use the PUT /aai/v11/business/customers/customer/{{customer_id}}
    Request Body:

    {
    "global-customer-id": "{{customer_id}}",
    "subscriber-name": "{{customer_id}}",
    "subscriber-type": "INFRA",
    "service-subscriptions": {
    "service-subscription": [
    {
    "service-type": "INFRA"
    }
    ]
    }
    }

  2. Cloud Registration in AAI
    use the PUT request to save the Cloud details to AAI.
    PUT /aai/v11/cloud-infrastructure/cloud-regions/cloud-region/{{cloud_owner}}/{{cloud_region_id}}
    Request Body: 

    {
    "cloud-owner": "{{cloud_owner}}",
    "cloud-region-id": "{{cloud_region_id}}",
    "cloud-type": "azure",
    "owner-defined-type": "owner-defined-type",
    "cloud-region-version": "1.0",
    "cloud-zone": "cloud zone",
    "complex-name": "complex name",
    "sriov-automation": false,
    "cloud-extra-info": "{{azure_subscription_id}}",
    "esr-system-info-list": {
    "esr-system-info": [
    {
    "esr-system-info-id": "82badd77-82b3-4d37-ab2e-fb258ae55611",
    "service-url": "http://10.247.134.140:5000/v3",
    "user-name": "{{azure_client_id}}",
    "password": "{{azure_client_secret}}",
    "system-type": "VIM",
    "ssl-insecure": true,
    "cloud-domain": "default",
    "default-tenant": "{{azure_document_id}}"
    }
    ]
    },
    "tenants":{
    "tenant":[{

    "tenant-id":"{{azure_document_id}}",
    "tenant-name":"vfw-demo",
    "relationship-list": {
    "relationship": [{
    "related-to": "service-subscription",
    "relationship-data": [{
    "relationship-key": "service-subscription.service-type",
    "relationship-value": "INFRA"
    },{
    "relationship-key": "customer.global-customer-id",
    "relationship-value": "{{customer_id}}"
    }]
    }]
    }
    }
    ]
    }
    }

  3. Create Complex in AAI
    Use the PUT request to save complex data in AAI
    PUT /aai/v11/cloud-infrastructure/complexes/complex/{{complex_name}}
    Request Body:

    {
    "physical-location-id": "{{complex_name}}",
    "complex-name": "{{complex_name}}",
    "physical-location-type": "cloud",
    "street1": "street3",
    "city": "eastus",
    "postal-code": "1234567",
    "country": "USA",
    "region": "North America"
    }

  4. Create Service in AAI
    Use the PUT request to create the service in AAI. You can refer to this page to create.
    1. go to the link https://www.uuidgenerator.net/ and pick the Version 4 UUID like: f3fe1523-09ec-4d91-91ae-60ef9a2dd050

    2. PUT https://master_ip:30233/aai/v11/service-design-and-creation/services/service/f3fe1523-09ec-4d91-91ae-60ef9a2dd050

       {
                  "service-id": "f3fe1523-09ec-4d91-91ae-60ef9a2dd050",
                  "service-description": "vDNS/vFW"
       }

    3. GET https://master_ip:30233/aai/v11/service-design-and-creation/services

  5. VNF Profile registration in SDNC

    1. Refer to the link here to add VNF profile in SDNC. VNF type will be the VF module name
  • No labels