
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
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.