"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"main": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "nova image-list",
"external_command": "nova image-list",
"description": "Check that the rule was correctly added.",
"command_options": "-c id -c s:role -c a:action_id -c o:object_id -f value"
},
+ {
+ "name": "add_a_new_rule",
+ "command": "rule add $submetarule_uuid_admin \"demo_role,read,authz_object_scopes\"",
+ "result": "^$",
+ "description": "Add a new rule.",
+ "command_options": ""
+ },
+ {
+ "name": "check_added_rule",
+ "command": "rule list $submetarule_uuid_admin",
+ "result": "(?P<rule_id>\\w+)\\s+demo_role\\s+read\\s+authz_object_scopes",
+ "description": "Check that the rule was correctly added.",
+ "command_options": "-c id -c s:role -c a:action_id -c o:object_id -f value"
+ },
+ {
+ "name": "add_a_new_rule",
+ "command": "rule add $submetarule_uuid_admin \"demo_role,write,authz_object_scopes\"",
+ "result": "^$",
+ "description": "Add a new rule.",
+ "command_options": ""
+ },
+ {
+ "name": "check_added_rule",
+ "command": "rule list $submetarule_uuid_admin",
+ "result": "(?P<rule_id>\\w+)\\s+demo_role\\s+write\\s+authz_object_scopes",
+ "description": "Check that the rule was correctly added.",
+ "command_options": "-c id -c s:role -c a:action_id -c o:object_id -f value"
+ },
+ {
+ "name": "add_a_new_rule",
+ "command": "rule add $submetarule_uuid_admin \"demo_role,read,authz_object_categories\"",
+ "result": "^$",
+ "description": "Add a new rule.",
+ "command_options": ""
+ },
+ {
+ "name": "check_added_rule",
+ "command": "rule list $submetarule_uuid_admin",
+ "result": "(?P<rule_id>\\w+)\\s+demo_role\\s+read\\s+authz_object_categories",
+ "description": "Check that the rule was correctly added.",
+ "command_options": "-c id -c s:role -c a:action_id -c o:object_id -f value"
+ },
+ {
+ "name": "add_a_new_rule",
+ "command": "rule add $submetarule_uuid_admin \"demo_role,write,authz_object_categories\"",
+ "result": "^$",
+ "description": "Add a new rule.",
+ "command_options": ""
+ },
+ {
+ "name": "check_added_rule",
+ "command": "rule list $submetarule_uuid_admin",
+ "result": "(?P<rule_id>\\w+)\\s+demo_role\\s+write\\s+authz_object_categories",
+ "description": "Check that the rule was correctly added.",
+ "command_options": "-c id -c s:role -c a:action_id -c o:object_id -f value"
+ },
{
"name": "select_authz_ie",
},
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin"
+ },
+
{
"name": "delete_authz_intra_extension",
"command": "intraextension delete $uuid_authz",
"description": "Delete the authz intra extension",
"command_options": ""
},
+ {
+ "name": "delete_admin_intra_extension",
+ "command": "intraextension delete $uuid_admin",
+ "result": "",
+ "description": "Delete the admin intra extension",
+ "command_options": ""
+ },
{
"name": "delete_tenant",
"command": "tenant delete $uuid",
"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "nova image-list",
"external_command": "nova image-list",
"result": "(?P<uuid>\\w+)\\s+demo",
"description": "Check that tenant demo has been correctly added"
},
+
+ {
+ "name": "check nova command",
+ "external_command": "nova list",
+ "no_result": "test_moonclient",
+ "description": "Check that we cannot list nova servers due to the current rules"
+ },
+ {
+ "name": "try to pause nova instance",
+ "external_command": "nova pause $uuid_server",
+ "result": "^$",
+ "description": "Pausing the server must be impossible due to the current rules"
+ },
+
{
"name": "create_intraextension_authz",
"command": "intraextension add --policy_model policy_empty_authz empty_test",
"command_options": ""
},
- {
- "name": "check nova command",
- "external_command": "nova list",
- "no_result": "test_moonclient",
- "description": "Check that we cannot list nova servers due to the current rules"
- },
- {
- "name": "try to pause nova instance",
- "external_command": "nova pause $uuid_server",
- "result": "^$",
- "description": "Pausing the server must be impossible due to the current rules"
- },
-
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "swift list",
"external_command": "swift list",
"command_options": "-f value",
"tests_group": {
"main": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"main": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
{
"name": "list_intraextension",
"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"authz": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",
"command_options": "-f value",
"tests_group": {
"main": [
+ {
+ "auth_name": "admin",
+ "description": "Change user to admin (just in case...)"
+ },
+
{
"name": "list tenant",
"command": "tenant list",