aboutsummaryrefslogtreecommitdiffstats
path: root/moonclient/moonclient/tests/tests_external_commands.json
diff options
context:
space:
mode:
Diffstat (limited to 'moonclient/moonclient/tests/tests_external_commands.json')
-rw-r--r--moonclient/moonclient/tests/tests_external_commands.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/moonclient/moonclient/tests/tests_external_commands.json b/moonclient/moonclient/tests/tests_external_commands.json
index bfb7ac1a..d94658cc 100644
--- a/moonclient/moonclient/tests/tests_external_commands.json
+++ b/moonclient/moonclient/tests/tests_external_commands.json
@@ -118,6 +118,30 @@
},
{
+ "name": "nova image-list",
+ "external_command": "nova image-list",
+ "result": "(?P<uuid_image>[\\w-]+)\\s+\\| cirros-0.",
+ "description": "Get an Image ID"
+ },
+ {
+ "name": "neutron net-list",
+ "external_command": "neutron net-list",
+ "result": "(?P<uuid_net>[\\w-]+)\\s+\\| public",
+ "description": "Get an Net ID"
+ },
+ {
+ "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-0.",
+ "description": "Get an Image ID"
+ },
+ {
+ "name": "sleep",
+ "external_command": "sleep 10",
+ "result": "",
+ "description": "time for server to really boot"
+ },
+ {
"name": "check nova command",
"external_command": "nova list",
"result": "\\| (?P<uuid_server>[\\w\\-]+)\\s+\\| (?P<name_server>\\w+)\\s+\\| ACTIVE\\s+\\| [\\w\\-]+\\s+\\| Running",