nova API os-networks has None values in XML

Bug #1134410 reported by Neela Shah
6
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.

Tags: in none xml
Revision history for this message
Vish Ishaya (vishvananda) wrote :

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.

Changed in nova:
status: New → Won't Fix
Revision history for this message
Neela Shah (neela) wrote :

Will this be addressed as part of v3 in Havana?

Revision history for this message
Neela Shah (neela) wrote :

I linked this to the nova v3 blueprint.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.