Adds collection of VM status metric in OpenStack infra plugin 48/7248/2
authorBenjamin Diaz <bdiaz@whitestack.com>
Fri, 22 Feb 2019 19:36:00 +0000 (16:36 -0300)
committerBenjamin Diaz <bdiaz@whitestack.com>
Fri, 22 Feb 2019 20:41:36 +0000 (17:41 -0300)
commit616fde7e4671be3da07ea59765c311c26bfe2e16
tree2b3ea3a44ce332fc4fc6099ab5097c5b93795579
parentb2b43da9ec8230664b19479c457dd54711b8986a
Adds collection of VM status metric in OpenStack infra plugin

OpenStack infra collector plugin now collects metrics regarding VM status. It
iterates over vdus and using nova client gets info regarding status. Active
status translates to 1, anything else to 0.

Change-Id: Ia6e36a79a1d20cea07d5c7b3aa2af85b5c0e18d0
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
debian/python3-osm-mon.postinst
osm_mon/collector/collector.py
osm_mon/collector/infra_collectors/base.py
osm_mon/collector/infra_collectors/base_vim.py
osm_mon/collector/infra_collectors/openstack.py
osm_mon/core/common_db.py
requirements.txt
setup.py
stdeb.cfg