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 3 Current »

Purpose:  Verify if VID could present all cloud regions to ONAP user for VNF/VF Module instantiating

Test prerequiste:


Test case 1: 1 cloud region:CloudOwner/RegionOne

Step 1: Edit the service instance vLB2, refresh the VID with latest AAI data by clicking the refresh button.

Step 2: Click the "Add node instance" to open the dialog for creating VNF

Step 3: Select "vLB" for the product family

Step 4: Select LCP Region: expect to observe "RegionOne(CloudOwner)"

Step 5: Select Tenant, expect to observe "VIM"

Test Result: Pass



Test case 2: 2 cloud regions:CloudOwner/RegionOne, CloudOwner2/RegionOne

Step 1: Onboard new cloud region by ESR VIM registration portal: http://portal.api.simpledemo.onap.org:30280/iui/aai-esr-gui/extsys/vim/vimView.html

Step 2: add subscription relationship between new cloud region and customer:

service subscription
curl -X PUT \
  https://10.12.6.13:30233/aai/v16/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner2/RegionOne/tenants/tenant/0e148b76ee8c42f78d37013bf6b7b1ae/relationship-list/relationship \
  -H 'Accept: application/json' \
  -H 'Authorization: Basic QUFJOkFBSQ==' \
  -H 'Cache-Control: no-cache' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: application/json' \
  -H 'Host: 10.12.6.13:30233' \
  -H 'Postman-Token: fe0db974-8c7e-44ca-83bc-ca6225812cb3,0fa98ee0-23f4-40ab-b961-9ec1594c88f9' \
  -H 'Real-Time: true' \
  -H 'User-Agent: PostmanRuntime/7.13.0' \
  -H 'X-FromAppId: jimmy-postman' \
  -H 'X-TransactionId: 9999' \
  -H 'accept-encoding: gzip, deflate' \
  -H 'cache-control: no-cache' \
  -H 'content-length: 651' \
  -d '
        {
            "related-to": "service-subscription",
            "relationship-label": "org.onap.relationships.inventory.Uses",
            "related-link": "/aai/v16/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vLB",
            "relationship-data": [
                {
                    "relationship-key": "customer.global-customer-id",
                    "relationship-value": "Demonstration"
                },
                {
                    "relationship-key": "service-subscription.service-type",
                    "relationship-value": "vLB"
                }
            ]
        },'


Step 3: Edit the service instance vLB2, refresh the VID with latest AAI data by clicking the refresh button.

Step 4: Click the "Add node instance" to open the dialog for creating VNF

Step 5: Select "vLB" for the product family

Step 6: Select LCP Region: expect to observe "RegionOne(CloudOwner)" and "RegionOne(CloudOwner2)"

Step 7: Select Tenant, expect to observe "VIM"

Test Result: Failed, step 6 observes only 1 cloud region: "RegionOne(CloudOwner2)", Step 7 observes 2 tenants "VIM", "VIM"



Test case 3: 3 cloud regions:CloudOwner/RegionOne, CloudOwner2/RegionOne, CloudOwner3/CloudRegion3


Step 1: Onboard new cloud region by ESR VIM registration portal: http://portal.api.simpledemo.onap.org:30280/iui/aai-esr-gui/extsys/vim/vimView.html

Step 2: add subscription relationship between new cloud region and customer:

service subscription
curl -X PUT \
  https://10.12.6.13:30233/aai/v16/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner3/Region3/tenants/tenant/0e148b76ee8c42f78d37013bf6b7b1ae/relationship-list/relationship \
  -H 'Accept: application/json' \
  -H 'Authorization: Basic QUFJOkFBSQ==' \
  -H 'Cache-Control: no-cache' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: application/json' \
  -H 'Host: 10.12.6.13:30233' \
  -H 'Postman-Token: fe0db974-8c7e-44ca-83bc-ca6225812cb3,0fa98ee0-23f4-40ab-b961-9ec1594c88f9' \
  -H 'Real-Time: true' \
  -H 'User-Agent: PostmanRuntime/7.13.0' \
  -H 'X-FromAppId: jimmy-postman' \
  -H 'X-TransactionId: 9999' \
  -H 'accept-encoding: gzip, deflate' \
  -H 'cache-control: no-cache' \
  -H 'content-length: 651' \
  -d '
        {
            "related-to": "service-subscription",
            "relationship-label": "org.onap.relationships.inventory.Uses",
            "related-link": "/aai/v16/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vLB",
            "relationship-data": [
                {
                    "relationship-key": "customer.global-customer-id",
                    "relationship-value": "Demonstration"
                },
                {
                    "relationship-key": "service-subscription.service-type",
                    "relationship-value": "vLB"
                }
            ]
        },'



Step 3: Edit the service instance vLB2, refresh the VID with latest AAI data by clicking the refresh button.

Step 4: Click the "Add node instance" to open the dialog for creating VNF

Step 5: Select "vLB" for the product family

Step 6: Select LCP Region: expect to observe "RegionOne(CloudOwner)" and "RegionOne(CloudOwner2)" and "Region3(CloudOwner3)"

Step 7: Select Tenant, expect to observe "VIM"

Test Result: Failed, step 6 observes only 2 cloud region: "RegionOne(CloudOwner2)","Region3(CloudOwner3)"



Test case 4: 4 cloud regions:CloudOwner/RegionOne, CloudOwner2/RegionOne, CloudOwner3/CloudRegion3, CloudOwner2/Region2


Step 1: Onboard new cloud region by ESR VIM registration portal: http://portal.api.simpledemo.onap.org:30280/iui/aai-esr-gui/extsys/vim/vimView.html

Step 2: add subscription relationship between new cloud region and customer:

service subscription
curl -X PUT \
  https://10.12.6.13:30233/aai/v16/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner2/Region2/tenants/tenant/0e148b76ee8c42f78d37013bf6b7b1ae/relationship-list/relationship \
  -H 'Accept: application/json' \
  -H 'Authorization: Basic QUFJOkFBSQ==' \
  -H 'Cache-Control: no-cache' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: application/json' \
  -H 'Host: 10.12.6.13:30233' \
  -H 'Postman-Token: fe0db974-8c7e-44ca-83bc-ca6225812cb3,0fa98ee0-23f4-40ab-b961-9ec1594c88f9' \
  -H 'Real-Time: true' \
  -H 'User-Agent: PostmanRuntime/7.13.0' \
  -H 'X-FromAppId: jimmy-postman' \
  -H 'X-TransactionId: 9999' \
  -H 'accept-encoding: gzip, deflate' \
  -H 'cache-control: no-cache' \
  -H 'content-length: 651' \
  -d '
        {
            "related-to": "service-subscription",
            "relationship-label": "org.onap.relationships.inventory.Uses",
            "related-link": "/aai/v16/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vLB",
            "relationship-data": [
                {
                    "relationship-key": "customer.global-customer-id",
                    "relationship-value": "Demonstration"
                },
                {
                    "relationship-key": "service-subscription.service-type",
                    "relationship-value": "vLB"
                }
            ]
        },'


Step 3: Edit the service instance vLB2, refresh the VID with latest AAI data by clicking the refresh button.

Step 4: Click the "Add node instance" to open the dialog for creating VNF

Step 5: Select "vLB" for the product family

Step 6: Select LCP Region: expect to observe "RegionOne(CloudOwner)" and "RegionOne(CloudOwner2)" ,"Region3(CloudOwner3)", "Region2(CloudOwner2)"

Step 7: Select Tenant, expect to observe "VIM"

Test Result: Failed, step 6 observes only 2 cloud region: "RegionOne(CloudOwner2)","Region3(CloudOwner3)"






  • No labels