aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/soutils.py
diff options
context:
space:
mode:
authorYang Xu <yang.xu3@huawei.com>2018-11-27 13:00:05 -0500
committerYang Xu <yang.xu3@huawei.com>2018-11-27 18:08:02 +0000
commit9eae154feaa1c4f30477c7d67050cb3c1135824c (patch)
treeb7f93fa5ca7b159bd9aafdd6b3d549873e9605e0 /test/vcpe/soutils.py
parentdc9dc0a25b3ebb75b6cd84fc2ee222a14dac5387 (diff)
Serveral changes in vCPE testing script
To work with automated vCPE model distribution robot, several changes are made 1. Add image name and flavor in preload data 2. Shorten instance name for rescust service 3. Pass in ip as command line input to cleanvGMUX.py Change-Id: I6f7c8ae711afbc4665e2de72b6abae7969eecb5c Issue-ID: INT-717 Signed-off-by: Yang Xu <yang.xu3@huawei.com> (cherry picked from commit 105db515bbcc2f9a2c6b0363b866af24837cc4ac)
Diffstat (limited to 'test/vcpe/soutils.py')
-rwxr-xr-xtest/vcpe/soutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vcpe/soutils.py b/test/vcpe/soutils.py
index 6d6a27ef0..6cddd6d08 100755
--- a/test/vcpe/soutils.py
+++ b/test/vcpe/soutils.py
@@ -217,7 +217,7 @@ class SoUtils:
# create service
instance_name = '_'.join([self.vcpecommon.instance_name_prefix['service'],
- parser.svc_model['modelName'], name_suffix])
+ parser.svc_model['modelName'][0:10], name_suffix])
instance_name = instance_name.lower()
req = self.generate_custom_service_request(instance_name, parser.svc_model, brg_mac)
self.logger.info(json.dumps(req, indent=2, sort_keys=True))