summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuan HE <ruan.he@orange.com>2015-12-16 17:02:56 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-12-16 17:02:56 +0000
commit721f7d3e5fc68913fe6ee3d06959c5cc45f50aa1 (patch)
treeda2047bf1ee3bcf8918451b8d81b7df638ad9ca9
parentb47811869e3729a89ca3d936de8de89f73f2f891 (diff)
parent38dfc20744e12d8e8343eb35961ac194ca5d0c58 (diff)
Merge "Fix a bug in test."stable/brahmaputra
-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",