aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/vcpecommon.py
diff options
context:
space:
mode:
authorYang Xu <yang.xu3@huawei.com>2018-11-20 16:01:01 -0500
committerYang Xu <yang.xu3@huawei.com>2018-11-20 21:20:38 +0000
commit63a0afd8ee0062f8998214973ef3ccd62f2c3bf7 (patch)
treee64ea296fa73d7f362149272df12f612b94f44d8 /test/vcpe/vcpecommon.py
parent91b9f09a69c0ed29600f39f4b326203d865090f4 (diff)
Fix issues in vcpe test script
1. SDNC GRA url issue 2. Add mr ip and port to prepload 3. Allow SO service_recipe table to be populated 4. Add SDNC ip to preload 5. Add vfmoduleName section in SO request 6. Set Generic NeutronNet shared as False Change-Id: Iba4ff695759ceab53e33367092b6b59678e082e7 Issue-ID: INT-717 Signed-off-by: Yang Xu <yang.xu3@huawei.com> (cherry picked from commit 1a0a0466716419880ab6b1fc6a94ec82a2966cb0)
Diffstat (limited to 'test/vcpe/vcpecommon.py')
-rwxr-xr-xtest/vcpe/vcpecommon.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/vcpe/vcpecommon.py b/test/vcpe/vcpecommon.py
index f5e1b3046..29aad1960 100755
--- a/test/vcpe/vcpecommon.py
+++ b/test/vcpe/vcpecommon.py
@@ -34,8 +34,8 @@ class VcpeCommon:
}
common_preload_config = {
- 'oam_onap_net': 'oam_network_0qV7' if oom_mode else 'oam_onap_lAky',
- 'oam_onap_subnet': 'oam_network_0qV7' if oom_mode else 'oam_onap_lAky',
+ 'oam_onap_net': 'oam_network_AiBB' if oom_mode else 'oam_onap_lAky',
+ 'oam_onap_subnet': 'oam_network_AiBB' if oom_mode else 'oam_onap_lAky',
'public_net': 'external',
'public_net_id': '971040b2-7059-49dc-b220-4fab50cb2ad4'
}
@@ -68,13 +68,13 @@ class VcpeCommon:
self.logger.info('Initializing configuration')
# OOM: this is the address that the brg and bng will nat for config of brg - 10.0.0.x address of k8 host for sdnc
- self.sdnc_brg_bng_ip = self.get_pod_node_oam_ip(self.sdnc_controller_pod)[1]
+ self.sdnc_oam_ip = '10.0.0.20'
# OOM: this is a k8 host external IP
- self.oom_so_sdnc_aai_ip = '10.12.5.18'
+ self.oom_so_sdnc_aai_ip = '10.12.5.228'
# OOM: this is a k8 host external IP can be same as oom_so_sdnc_aai_ip
- self.oom_dcae_ves_collector = '10.12.5.18'
+ self.oom_dcae_ves_collector = '10.12.5.228'
# OOM: this is a k8 host external IP can be same as oom_so_sdnc_aai_ip
- self.mr_ip_addr = '10.12.5.18'
+ self.mr_ip_addr = '10.12.5.228'
self.mr_ip_port = '30227'
self.so_nbi_port = '30277' if self.oom_mode else '8080'
self.sdnc_preloading_port = '30202' if self.oom_mode else '8282'
@@ -136,7 +136,7 @@ class VcpeCommon:
#############################################################################################
# SO urls, note: do NOT add a '/' at the end of the url
self.so_req_api_url = {'v4': 'http://' + self.hosts['so'] + ':' + self.so_nbi_port + '/onap/so/infra/serviceInstantiation/v7/serviceInstances',
- 'v5': 'http://' + self.hosts['so'] + ':' + self.so_nbi_port + '/onap/so/infraserviceInstantiation/v7/serviceInstances'}
+ 'v5': 'http://' + self.hosts['so'] + ':' + self.so_nbi_port + '/onap/so/infra/serviceInstantiation/v7/serviceInstances'}
self.so_check_progress_api_url = 'http://' + self.hosts['so'] + ':' + self.so_nbi_port + '/onap/so/infra/orchestrationRequests/v6'
self.so_userpass = 'InfraPortalClient', 'password1$'
self.so_headers = {'Content-Type': 'application/json', 'Accept': 'application/json'}