aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/preload_templates
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/preload_templates
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/preload_templates')
-rw-r--r--test/vcpe/preload_templates/template.vcpe_gwgra_vfmodule.json8
-rw-r--r--test/vcpe/preload_templates/template.vcpe_vgw_vfmodule.json16
2 files changed, 20 insertions, 4 deletions
diff --git a/test/vcpe/preload_templates/template.vcpe_gwgra_vfmodule.json b/test/vcpe/preload_templates/template.vcpe_gwgra_vfmodule.json
index b9e7c3dc6..f453aafe2 100644
--- a/test/vcpe/preload_templates/template.vcpe_gwgra_vfmodule.json
+++ b/test/vcpe/preload_templates/template.vcpe_gwgra_vfmodule.json
@@ -17,6 +17,14 @@
"vf-module-topology": {
"vf-module-parameters": {
"param": [
+ {
+ "name": "vcpe_image_name",
+ "value": "vgw-casa-base-ubuntu-16-04"
+ },
+ {
+ "name": "vcpe_flavor_name",
+ "value": "m1.medium"
+ },
{
"name": "public_net_id",
"value": "${public_net_id}"
diff --git a/test/vcpe/preload_templates/template.vcpe_vgw_vfmodule.json b/test/vcpe/preload_templates/template.vcpe_vgw_vfmodule.json
index f56e8f431..cda93becc 100644
--- a/test/vcpe/preload_templates/template.vcpe_vgw_vfmodule.json
+++ b/test/vcpe/preload_templates/template.vcpe_vgw_vfmodule.json
@@ -18,6 +18,14 @@
"VNF-API:vnf-assignments": {},
"VNF-API:vnf-parameters": [
{
+ "vnf-parameter-name": "vcpe_image_name",
+ "vnf-parameter-value": "vgw-casa-base-ubuntu-16-04"
+ },
+ {
+ "vnf-parameter-name": "vcpe_flavor_name",
+ "vnf-parameter-value": "m1.medium"
+ },
+ {
"vnf-parameter-name": "public_net_id",
"vnf-parameter-value": "${public_net_id}"
},
@@ -47,15 +55,15 @@
},
{
"vnf-parameter-name": "vgw_private_ip_0",
- "vnf-parameter-value": "10.5.0.116"
+ "vnf-parameter-value": "10.5.0.125"
},
{
"vnf-parameter-name": "vgw_private_ip_1",
- "vnf-parameter-value": "10.0.101.116"
+ "vnf-parameter-value": "10.0.101.125"
},
{
"vnf-parameter-name": "vgw_private_ip_2",
- "vnf-parameter-value": "10.2.0.31"
+ "vnf-parameter-value": "10.2.0.40"
},
{
"vnf-parameter-name": "vgw_name_0",
@@ -67,7 +75,7 @@
},
{
"vnf-parameter-name": "vg_vgmux_tunnel_vni",
- "vnf-parameter-value": "116"
+ "vnf-parameter-value": "125"
},
{
"vnf-parameter-name": "onap_private_net_id",