Fix Nova-net netowrk commands

In cleaning up functional tests for nova-net, I discovered some
problems in network create:
* --subnet option is required in network create command
* Switch API to use /os-networks rather than /os-tenant-networks as this
  is what we were actually using via novaclient
* Fix functional tests for nova-net
* Normalize some private function names in network/v2/network.py

Change-Id: I426b864406756d58d140575a3a45ee9aee67ce84
This commit is contained in:
Dean Troyer
2017-04-27 10:26:07 -05:00
parent 7b609ebd55
commit 589a65c3fe
7 changed files with 300 additions and 144 deletions
doc/source
openstackclient

@ -30,7 +30,13 @@ Backwards Incompatible Changes
Release 3.10
------------
1. The positional argument ``<snapshot-name>`` of the ``volume snapshot create``
1. The ``network create`` command now requires the ``--subnet`` option when used
with Nova-network clouds.
* As of: 3.10
* Commit: https://review.openstack.org/460679
2. The positional argument ``<snapshot-name>`` of the ``volume snapshot create``
command is no longer optional.
Previously when the ``--volume`` option was

@ -71,6 +71,8 @@ Create new network
Set network description
*Network version 2 only*
.. option:: --availability-zone-hint <availability-zone>
Availability Zone in which to create this network