From f1e19b46cb6efdcd4b446095ef5efcb2a7c8359c Mon Sep 17 00:00:00 2001 From: Chris Yeoh Date: Wed, 24 Oct 2012 16:42:03 +1030 Subject: 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/ # GET ip info /v2/{tenant_id}/os-fixed-ips//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 --- etc/nova/policy.json | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') 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": "", -- cgit