From: Alessandro Pilotti Date: Sun, 24 Aug 2014 12:37:26 +0000 (+0300) Subject: Fixes Hyper-V agent issue on Hyper-V 2008 R2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=df9a383dfb470edf7c6e1ae1caf79e37a0ab1bd4;p=openstack-build%2Fneutron-build.git Fixes Hyper-V agent issue on Hyper-V 2008 R2 The vmutils.HyperVUtils class used on versions of Hyper-V prior of 2012 is missing the "remove_all_security_rules" method. Change-Id: Ib14e643c400b230c912589f9480acf59d6e7b147 Closes-Bug: #1360817 --- diff --git a/neutron/plugins/hyperv/agent/utils.py b/neutron/plugins/hyperv/agent/utils.py index c078ee58a..1e18731ca 100644 --- a/neutron/plugins/hyperv/agent/utils.py +++ b/neutron/plugins/hyperv/agent/utils.py @@ -167,6 +167,9 @@ class HyperVUtils(object): msg=_('Failed creating port for %s') % vswitch_name) return new_port + def remove_all_security_rules(self, switch_port_name): + pass + def disconnect_switch_port( self, vswitch_name, switch_port_name, delete_port): """Disconnects the switch port."""