Fix runtest, add runtest_cfg role for virual contrail
Change-Id: If5ee063886c16a6b5f3513b3dc23ac68d4604e79
diff --git a/tcp_tests/managers/runtestmanager.py b/tcp_tests/managers/runtestmanager.py
index eb646d1..e5b00e8 100644
--- a/tcp_tests/managers/runtestmanager.py
+++ b/tcp_tests/managers/runtestmanager.py
@@ -209,6 +209,14 @@
"'{\"external\":true,\"ip_prefix\":\"" +
public_network + "\",\"ip_prefix_len\":24," +
"\"asn\":64512,\"target\":10000}'")},
+ {
+ 'description': "Create heat network",
+ 'node_name': self.target_name,
+ 'cmd': ("set -ex;" +
+ "salt -C 'I@opencontrail:control:role:primary' " +
+ "contrail.virtual_network_create heat-net " +
+ "'{\"external\":false,\"ip_prefix\":\"" +
+ "10.20.30.0\",\"ip_prefix_len\":24}'")},
]
commands = contrail_commands + commands