Show 'reserved' status in os-fixed-ips

Adds a new microversion to show the 'reserved' status on a FixedIP in
the os-fixed-ips extension.

Closes-Bug: #1249526

Implements blueprint show-reserved-status-in-os-fixed-ips-api

Change-Id: Iadaae393fce0c78dbdfd3b02958ddfd6276edb94
This commit is contained in:
Matt Riedemann
2015-03-30 07:32:25 -07:00
parent 971a722c6a
commit 8886590f30
12 changed files with 89 additions and 9 deletions

View File

@@ -42,6 +42,7 @@ REST_API_VERSION_HISTORY = """REST API Version History:
Fixes success status code for create/delete a keypair method
* 2.3 - Exposes additional os-extended-server-attributes
Exposes delete_on_termination for os-extended-volumes
* 2.4 - Exposes reserved field in os-fixed-ips.
"""
# The minimum and maximum versions of the API supported
@@ -50,7 +51,7 @@ REST_API_VERSION_HISTORY = """REST API Version History:
# Note(cyeoh): This only applies for the v2.1 API once microversions
# support is fully merged. It does not affect the V2 API.
_MIN_API_VERSION = "2.1"
_MAX_API_VERSION = "2.3"
_MAX_API_VERSION = "2.4"
DEFAULT_API_VERSION = _MIN_API_VERSION