项目作者: jay-g-mehta

项目描述 :
Openstack's Nova Instance Monitoring tool NIMO tracks life cycle events of VM instances and notifies VM boot sequence stages
高级语言: Python
项目地址: git://github.com/jay-g-mehta/nimo.git
创建时间: 2018-06-13T03:44:32Z
项目社区:https://github.com/jay-g-mehta/nimo

开源协议:GNU General Public License v3.0

下载


NIMO

NIMO is Nova(Openstack project dealing with VM computes) Instance Monitoring tool.

NIMO tracks life cycle events for every VM running on a hypervisor.
On create, reboot events on a VM, NIMO will reconnaissance boot stages of that
VM. These boot stages are sent to configured RMQ service as event messages.

NIMO uses libvirt-python module to connect with libvirt on hypervisor, and
get callbacks for VM instance life cycle events.
NIMO makes use of reconn module to perform reconnaissance on console.log
file of the VM.

Architecture

The below architecture shows how NIMO interacts with hypervisor and sends out
boot stages as RMQ messages. It also shows how existing project “Stacktack”
can be used to consume messages and report all activities of in nice Web-UI or
CLI “stacky”

Download, Setup and Installing NIMO

  1. $ virtualenv -v -p python2.7 virtual_env
  2. $ source virtual_env/bin/activate
  3. $ cd nimo
  4. $ pip -v install .

Running NIMO

  1. $ nimo --config-file=./etc/nimo/nimo.conf --log-file=/var/log/nimo/nimo.log

Developing and testing NIMO

Unit test execution:

Unit tests are located under: nimo/nimo/tests/unit/

  1. $ cd nimo
  2. $ tox -epy27