Update packaging files

- Update the openstack.common.setup  module
- Update our openstack-common.conf to include setup.py
  in future updates
- Use the common setup command class so the sdist command
  generates an AUTHORS file and ChangeLog

Change-Id: I4469f0feaea5bb67022c6077bbea43110384f31b
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Rework RPC notification mechanism

We allow plugin to specify clearly which exchange and topic there are
interested in, and we call directly the handler process notification without
looking in a dict to be faster.

Change-Id: I867f0b2568d140bfc0dae63163fd02c8c080d8d1
Signed-off-by: Julien Danjou <julien@danjou.info>
Fix typo in control exchanges help texts

Change-Id: I5389dcb1fb1bdc533572bc9da0a7fd8f43b33689
Signed-off-by: Julien Danjou <julien@danjou.info>
Rename absolute to gauge

After discussion with people outside of Ceilometer, it seems that absolute
is a confusing name. For example, what we call currently 'delta' is called
'absolute' in RRD.

Using gauge seems to be clearer.

Change-Id: I1b686e34a1294cbdd35cdb84e3ab9c6c78df04dd
Signed-off-by: Julien Danjou <julien@danjou.info>
network: listen for Quantum notifications

This fixes #1021775

Change-Id: I62d6ea6522afe15ffde731b0e8d8a37e4596fd70
Signed-off-by: Julien Danjou <julien@danjou.info>
Merge "Rename absolute to gauge"
network: add counter for actions

We also count creation, update and deletion of things.

Change-Id: Iccc161a36b6332a077ef6f146e2c84d38f47c316
Signed-off-by: Julien Danjou <julien@danjou.info>
Split meter publishing from the global config obj

The meter signing and publishing code was tightly coupled
to the global configuration object, making it more difficult
to reuse in an outside project. This change adds arguments
for the configuration settings actually being used in
those libraries and moves use of the global configuration
object higher up the stack to the manager. It also organizes
the definition of the options related to signing and
publishing metering messages so they can more easily by
registered on other configuration objects.

Change-Id: I8b1df0f228d0c2658841c4b7f7f4527414efc9a6
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Fix quantum notification subscriptions

Correct a problem with the way the notification event_type
names were constructed in get_event_types() and ignore
delete events for now since they do not include the
relevant metadata.

Change-Id: I313727203a215118d3b9faabdd3f7600efb7be32
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Fix notification subscription logic

We need to funnel all messages from all exchanges through
the same function to dispatch them to the handlers. If
we don't do that, we have multiple subscribers,
each configured to be interested in different events
but that do not all receive all events. The result is
events being discarded.

Change-Id: I31daa204c5ee13e8e5f767e0f5e61e2e7eafe624
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Correct requirements filename

The pip requirements file does not have an extension.

Change-Id: Id4efcbd24eb057c2811dd4c2390dd65f1bd8a1c9
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Merge "Correct requirements filename"
Merge "Fix notification subscription logic"
Fix compute agent publishing call

The compute agent was not updated to use the right arguments
when the publish module API was changed.

Change-Id: I82df05b2a9897a536c09b55600f2b8c3ac05ae9e
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Increase default polling interval

The polling interval was set to 60 seconds for testing
and development. This changeset increases it to 600
seconds, which should be more reasonable for production
deployment.

Change-Id: I45d834098194e39bab06fe6e18a2eb72e1e077a9
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Merge "Increase default polling interval"
Update the architecture diagram

* adds consistency on daemon reprensentation (rectangle)
* remove misleading link between colector and keystone
* refine how central agent and event listener post back event to
  the ceilometer bus
* glance is sending strandard events we collect
* we do not poll quantum
* clarify that swift is not implemented yet

Change-Id: I434db9f7f08150e39c723bc084d28a377ac2b1ce