Output should be machine-readable when JSON/YAML formatter is specified
Bug #1687955 reported by
Akihiro Motoki
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-neutronclient |
Fix Released
|
Medium
|
Akihiro Motoki | ||
python-openstackclient |
Fix Released
|
Undecided
|
Akihiro Motoki |
Bug Description
OSC commands convert complex fields into human-readable strings by using formatters, but the conversion is made even for machine readable formats like json and yaml.
The following is an example of the output of "openstack subnet list --format json --long"
http://
Allocation Pools and Host Routes are a list of dict. DNS Servers is a list.
They should be output if a machine readable format is requested.
cliff has a concept of FormattableColumn [1] and OSC can be improved by using FormattableColumn.
http://
Changed in python-openstackclient: | |
assignee: | nobody → Akihiro Motoki (amotoki) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/462150
Review: https:/