diff options
author | Thomas Duval <thomas.duval@orange.com> | 2016-09-01 18:26:54 +0200 |
---|---|---|
committer | Thomas Duval <thomas.duval@orange.com> | 2016-09-01 18:26:54 +0200 |
commit | 9899dca1f0a2b8b6e9c5dfa96c9288dd64535d1a (patch) | |
tree | 49fa393f82b552ed1fba2dd22067c16e53443345 /moonclient/moonclient/tests/tests_external_commands.json | |
parent | 9cbb9e45a48c48e6e4d090e48c5a20367cbfb2bf (diff) |
Fix errors with Functest.
Change-Id: Iff86047633b89c5a27d56f91e78cdf1377038f5f
Diffstat (limited to 'moonclient/moonclient/tests/tests_external_commands.json')
-rw-r--r-- | moonclient/moonclient/tests/tests_external_commands.json | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/moonclient/moonclient/tests/tests_external_commands.json b/moonclient/moonclient/tests/tests_external_commands.json index d94658cc..25993dd0 100644 --- a/moonclient/moonclient/tests/tests_external_commands.json +++ b/moonclient/moonclient/tests/tests_external_commands.json @@ -118,21 +118,33 @@ }, { + "name": "get cirros image", + "external_command": "wget http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img -o /tmp/cirros.img", + "result": "", + "description": "Download a Cirros image" + }, + { + "name": "install cirros image", + "external_command": "glance image-create --name \"cirros\" --disk-format qcow2 --file /tmp/cirros.img --container-format bare", + "result": "", + "description": "Upload the Cirros image in glance" + }, + { "name": "nova image-list", "external_command": "nova image-list", - "result": "(?P<uuid_image>[\\w-]+)\\s+\\| cirros-0.", + "result": "(?P<uuid_image>[\\w-]+)\\s+\\| cirros", "description": "Get an Image ID" }, { "name": "neutron net-list", "external_command": "neutron net-list", - "result": "(?P<uuid_net>[\\w-]+)\\s+\\| public", + "result": "(?P<uuid_net>[\\w-]+)\\s+\\| ext-net", "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.", + "result": "(?P<uuid_image>[\\w-]+)\\s+\\| cirros", "description": "Get an Image ID" }, { |