summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-02-21 01:58:12 +0000
committerGerrit Code Review <review@openstack.org>2013-02-21 01:58:12 +0000
commit4698b8903088a4d6aaec930f80a3960b20ea61b9 (patch)
tree7bc05f078f3f37a19f8d8fe5907bca3fcd4b2ac3 /nova/openstack
parent4b4781bd5909abdc993b0edff22da407571212f9 (diff)
parentfe50a2bb9e6b36cbb4f6d904bd986e0cdc2cb059 (diff)
downloadnova-4698b8903088a4d6aaec930f80a3960b20ea61b9.tar.gz
nova-4698b8903088a4d6aaec930f80a3960b20ea61b9.tar.xz
nova-4698b8903088a4d6aaec930f80a3960b20ea61b9.zip
Merge "Fix message envelope keys."
Diffstat (limited to 'nova/openstack')
-rw-r--r--nova/openstack/common/rpc/common.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/nova/openstack/common/rpc/common.py b/nova/openstack/common/rpc/common.py
index 178e3fc19..55fc5b044 100644
--- a/nova/openstack/common/rpc/common.py
+++ b/nova/openstack/common/rpc/common.py
@@ -49,8 +49,8 @@ deserialize_msg().
The current message format (version 2.0) is very simple. It is:
{
- 'nova.version': <RPC Envelope Version as a String>,
- 'nova.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 = 'nova.version'
-_MESSAGE_KEY = 'nova.message'
+_VERSION_KEY = 'oslo.version'
+_MESSAGE_KEY = 'oslo.message'
# TODO(russellb) Turn this on after Grizzly.