nova API os-networks has None values in XML
Bug #1134410 reported by
Neela Shah
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Nova API os-networks when asked for response as application/xml produces XML nodes with "None" values. There are two others, atleast, that do contain None values : os-cells and os-aggregates. There might be others in the same situation as well.
Typically, these "None"s are then treated as string values in adopters code. Ideally, In XML empty nodes should be without values or just not present.
To post a comment you must log in.
Unfortunately this is not something we can fix in the current version of the api. Client code just needs to specifically check for the string None and treat itas '' / None.