Tomasz Trębski f06611573a Refactor libvirt autodection and use oslo_config
List of changes:
* using oslo_config to get nova configuration
* adjusted _detect body to match changes done
recently for other plugins

Extra:

* added utility method to to load oslo_configuration
for any OpenStack project using it.
* removed json, time from required dependencies (core python libs)
* removed libvirt inspector from required dependencies (part of
an agent itself)
* removed netaddr from required dependencies (part of agent's
requirements)
* in overall tried to introduce some order into libvirt
code

Story: 2000999
Task: 4623

Story: 2001054
Task: 4655

Change-Id: Iaac56cf96f710659908d23dc55831be7dac30e0a
2017-06-13 06:36:39 +02:00
..
2016-05-24 16:20:07 +00:00
2015-08-24 13:06:35 -06:00

Tests for the mon agent.

Run with nosestests -w tests

For many tests to work an agent.yaml must be in either /etc/monasca/agent/agent.yaml or in the working directory.

Many tests require specific applications enabled in order for the test to run, these are skipped by default. See https://nose.readthedocs.org/en/latest/plugins/skip.html for details.