Use map instead of list for reporting cpu/mem usage in NodeStatus
The new DerivedStats infra supports maps and not lists.
- Updating new NodeStatus structure to use maps instead of lists.
- Corresponding changes on client.
- Marked the deprecated fields, these will be deleted after UI moves to new structures.
List of contrail-stats test commands attached to the bug.
Change-Id: I3e4f2f38d11dff149cacda98162303917281c4cf
Closes-Bug:1601909
(cherry picked from commit 3f025bb047a682b5037cf5dd66d17b769bd75d1e)
Reviewed: https:/ /review. opencontrail. org/22153 github. org/Juniper/ contrail- controller/ commit/ e3df29fc384bb99 851dd5746b19313 1297e179a8
Committed: http://
Submitter: Zuul
Branch: R3.1
commit e3df29fc384bb99 851dd5746b19313 1297e179a8
Author: Santosh Gupta <email address hidden>
Date: Mon Jul 11 18:42:14 2016 -0700
Use map instead of list for reporting cpu/mem usage in NodeStatus
The new DerivedStats infra supports maps and not lists.
- Updating new NodeStatus structure to use maps instead of lists.
- Corresponding changes on client.
- Marked the deprecated fields, these will be deleted after UI moves to new structures.
List of contrail-stats test commands attached to the bug.
Change-Id: I3e4f2f38d11dff 149cacda9816230 3917281c4cf 5037cf5dd66d17b 769bd75d1e)
Closes-Bug:1601909
(cherry picked from commit 3f025bb047a682b