return false or true according to binding result

Change-Id: I23a47c6c7c9be989e65c144b2277c42eeaaade3f
Closes-Bug: 1294500
This commit is contained in:
Yong Sheng Gong 2014-03-19 14:38:35 +08:00
parent e75f4854a6
commit 39beff9cf2
1 changed files with 3 additions and 0 deletions

View 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