From: Yong Sheng Gong Date: Wed, 19 Mar 2014 06:38:35 +0000 (+0800) Subject: return false or true according to binding result X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=39beff9cf239b699e0a434389618de06b883f2c2;p=openstack-build%2Fneutron-build.git return false or true according to binding result Change-Id: I23a47c6c7c9be989e65c144b2277c42eeaaade3f Closes-Bug: 1294500 --- diff --git a/neutron/plugins/ml2/drivers/mech_agent.py b/neutron/plugins/ml2/drivers/mech_agent.py index 319055a89..e0a5f70ed 100644 --- a/neutron/plugins/ml2/drivers/mech_agent.py +++ b/neutron/plugins/ml2/drivers/mech_agent.py @@ -168,3 +168,6 @@ class SimpleAgentMechanismDriverBase(AgentMechanismDriverBase): context.set_binding(segment[api.ID], self.vif_type, self.vif_details) + return True + else: + return False