]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fixes Hyper-V issue due to ML2 RPC versioning
authorAlessandro Pilotti <apilotti@cloudbasesolutions.com>
Wed, 20 Aug 2014 22:48:34 +0000 (01:48 +0300)
committerAlessandro Pilotti <apilotti@cloudbasesolutions.com>
Wed, 20 Aug 2014 23:15:17 +0000 (02:15 +0300)
The ML2 RPC version 1.1 breaks the hyper-v agent and
consequentially the RPC version in the Hyper-V agent needs
to be set to 1.1 to match the ML2 RPC base API version.

Change-Id: Idc4ae8d7dcff4331aca148a8f2a7a2b01679b3a8
Closes-Bug: #1353697

neutron/plugins/hyperv/agent/hyperv_neutron_agent.py

index 0f45cc3f389b4df844eaef59a888c7585497f2f9..6fd00e38eb7c888787d305ae4813db6da438599c 100644 (file)
@@ -119,8 +119,8 @@ class HyperVPluginApi(agent_rpc.PluginApi,
 
 
 class HyperVNeutronAgent(n_rpc.RpcCallback):
-    # Set RPC API version to 1.0 by default.
-    RPC_API_VERSION = '1.0'
+    # Set RPC API version to 1.1 by default.
+    RPC_API_VERSION = '1.1'
 
     def __init__(self):
         super(HyperVNeutronAgent, self).__init__()