aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/soutils.py
diff options
context:
space:
mode:
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)
}
]
},