Comment 19 for bug 1467407

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/20437
Committed: http://github.org/Juniper/contrail-controller/commit/da7614fbc7dcbd652523543941e746705e7336ef
Submitter: Zuul
Branch: master

commit da7614fbc7dcbd652523543941e746705e7336ef
Author: Santosh Gupta <email address hidden>
Date: Thu May 19 11:27:12 2016 -0700

Closes-Bug: 1467407

Added system memory/cpu and process mem/cpu information under NodeStatus hierarchy.

1. In current code, analytics, config and vrouter modules have duplicate code to send system cpu/mem info.
Moved the functionality to common codebase in nodemgr.
Now system cpu/mem info is send for all node types.
- NodeStatus >> system_mem_cpu_info
2. In current code, each process sends cpu/mem info individually.
Moved the functionality to common codebase in nodemgr to send cpu/mem info for all processes on the node.
- NodeStatus >> process_mem_cpu_info
3. Created new hierarchy under NodeStatus and added following fields for cpu info
sockets, cores_per_socket and threads_per_core.
These fields are sent only during nodemgr init for all node types.
- NodeStatus >> process_cpu_info
Obsolete hierarchy/duplicate code for the above will be deleted once UI moves to new hierarchy.

Change-Id: Ib28f22eb855413d88d928a26c4d502df9d975d2d