Create "central" agent

This changeset is phase one of changing the pollster API to support
polling individual instance resources. In this change, the single
compute agent is divided into two separate daemons.

The compute agent, for polling instance data, is still meant to
run on the compute server. The new "central" agent, for polling
resources not tied to a compute node, is meant to run on a management
server (probably the same place the collector runs). The configuration
of the pollsters is updated so that they are loaded by the
appropriate agent.

New base classes are introduced for each of the types of pollsters.
For now, the APIs remain the same.

The code implementing the agent and plugins has been moved around
to reflect the new logical relationships, and the documentation
is updated (including new installation instructions).

Change-Id: Ica6e947b2e457f7db6672147af1369a24066037d
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
This commit is contained in:
Doug Hellmann
2012-07-30 12:44:16 -04:00
parent 2eebd4a8bd
commit 0e8f2359d9
22 changed files with 362 additions and 91 deletions

View File

@@ -20,7 +20,7 @@
"""
try:
import libvirt
import libvirt as ignored_libvirt
except ImportError:
libvirt_missing = True
else:
@@ -32,7 +32,7 @@ from nova import test
from nova import db
from ceilometer.compute import libvirt
from ceilometer.agent import manager
from ceilometer.compute import manager
class TestDiskIOPollster(test.TestCase):