From 771327adbe9e563506f98ca561de9ded4d987698 Mon Sep 17 00:00:00 2001 From: Alessandro Pilotti Date: Thu, 21 Aug 2014 01:48:34 +0300 Subject: [PATCH] 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 --- neutron/plugins/hyperv/agent/hyperv_neutron_agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neutron/plugins/hyperv/agent/hyperv_neutron_agent.py b/neutron/plugins/hyperv/agent/hyperv_neutron_agent.py index 0f45cc3f389..6fd00e38eb7 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__()