aboutsummaryrefslogtreecommitdiffstats
path: root/moonclient/moonclient/tests/tests_external_commands.json
diff options
context:
space:
mode:
authorThomas Duval <thomas.duval@orange.com>2016-09-06 15:52:54 +0200
committerThomas Duval <thomas.duval@orange.com>2016-09-20 10:38:37 +0200
commit9c8d7a4d8e5ff6b0973fa27ce5a70d2419f2f271 (patch)
treef6f42b9811d0da761a8b31a6e21e84d3fecdd01d /moonclient/moonclient/tests/tests_external_commands.json
parentf81ecda07c3203856af134aca2b397711432a58f (diff)
Update federation tests and nova commands.
Change-Id: I8eed3fdc79ce72521a9db26d527c73a106fdd08f (cherry picked from commit 878770990beb5641ad70a4f669fd263e891dd1bb)
Diffstat (limited to 'moonclient/moonclient/tests/tests_external_commands.json')
-rw-r--r--moonclient/moonclient/tests/tests_external_commands.json46
1 files changed, 44 insertions, 2 deletions
diff --git a/moonclient/moonclient/tests/tests_external_commands.json b/moonclient/moonclient/tests/tests_external_commands.json
index 25993dd0..4caa0df1 100644
--- a/moonclient/moonclient/tests/tests_external_commands.json
+++ b/moonclient/moonclient/tests/tests_external_commands.json
@@ -130,6 +130,48 @@
"description": "Upload the Cirros image in glance"
},
{
+ "name": "create secgroup",
+ "external_command": "nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0",
+ "result": "",
+ "description": "Create a new secgroup in Nova"
+ },
+ {
+ "name": "create secgroup",
+ "external_command": "nova secgroup-add-rule default tcp 22 22 0.0.0.0/0",
+ "result": "",
+ "description": "Create a new secgroup in Nova"
+ },
+ {
+ "name": "create router",
+ "external_command": "neutron router-create demo-router",
+ "result": "",
+ "description": "Create a new router"
+ },
+ {
+ "name": "set router",
+ "external_command": "neutron router-gateway-set demo-router ext-net",
+ "result": "",
+ "description": "Configure the new router"
+ },
+ {
+ "name": "set router",
+ "external_command": "neutron net-create demo-net",
+ "result": "",
+ "description": "Configure the new router"
+ },
+ {
+ "name": "set router",
+ "external_command": "neutron subnet-create demo-net 192.168.1.0/24 --name demo-subnet --gateway 192.168.1.1",
+ "result": "",
+ "description": "Configure the new router"
+ },
+ {
+ "name": "set router",
+ "external_command": "neutron router-interface-add demo-router demo-subnet",
+ "result": "",
+ "description": "Configure the new router"
+ },
+ {
"name": "nova image-list",
"external_command": "nova image-list",
"result": "(?P<uuid_image>[\\w-]+)\\s+\\| cirros",
@@ -143,8 +185,8 @@
},
{
"name": "nova boot new server",
- "external_command": "nova boot --flavor m1.tiny --image $uuid_image --nic net-id=$uuid_net test_moonclient",
- "result": "(?P<uuid_image>[\\w-]+)\\s+\\| cirros",
+ "external_command": "nova boot --flavor m1.tiny --image $uuid_image --nic net-id=$uuid_net --security-group default test_moonclient",
+ "result": "",
"description": "Get an Image ID"
},
{