From: Alessandro Pilotti Date: Wed, 20 Aug 2014 22:48:34 +0000 (+0300) Subject: Fixes Hyper-V issue due to ML2 RPC versioning X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=771327adbe9e563506f98ca561de9ded4d987698;p=openstack-build%2Fneutron-build.git Fixes Hyper-V issue due to ML2 RPC versioning 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 --- diff --git a/neutron/plugins/hyperv/agent/hyperv_neutron_agent.py b/neutron/plugins/hyperv/agent/hyperv_neutron_agent.py index 0f45cc3f3..6fd00e38e 100644 --- a/neutron/plugins/hyperv/agent/hyperv_neutron_agent.py +++ b/neutron/plugins/hyperv/agent/hyperv_neutron_agent.py @@ -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__()