[openstack-dev] [nova] How to handle nova show --minimal with embedded flavors
Dean Troyer
dtroyer at gmail.com
Tue Jun 20 19:03:17 UTC 2017
On Tue, Jun 20, 2017 at 12:07 PM, Chris Friesen
<chris.friesen at windriver.com> wrote:
> In the existing novaclient code for show/rebuild, the --minimal option just
> skips doing the lookups on the flavor/image as described in the help text.
> It doesn't affect the other ~40 fields in the instance. After the new
> microversion we already have the flavor details without doing the flavor
> lookup so I thought it made sense to display them.
>
> I suppose an argument could be made that for consistency we should keep the
> output with --minimal similar to what it was before. If we want to go that
> route I'm happy to do so.
I would keep the output fields the same. If --minimal used to show
empty fields because the lookup was skipped, it would be OK to now
populate those, but I wouldn't add them just because you have the data
now without the lookup.
dt
--
Dean Troyer
dtroyer at gmail.com
More information about the OpenStack-dev
mailing list