aboutsummaryrefslogtreecommitdiffstats
path: root/moonclient
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2015-12-16 16:17:57 +0100
committerasteroide <thomas.duval@orange.com>2015-12-16 16:17:57 +0100
commit38dfc20744e12d8e8343eb35961ac194ca5d0c58 (patch)
tree4dc59084653ccf30f43c5369ab24c56f4d254d52 /moonclient
parent305397bf05d18e654e5c6c6bfe76d79478883fb4 (diff)
Fix a bug in test.
Change-Id: I3def005a8b627fefbf0da7445631610940369d46
Diffstat (limited to 'moonclient')
-rw-r--r--moonclient/moonclient/tests/tests_external_commands.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/moonclient/moonclient/tests/tests_external_commands.json b/moonclient/moonclient/tests/tests_external_commands.json
index b01fde26..bfb7ac1a 100644
--- a/moonclient/moonclient/tests/tests_external_commands.json
+++ b/moonclient/moonclient/tests/tests_external_commands.json
@@ -67,6 +67,20 @@
"command_options": "-c name -c intra_authz_extension_id -f value"
},
{
+ "name": "select_authz_ie",
+ "command": "intraextension select $uuid_authz",
+ "result": "Select $uuid_authz IntraExtension.",
+ "description": "Select the authz IntraExtension",
+ "command_options": ""
+ },
+ {
+ "name": "check_select_authz_ie",
+ "command": "intraextension show selected",
+ "result": "$uuid_authz",
+ "description": "Check the selected authz IntraExtension",
+ "command_options": "-c id -f value"
+ },
+ {
"name": "set_tenant_admin",
"command": "tenant set --admin $uuid_admin $uuid",
"result": "",
@@ -82,6 +96,28 @@
},
{
+ "name": "get aggregation algorithm",
+ "command": "aggregation algorithm list",
+ "result": "(?P<uuid_aggregation>\\w+)\\s+one_true",
+ "description": "Get aggregation algorithm.",
+ "command_options": "-c id -c name -f value"
+ },
+ {
+ "name": "set aggregation algorithm",
+ "command": "aggregation algorithm set $uuid_aggregation",
+ "result": "",
+ "description": "Set aggregation algorithm to one_true.",
+ "command_options": ""
+ },
+ {
+ "name": "get aggregation algorithm",
+ "command": "aggregation algorithm show",
+ "result": "$uuid_aggregation\\s+one_true",
+ "description": "Check aggregation algorithm.",
+ "command_options": "-c id -c name -f value"
+ },
+
+ {
"name": "check nova command",
"external_command": "nova list",
"result": "\\| (?P<uuid_server>[\\w\\-]+)\\s+\\| (?P<name_server>\\w+)\\s+\\| ACTIVE\\s+\\| [\\w\\-]+\\s+\\| Running",