a1bc60d4c9
The change modifies the nova template tasks such that it's now using the config_template action plugin. This change will make so that config files can be dynamically updated, by a deployer, at run time, without requiring the need to modify the in tree templates or defaults. Partially implements: blueprint tunable-openstack-configuration Change-Id: I9842ed3fcb2cc4aa379a582359b1ca5d0747f714
187 lines
8.4 KiB
Django/Jinja
187 lines
8.4 KiB
Django/Jinja
{
|
|
"context_is_admin": "role:admin",
|
|
"admin_or_owner": "is_admin:True or project_id:%(project_id)s",
|
|
"default": "rule:admin_or_owner",
|
|
|
|
"cells_scheduler_filter:TargetCellFilter": "is_admin:True",
|
|
|
|
"compute:create": "",
|
|
"compute:create:attach_network": "",
|
|
"compute:create:attach_volume": "",
|
|
"compute:create:forced_host": "is_admin:True",
|
|
"compute:get_all": "",
|
|
"compute:get_all_tenants": "",
|
|
"compute:start": "rule:admin_or_owner",
|
|
"compute:stop": "rule:admin_or_owner",
|
|
"compute:unlock_override": "rule:admin_api",
|
|
|
|
"compute:shelve": "",
|
|
"compute:shelve_offload": "",
|
|
"compute:unshelve": "",
|
|
"compute:resize": "",
|
|
"compute:confirm_resize": "",
|
|
"compute:revert_resize": "",
|
|
"compute:rebuild": "",
|
|
"compute:reboot": "",
|
|
|
|
"compute:volume_snapshot_create": "",
|
|
"compute:volume_snapshot_delete": "",
|
|
|
|
"admin_api": "is_admin:True",
|
|
"compute_extension:accounts": "rule:admin_api",
|
|
"compute_extension:admin_actions": "rule:admin_api",
|
|
"compute_extension:admin_actions:pause": "rule:admin_or_owner",
|
|
"compute_extension:admin_actions:unpause": "rule:admin_or_owner",
|
|
"compute_extension:admin_actions:suspend": "rule:admin_or_owner",
|
|
"compute_extension:admin_actions:resume": "rule:admin_or_owner",
|
|
"compute_extension:admin_actions:lock": "rule:admin_or_owner",
|
|
"compute_extension:admin_actions:unlock": "rule:admin_or_owner",
|
|
"compute_extension:admin_actions:resetNetwork": "rule:admin_api",
|
|
"compute_extension:admin_actions:injectNetworkInfo": "rule:admin_api",
|
|
"compute_extension:admin_actions:createBackup": "rule:admin_or_owner",
|
|
"compute_extension:admin_actions:migrateLive": "rule:admin_api",
|
|
"compute_extension:admin_actions:resetState": "rule:admin_api",
|
|
"compute_extension:admin_actions:migrate": "rule:admin_api",
|
|
"compute_extension:aggregates": "rule:admin_api",
|
|
"compute_extension:agents": "rule:admin_api",
|
|
"compute_extension:attach_interfaces": "",
|
|
"compute_extension:baremetal_nodes": "rule:admin_api",
|
|
"compute_extension:cells": "rule:admin_api",
|
|
"compute_extension:cells:create": "rule:admin_api",
|
|
"compute_extension:cells:delete": "rule:admin_api",
|
|
"compute_extension:cells:update": "rule:admin_api",
|
|
"compute_extension:cells:sync_instances": "rule:admin_api",
|
|
"compute_extension:certificates": "",
|
|
"compute_extension:cloudpipe": "rule:admin_api",
|
|
"compute_extension:cloudpipe_update": "rule:admin_api",
|
|
"compute_extension:console_output": "",
|
|
"compute_extension:consoles": "",
|
|
"compute_extension:createserverext": "",
|
|
"compute_extension:deferred_delete": "",
|
|
"compute_extension:disk_config": "",
|
|
"compute_extension:evacuate": "rule:admin_api",
|
|
"compute_extension:extended_server_attributes": "rule:admin_api",
|
|
"compute_extension:extended_status": "",
|
|
"compute_extension:extended_availability_zone": "",
|
|
"compute_extension:extended_ips": "",
|
|
"compute_extension:extended_ips_mac": "",
|
|
"compute_extension:extended_vif_net": "",
|
|
"compute_extension:extended_volumes": "",
|
|
"compute_extension:fixed_ips": "rule:admin_api",
|
|
"compute_extension:flavor_access": "",
|
|
"compute_extension:flavor_access:addTenantAccess": "rule:admin_api",
|
|
"compute_extension:flavor_access:removeTenantAccess": "rule:admin_api",
|
|
"compute_extension:flavor_disabled": "",
|
|
"compute_extension:flavor_rxtx": "",
|
|
"compute_extension:flavor_swap": "",
|
|
"compute_extension:flavorextradata": "",
|
|
"compute_extension:flavorextraspecs:index": "",
|
|
"compute_extension:flavorextraspecs:show": "",
|
|
"compute_extension:flavorextraspecs:create": "rule:admin_api",
|
|
"compute_extension:flavorextraspecs:update": "rule:admin_api",
|
|
"compute_extension:flavorextraspecs:delete": "rule:admin_api",
|
|
"compute_extension:flavormanage": "rule:admin_api",
|
|
"compute_extension:floating_ip_dns": "",
|
|
"compute_extension:floating_ip_pools": "",
|
|
"compute_extension:floating_ips": "",
|
|
"compute_extension:floating_ips_bulk": "rule:admin_api",
|
|
"compute_extension:fping": "",
|
|
"compute_extension:fping:all_tenants": "rule:admin_api",
|
|
"compute_extension:hide_server_addresses": "is_admin:False",
|
|
"compute_extension:hosts": "rule:admin_api",
|
|
"compute_extension:hypervisors": "rule:admin_api",
|
|
"compute_extension:image_size": "",
|
|
"compute_extension:instance_actions": "",
|
|
"compute_extension:instance_actions:events": "rule:admin_api",
|
|
"compute_extension:instance_usage_audit_log": "rule:admin_api",
|
|
"compute_extension:keypairs": "",
|
|
"compute_extension:keypairs:index": "",
|
|
"compute_extension:keypairs:show": "",
|
|
"compute_extension:keypairs:create": "",
|
|
"compute_extension:keypairs:delete": "",
|
|
"compute_extension:multinic": "",
|
|
"compute_extension:networks": "rule:admin_api",
|
|
"compute_extension:networks:view": "",
|
|
"compute_extension:networks_associate": "rule:admin_api",
|
|
"compute_extension:quotas:show": "",
|
|
"compute_extension:quotas:update": "rule:admin_api",
|
|
"compute_extension:quotas:delete": "rule:admin_api",
|
|
"compute_extension:quota_classes": "",
|
|
"compute_extension:rescue": "",
|
|
"compute_extension:security_group_default_rules": "rule:admin_api",
|
|
"compute_extension:security_groups": "",
|
|
"compute_extension:server_diagnostics": "rule:admin_api",
|
|
"compute_extension:server_groups": "",
|
|
"compute_extension:server_password": "",
|
|
"compute_extension:server_usage": "",
|
|
"compute_extension:services": "rule:admin_api",
|
|
"compute_extension:shelve": "",
|
|
"compute_extension:shelveOffload": "rule:admin_api",
|
|
"compute_extension:simple_tenant_usage:show": "rule:admin_or_owner",
|
|
"compute_extension:simple_tenant_usage:list": "rule:admin_api",
|
|
"compute_extension:unshelve": "",
|
|
"compute_extension:users": "rule:admin_api",
|
|
"compute_extension:virtual_interfaces": "",
|
|
"compute_extension:virtual_storage_arrays": "",
|
|
"compute_extension:volumes": "",
|
|
"compute_extension:volume_attachments:index": "",
|
|
"compute_extension:volume_attachments:show": "",
|
|
"compute_extension:volume_attachments:create": "",
|
|
"compute_extension:volume_attachments:update": "",
|
|
"compute_extension:volume_attachments:delete": "",
|
|
"compute_extension:volumetypes": "",
|
|
"compute_extension:availability_zone:list": "",
|
|
"compute_extension:availability_zone:detail": "rule:admin_api",
|
|
"compute_extension:used_limits_for_admin": "rule:admin_api",
|
|
"compute_extension:migrations:index": "rule:admin_api",
|
|
"compute_extension:os-assisted-volume-snapshots:create": "rule:admin_api",
|
|
"compute_extension:os-assisted-volume-snapshots:delete": "rule:admin_api",
|
|
"compute_extension:console_auth_tokens": "rule:admin_api",
|
|
"compute_extension:os-server-external-events:create": "rule:admin_api",
|
|
|
|
"network:get_all": "",
|
|
"network:get": "",
|
|
"network:create": "",
|
|
"network:delete": "",
|
|
"network:associate": "",
|
|
"network:disassociate": "",
|
|
"network:get_vifs_by_instance": "",
|
|
"network:allocate_for_instance": "",
|
|
"network:deallocate_for_instance": "",
|
|
"network:validate_networks": "",
|
|
"network:get_instance_uuids_by_ip_filter": "",
|
|
"network:get_instance_id_by_floating_address": "",
|
|
"network:setup_networks_on_host": "",
|
|
"network:get_backdoor_port": "",
|
|
|
|
"network:get_floating_ip": "",
|
|
"network:get_floating_ip_pools": "",
|
|
"network:get_floating_ip_by_address": "",
|
|
"network:get_floating_ips_by_project": "",
|
|
"network:get_floating_ips_by_fixed_address": "",
|
|
"network:allocate_floating_ip": "",
|
|
"network:associate_floating_ip": "",
|
|
"network:disassociate_floating_ip": "",
|
|
"network:release_floating_ip": "",
|
|
"network:migrate_instance_start": "",
|
|
"network:migrate_instance_finish": "",
|
|
|
|
"network:get_fixed_ip": "",
|
|
"network:get_fixed_ip_by_address": "",
|
|
"network:add_fixed_ip_to_instance": "",
|
|
"network:remove_fixed_ip_from_instance": "",
|
|
"network:add_network_to_project": "",
|
|
"network:get_instance_nw_info": "",
|
|
|
|
"network:get_dns_domains": "",
|
|
"network:add_dns_entry": "",
|
|
"network:modify_dns_entry": "",
|
|
"network:delete_dns_entry": "",
|
|
"network:get_dns_entries_by_address": "",
|
|
"network:get_dns_entries_by_name": "",
|
|
"network:create_private_dns_domain": "",
|
|
"network:create_public_dns_domain": "",
|
|
"network:delete_dns_domain": "",
|
|
"network:attach_external_network": "rule:admin_api"
|
|
}
|