openstack-python-openstackc.../openstackclient/network
Dean Troyer 82a86d2d58 Simplify logic around option lists in port set
Use a common pattern to handle option pairs --XYZ and --no-XYZ for managing
lists of attributes. This pattern looks at the presence of the option
in parsed_args first and branches as necessary.

Some specific steps are included for the SDK Network resources to reliably
set the 'dirty' flag for changed attributes via one or both of the following:
* iterate over lists of original resource attributes to force the creation
  of a new list object
* use [].extend() rather than += to add to the existing list (substitute
  {}.update() for dicts)

Change-Id: I0c3f9a52ffe1ae2b5b230cb13d6376dd9131aaf9
2017-03-20 16:55:48 -05:00
..
v2 Simplify logic around option lists in port set 2017-03-20 16:55:48 -05:00
__init__.py Network CRUD 2014-06-24 15:00:25 -06:00
client.py Remove remaining uses of SDK Proxy.session 2017-02-19 15:47:20 -06:00
common.py network.common.NetworkAndComputeShowOne: catch HttpException 2016-11-10 16:30:23 +01:00
sdk_utils.py Fix handling the use_default_subnet_pool attribute 2017-03-09 08:21:13 +01:00
utils.py Refactor security group show to use SDK 2016-03-10 08:33:52 -06:00