]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
return false or true according to binding result
authorYong Sheng Gong <gongysh@unitedstack.com>
Wed, 19 Mar 2014 06:38:35 +0000 (14:38 +0800)
committerYong Sheng Gong <gongysh@unitedstack.com>
Wed, 19 Mar 2014 06:38:35 +0000 (14:38 +0800)
Change-Id: I23a47c6c7c9be989e65c144b2277c42eeaaade3f
Closes-Bug: 1294500

neutron/plugins/ml2/drivers/mech_agent.py

index 319055a891674cbdcadeb25656d807ab305b6c0b..e0a5f70edbf2df65c71c213c15baaef06a8189a0 100644 (file)
@@ -168,3 +168,6 @@ class SimpleAgentMechanismDriverBase(AgentMechanismDriverBase):
             context.set_binding(segment[api.ID],
                                 self.vif_type,
                                 self.vif_details)
+            return True
+        else:
+            return False