info_cache unified object should hydrate/to_primitive network_info
Bug #1192014 reported by
Chris Behrens
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Chris Behrens |
Bug Description
The current InstanceInfoCache object has a 'network_info' field, but it doesn't hydrate it currently. It would be nice if it did. When it does that, we should convert it to json when to_primitive() is called.
Changed in nova: | |
assignee: | nobody → Chris Behrens (cbehrens) |
status: | Triaged → Fix Committed |
Changed in nova: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-3 → 2013.2 |
To post a comment you must log in.
nova/compute/ utils.py has a get_nw_ info_for_ instance( ) method that hydrates the instance[ 'info_cache' ].network_ info. We can get rid of this method and use instance. info_cache. network_ info directly once we fix this bug.