openstack-python-openstackc.../openstackclient/network
Brian Haley 969e6abd20 Support IPv6 addresses better
When adding a security group rule, if no IP address is given
we will use '0.0.0.0/0', but if the ethertype is IPv6 we will
leave it as None.  Change this to be '::/0' to match what we
do for IPv4 - use the "any" address.  The neutron server
treats them both the same when checking for duplicates.

Because there are most likely entries in the DB using None
for the IP, print them as '0.0.0.0/0' or '::/0' so it is more
obvious what address they are actually referring to.

Also change to display the Ethertype column by default
instead of with --long, since easily knowing IPv4 or IPv6
is useful.

Change-Id: Ic396fc23caa66b6b0034c5d30b27c6ed499de5a6
Closes-bug: #1735575
2019-07-15 22:35:49 -04:00
..
v2 Support IPv6 addresses better 2019-07-15 22:35:49 -04:00
__init__.py Network CRUD 2014-06-24 15:00:25 -06:00
client.py Make Profile fallback go bye-bye 2018-03-14 10:57:13 -05:00
common.py Add dns-domain support to Network object 2018-04-23 08:37:27 +00:00
sdk_utils.py Avoid default mutable values in arguments 2017-10-10 14:04:40 +01:00
utils.py Refactor security group show to use SDK 2016-03-10 08:33:52 -06:00