yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01823
[Bug 1036051] Re: limit default set of fields shown in *-list cmds
** Changed in: python-quantumclient
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1036051
Title:
limit default set of fields shown in *-list cmds
Status in Python client library for Quantum:
Fix Released
Status in OpenStack Quantum (virtual network service):
Fix Released
Bug description:
Our list commands default to showing every field in an API entity,
which means the tables always wrap and are a total mess in a
reasonably sized terminal. At least with nova, only a subset of the
columns are shown for list, and if more details are needed, it
requires running show on a specific UUID/name (or in the case of
quantum, specifying -c with list). With Quantum, I find that I
regularly run quantum net-list -c id -c name to make sure the output
is readable.
I'd suggest we have the following columns display by default:
quantum net-list: name, id, subnets (ideally, subnet cidrs, using
verbose=True query)
quantum subnet-list: subnet-name, id, subnet-cidr, allocation-pools
(really this command is less useful if we do a good job with net-list)
quantum port-list: port name, port id, port fixed-ips
You'd still be able to use the -c flag to define the set of columns
that *-list returns, this is just about defining the default behavior.
I image that most scripts would use -c, so I see this as mainly a
question about human operators, particular newbie human operators.
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-quantumclient/+bug/1036051/+subscriptions