From a9a0d646cffafb01412cc65f67fa2efe48d980ce Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Sat, 5 Mar 2016 21:15:20 -0500 Subject: [PATCH] Fix v2.12 microversion REST API history doc The attribute returned in the response body is 'net_id', not 'net-id'. We should be accurate in our REST API docs. Change-Id: I4d6a8084fd73777a7dc5ebd58a462ada0627daf4 Related-Bug: #1496664 --- nova/api/openstack/api_version_request.py | 2 +- nova/api/openstack/rest_api_version_history.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nova/api/openstack/api_version_request.py b/nova/api/openstack/api_version_request.py index 431acc12b636..1e0d59f544d8 100644 --- a/nova/api/openstack/api_version_request.py +++ b/nova/api/openstack/api_version_request.py @@ -52,7 +52,7 @@ REST_API_VERSION_HISTORY = """REST API Version History: * 2.10 - Allow admins to query, create and delete keypairs owned by any user. * 2.11 - Exposes forced_down attribute for os-services - * 2.12 - Exposes VIF net-id in os-virtual-interfaces + * 2.12 - Exposes VIF net_id in os-virtual-interfaces * 2.13 - Add project id and user id information for os-server-groups API * 2.14 - Remove onSharedStorage from evacuate request body and remove adminPass from the response body diff --git a/nova/api/openstack/rest_api_version_history.rst b/nova/api/openstack/rest_api_version_history.rst index 6df9ac008728..41e1b5f022e9 100644 --- a/nova/api/openstack/rest_api_version_history.rst +++ b/nova/api/openstack/rest_api_version_history.rst @@ -127,8 +127,8 @@ user documentation. 2.12 (Maximum in Liberty) ------------------------- - Exposes VIF ``net-id`` attribute in ``os-virtual-interfaces``. - User will be able to get Virtual Interfaces ``net-id`` in Virtual Interfaces + Exposes VIF ``net_id`` attribute in ``os-virtual-interfaces``. + User will be able to get Virtual Interfaces ``net_id`` in Virtual Interfaces list and can determine in which network a Virtual Interface is plugged into. 2.13