aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/soutils.py
diff options
context:
space:
mode:
authorYang Xu <yang.xu3@huawei.com>2018-11-22 10:56:52 -0500
committerYang Xu <yang.xu3@huawei.com>2018-11-22 16:04:42 +0000
commit9f935b29ee41f455922efcd7467a02ca0384a9e7 (patch)
treedba99dc65f6a5b4ec348d2a925003d362ee02f6a /test/vcpe/soutils.py
parent5f85af35b6435da9f28ca6097a6ff152ef87ed0c (diff)
Change vgw module name for vCPE test script
Change-Id: I17308f23812cc1a335155fd4e9e789bed04dec00 Issue-ID: INT-717 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
Diffstat (limited to 'test/vcpe/soutils.py')
-rwxr-xr-xtest/vcpe/soutils.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/vcpe/soutils.py b/test/vcpe/soutils.py
index 76031276e..6d6a27ef0 100755
--- a/test/vcpe/soutils.py
+++ b/test/vcpe/soutils.py
@@ -166,6 +166,7 @@ class SoUtils:
'owningEntityName': self.vcpecommon.owning_entity_name}
def generate_custom_service_request(self, instance_name, model, brg_mac):
+ brg_mac_enc = brg_mac.replace(':', '-')
req_details = {
'modelInfo': model,
'subscriberInfo': {'subscriberName': 'Kaneohe',
@@ -182,8 +183,8 @@ class SoUtils:
'name': 'VfModuleNames',
'value': [
{
- 'VfModuleModelInvariantUuid': 'c16ad38c-2c2c-49ae-bbe8-66c7ffbcc30a',
- 'VfModuleName': 'VGW2BRG-fa:16:3e:5c:27:8b'
+ 'VfModuleModelInvariantUuid': self.vcpecommon.vgw_VfModuleModelInvariantUuid,
+ 'VfModuleName': 'VGW2BRG-{0}'.format(brg_mac_enc)
}
]
},