summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2013-02-21 13:31:48 +0000
committerMark McLoughlin <markmc@redhat.com>2013-02-21 13:31:48 +0000
commitd767d2c5f5aafc66f61c4e8cc70206f52aa9388a (patch)
tree385450abd6a7d57d568681d5cfedd4612d375406
parentd05ae3949f3d0cae5377d62453ee180745a74932 (diff)
downloadceilometer-d767d2c5f5aafc66f61c4e8cc70206f52aa9388a.tar.gz
Fix message envelope keys.2013.1.g3
update.py from oslo-incubator broke the keys used in the rpc message envelope. This fixes it. Change-Id: I2fc89f978e507aa4f54e1b137a69b1601eb9b682
-rw-r--r--ceilometer/openstack/common/rpc/common.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ceilometer/openstack/common/rpc/common.py b/ceilometer/openstack/common/rpc/common.py
index 597b6922..88ebe42d 100644
--- a/ceilometer/openstack/common/rpc/common.py
+++ b/ceilometer/openstack/common/rpc/common.py
@@ -49,8 +49,8 @@ deserialize_msg().
The current message format (version 2.0) is very simple. It is:
{
- 'ceilometer.version': <RPC Envelope Version as a String>,
- 'ceilometer.message': <Application Message Payload, JSON encoded>
+ 'oslo.version': <RPC Envelope Version as a String>,
+ 'oslo.message': <Application Message Payload, JSON encoded>
}
Message format version '1.0' is just considered to be the messages we sent
@@ -66,8 +66,8 @@ to the messaging libraries as a dict.
'''
_RPC_ENVELOPE_VERSION = '2.0'
-_VERSION_KEY = 'ceilometer.version'
-_MESSAGE_KEY = 'ceilometer.message'
+_VERSION_KEY = 'oslo.version'
+_MESSAGE_KEY = 'oslo.message'
# TODO(russellb) Turn this on after Grizzly.