From 480875d49c722a2310b52c3bd4b2241598df86c8 Mon Sep 17 00:00:00 2001 From: Brian Waldon Date: Thu, 12 Jan 2012 15:52:11 -0800 Subject: Add policy checking to nova.network.api.API Partially implements bp interim-nova-authz-service Change-Id: Ib93d854ee1a7f22f4e7f313a9d50300df8b8596b --- etc/nova/policy.json | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/nova/policy.json b/etc/nova/policy.json index 00140886b..ccc38c9fe 100644 --- a/etc/nova/policy.json +++ b/etc/nova/policy.json @@ -91,5 +91,40 @@ "volume:create_snapshot": [], "volume:delete_snapshot": [], "volume:get_snapshot": [], - "volume:get_all_snapshots": [] + "volume:get_all_snapshots": [], + + + "network:get_all_networks": [], + "network:get_network": [], + "network:delete_network": [], + "network:disassociate_network": [], + "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_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:deallocate_floating_ip": [], + "network:associate_floating_ip": [], + "network:disassociate_floating_ip": [], + + "network:get_fixed_ip": [], + "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_zones": [], + "network:add_dns_entry": [], + "network:modify_dns_entry": [], + "network:delete_dns_entry": [], + "network:get_dns_entries_by_address": [], + "network:get_dns_entries_by_name": [] } + -- cgit