Security group rule list doesn't show IPv6 addresses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
In Progress
|
Undecided
|
Brian Haley |
Bug Description
While looking at a neutron security group rule issue, I added a bunch of random IPv4 and IPv6 rules. But when I looked at them I couldn't tell some apart:
$ openstack security group rule list default
+------
| ID | IP Protocol | IP Range | Port Range | Remote Security Group |
+------
| 0d419c93-
| 1457b3aa-
| 22625b22-
| 228c39b7-
| 395cae51-
| 4d25aa31-
| 77d2d543-
| 86d35c45-
| b056e0bb-
| c5f378a2-
| ce1d14da-
| cf5a879a-
| fddcb62b-
+------
There is a couple of improvements I think we can make:
1. Print "::/0" instead of None when the ethertype is IPv6, it only does this for IPv4 currently.
2. Always print the ethertype, which is currently only done with --long.
I'll send out a review.
Changed in python-openstackclient: | |
assignee: | nobody → Brian Haley (brian-haley) |
Fix proposed to branch: master /review. openstack. org/524420
Review: https:/