summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem@us.ibm.com>2016-08-18 10:03:11 -0400
committerDan Smith <dansmith@redhat.com>2016-08-19 09:30:29 -0700
commit578c39865d41158de185b90ca4cecc7fbb8f59ae (patch)
tree26a419cfeda3db1c848ff5920553aed4a96eba8d /releasenotes
parentc3b5365cdf2500a5bd1d4c2bb940d2b4e394fc02 (diff)
downloadpython-novaclient-578c39865d41158de185b90ca4cecc7fbb8f59ae.tar.gz
Deprecate network-* commands and clamp to microversion 2.35
This introduces a helper to clamp the client microversion to 2.35, which is the last version to support the network proxy. We print a deprecation warning if those commands are used, and mark them as deprecated in the help text. This is a network-specific user-friendly bit of sugar to make sure that nova-network users aren't cut out before we actually drop the support for it on the server side. Note that quotas and limits are special because only the network related resources in those are not returned with 2.36. So this change handles 2.36 separately for quota-update and quota-class-update, and deprecates the network resource quota update arguments for <2.35 as an indication those are going away. As expected, several of the functional tests have to be updated to work with the new world that is microversion 2.36. Related to blueprint deprecate-api-proxies Co-Authored-By: Matt Riedemann <mriedem@us.ibm.com> Change-Id: Id68c2dbef29b201aa7c8ef9417432feb5596529a
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/deprecate-network-cli-f0a539528be594d3.yaml67
1 files changed, 67 insertions, 0 deletions
diff --git a/releasenotes/notes/deprecate-network-cli-f0a539528be594d3.yaml b/releasenotes/notes/deprecate-network-cli-f0a539528be594d3.yaml
new file mode 100644
index 00000000..2d8c86a6
--- /dev/null
+++ b/releasenotes/notes/deprecate-network-cli-f0a539528be594d3.yaml
@@ -0,0 +1,67 @@
+---
+upgrade:
+ - |
+ The ability to update the following network-related resources via the
+ ``nova quota-update`` and ``nova quota-class-update`` commands is now
+ deprecated:
+
+ * Fixed IPs
+ * Floating IPs
+ * Security Groups
+ * Security Group Rules
+
+ By default the quota and limits CLIs will not update or show those
+ resources using microversion >= 2.36. You can still use them, however, by
+ specifying ``--os-compute-api-version 2.35``. Quota information for network
+ resources should be retrieved from python-neutronclient or
+ python-openstackclient.
+deprecations:
+ - |
+ The following commands are now deprecated:
+
+ * dns-create
+ * dns-create-private-domain
+ * dns-create-public-domain
+ * dns-delete
+ * dns-delete-domain
+ * dns-domains
+ * dns-list
+ * fixed-ip-get
+ * fixed-ip-reserve
+ * fixed-ip-unreserve
+ * floating-ip-create
+ * floating-ip-delete
+ * floating-ip-list
+ * floating-ip-pool-list
+ * floating-ip-bulk-create
+ * floating-ip-bulk-delete
+ * floating-ip-bulk-list
+ * network-create
+ * network-delete
+ * network-disassociate
+ * network-associate-host
+ * network-associate-project
+ * network-list
+ * network-show
+ * scrub
+ * secgroup-create
+ * secgroup-delete
+ * secgroup-list
+ * secgroup-update
+ * secgroup-add-group-rule
+ * secgroup-delete-group-rule
+ * secgroup-add-rule
+ * secgroup-delete-rule
+ * secgroup-list-rules
+ * secgroup-list-default-rules
+ * secgroup-add-default-rule
+ * secgroup-delete-default-rule
+ * tenant-network-create
+ * tenant-network-delete
+ * tenant-network-list
+ * tenant-network-show
+
+ With the 2.36 microversion these will fail in the API. The CLI will
+ fallback to passing the 2.35 microversion to ease the transition. Network
+ resource information should be retrieved from python-neutronclient or
+ python-openstackclient.