Allow network to call get_fixed_ip_by_address.

Updates the default Nova policy.json so that the network
API can call get_fixed_ip_by_address.

This was something we identified when c6be78deb6a3a7cbf092efdfb54f561ce689605f
caused some regressions which prohibited the Nova metadata server from making
this call. We have subsequently fixed the metadata server by correcting
admin context access to this function.... however using an explicit policy rule
(and not relying on the default) seems like a good idea as well.

Partial fix for LP Bug #1039093.

Change-Id: I88d0f5a4dc263bf66f316a4d26c734b6bc9dad21
This commit is contained in:
Dan Prince
2012-08-20 12:28:50 -04:00
parent 5b97dfc648
commit 7908645c8c

View File

@@ -168,6 +168,7 @@
"network:disassociate_floating_ip": [],
"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": [],