Comment 20 for bug 1467407

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

Reviewed: https://review.opencontrail.org/20685
Committed: http://github.org/Juniper/contrail-controller/commit/6944d1732265cdbe6f9cb7e0eefb23525cba11e5
Submitter: Zuul
Branch: R3.0

commit 6944d1732265cdbe6f9cb7e0eefb23525cba11e5
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.

Conflicts:
 src/nodemgr/analytics_nodemgr/analytics_event_manager.py
 src/nodemgr/config_nodemgr/config_event_manager.py
 src/nodemgr/control_nodemgr/control_event_manager.py
 src/nodemgr/database_nodemgr/database_event_manager.py

Change-Id: Ib28f22eb855413d88d928a26c4d502df9d975d2d