Purpose: Verify if VID could present all cloud regions to ONAP user for VNF/VF Module instantiating
Test prerequiste:
- deploy oom instance with the latest VID images
- init the ONAP by robot script: “./demo-k8s.sh onap init”
- provision local hosts file to visit ONAP portal: http://portal.api.simpledemo.onap.org:30215/ONAPPORTAL/login.htm
- Workaround the https cert issue: browser to open https://vid.api.simpledemo.onap.org:30200/vid/welcome.htm and accept the cert
- Create an service instance vLB2 with service model: vLB
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: 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)" and "RegionOne(CloudOwner2)"
Step 5: Select Tenant, expect to observe "VIM"
Test Result: Failed, step 4 observes only 1 cloud region: "RegionOne(CloudOwner2)", Step 5 observes 2 tenants "VIM", "VIM"
Test case 3: 3 cloud regions:CloudOwner/RegionOne, CloudOwner2/RegionOne, CloudOwner3/CloudRegion3
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)" and "RegionOne(CloudOwner2)" and "Region3(CloudOwner3)"
Step 5: Select Tenant, expect to observe "VIM"
Test Result: Failed, step 4 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: 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)" and "RegionOne(CloudOwner2)" ,"Region3(CloudOwner3)", "Region2(CloudOwner2)"
Step 5: Select Tenant, expect to observe "VIM"
Test Result: Failed, step 4 observes only 2 cloud region: "RegionOne(CloudOwner2)","Region3(CloudOwner3)"