aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/vcpe_custom_service.py
diff options
context:
space:
mode:
authorKang Xi <kang.xi@huawei.com>2018-05-30 09:27:34 -0400
committerKang Xi <kang.xi@huawei.com>2018-05-30 09:30:21 -0400
commit6c76239eea08066bdaf352326e92b161904cf1a1 (patch)
treea325334384db34774434d32e71428b4b3d5c8c11 /test/vcpe/vcpe_custom_service.py
parent8053f360cab41003739bb3023b63027aa4cb60be (diff)
Support multiple customer instantiation
Issue-ID: INT-509 Change-Id: I64a934b516f2290812f39c0df2a0d35027a5d553 Signed-off-by: Kang Xi <kang.xi@huawei.com>
Diffstat (limited to 'test/vcpe/vcpe_custom_service.py')
-rwxr-xr-xtest/vcpe/vcpe_custom_service.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/vcpe/vcpe_custom_service.py b/test/vcpe/vcpe_custom_service.py
index d89129eef..af76803aa 100755
--- a/test/vcpe/vcpe_custom_service.py
+++ b/test/vcpe/vcpe_custom_service.py
@@ -72,6 +72,8 @@ class CustomService:
# preload vGW
if preload_dict:
preloader = preload.Preload(self.vcpecommon)
+ parameters_to_change = ['vgw_private_ip_0', 'vgw_private_ip_1', 'vg_vgmux_tunnel_vni']
+ self.vcpecommon.increase_ip_address_or_vni_in_template(vgw_template_file, parameters_to_change)
preloader.preload_vgw(vgw_template_file, brg_mac, preload_dict, name_suffix)
# create service