summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChris Yeoh <cyeoh@au1.ibm.com>2012-10-24 16:42:03 +1030
committerChris Yeoh <cyeoh@au1.ibm.com>2012-11-13 23:56:40 +1030
commitf1e19b46cb6efdcd4b446095ef5efcb2a7c8359c (patch)
treec06deebf9c7acd1efc9a39537e698d579293a1a1 /etc
parent3c9e48d1119b77428346680c2a009c44ff9bf2ce (diff)
downloadnova-f1e19b46cb6efdcd4b446095ef5efcb2a7c8359c.tar.gz
nova-f1e19b46cb6efdcd4b446095ef5efcb2a7c8359c.tar.xz
nova-f1e19b46cb6efdcd4b446095ef5efcb2a7c8359c.zip
Adds REST API support for Fixed IPs
This adds an extension that provides a REST API for getting information about a fixed ip, reserving a fixed ip and unreserving a fixed ip. The interface is accessed via /v2/{tenant_id}/os-fixed-ips/<ip_address> # GET ip info /v2/{tenant_id}/os-fixed-ips/<ip_address>/action # POST reserve/unreserve ip This forms part of the work to provide APIs for functionality currently implemented by nova-manage that needs direct db access so nova-manage can eventually be removed Adds db function fixed_ip_get_by_address_detailed in order to optimise being able to get the instance and network information for a fixed ip at the same time as the rest of the fixed ip information Change-Id: I92edf4e6b74b14bb9c49d5bc0c79e40d3a496bc5 Implements: blueprint apis-for-nova-manage DocImpact
Diffstat (limited to 'etc')
-rw-r--r--etc/nova/policy.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/nova/policy.json b/etc/nova/policy.json
index 50d55d58d..03c036350 100644
--- a/etc/nova/policy.json
+++ b/etc/nova/policy.json
@@ -36,6 +36,7 @@
"compute_extension:disk_config": "",
"compute_extension:extended_server_attributes": "rule:admin_api",
"compute_extension:extended_status": "",
+ "compute_extension:fixed_ips": "rule:admin_api",
"compute_extension:flavor_access": "",
"compute_extension:flavor_disabled": "",
"compute_extension:flavor_rxtx": "",