summaryrefslogtreecommitdiffstats
path: root/test/vcpe/preload.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 16:01:43 -0500
commit1a0a0466716419880ab6b1fc6a94ec82a2966cb0 (patch)
treee20c7e71e8476db2593820a9095e9d50aa0d34dd /test/vcpe/preload.py
parent611172d413711dbbe59b032941ca47cd27510891 (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>
Diffstat (limited to 'test/vcpe/preload.py')
-rwxr-xr-xtest/vcpe/preload.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/vcpe/preload.py b/test/vcpe/preload.py
index 0d451d24f..0108566da 100755
--- a/test/vcpe/preload.py
+++ b/test/vcpe/preload.py
@@ -128,7 +128,7 @@ class Preload:
}
replace_dict.update(commont_dict)
self.logger.info('Preloading vGW-GRA')
- return self.preload(template_file, replace_dict, self.vcpecommon.sdnc_preload_vnf_url)
+ return self.preload(template_file, replace_dict, self.vcpecommon.sdnc_preload_gra_url)
def preload_vfmodule(self, template_file, service_instance_id, vnf_model, vfmodule_model, common_dict, name_suffix):
"""
@@ -156,6 +156,7 @@ class Preload:
'${vnf_name}': vfmodule_name,
'${mr_ip_addr}': self.vcpecommon.mr_ip_addr,
'${mr_ip_port}': self.vcpecommon.mr_ip_port,
+ '${sdnc_oam_ip}': self.vcpecommon.sdnc_oam_ip,
'${suffix}': name_suffix}
replace_dict.update(common_dict)
self.logger.info('Preloading VF Module ' + vfmodule_name)