]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fixes Hyper-V agent issue on Hyper-V 2008 R2
authorAlessandro Pilotti <apilotti@cloudbasesolutions.com>
Sun, 24 Aug 2014 12:37:26 +0000 (15:37 +0300)
committerAlessandro Pilotti <apilotti@cloudbasesolutions.com>
Sun, 24 Aug 2014 12:37:26 +0000 (15:37 +0300)
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

neutron/plugins/hyperv/agent/utils.py

index c078ee58a54eb46da0b26bb679cdadd6a9e6d86a..1e18731ca2c980cc49dcf1582355a201516edc68 100644 (file)
@@ -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."""