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)
diff --git a/test/vcpe/soutils.py b/test/vcpe/soutils.py
index 6d6a27e..6cddd6d 100755
--- a/test/vcpe/soutils.py
+++ b/test/vcpe/soutils.py
@@ -217,7 +217,7 @@
# 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))