openstack-python-openstackc.../openstackclient
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
..
api Remove code migrated to osc-lib long ago 2019-05-16 19:19:58 -05:00
common Remove code migrated to osc-lib long ago 2019-05-16 19:19:58 -05:00
compute Merge "Add server add/remove volume description for microversion 2.20" 2019-06-22 00:27:31 +00:00
identity Merge "Use cliff formattable columns in identity commands" 2019-06-23 04:49:33 +00:00
image Use cliff formattable columns in image commands 2019-06-22 13:36:46 -05:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2018-03-01 07:25:50 +00:00
network Support IPv6 addresses better 2019-07-15 22:35:49 -04:00
object Use cliff formattable columns in object storage commands 2019-06-22 18:44:27 +00:00
tests Support IPv6 addresses better 2019-07-15 22:35:49 -04:00
volume Merge "Use cliff formattable columns in volume v2 commands" 2019-06-23 00:45:37 +00:00
__init__.py Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py Remove code migrated to osc-lib long ago 2019-05-16 19:19:58 -05:00