Change the order of parameters for lsp_bind method
The function parameters "chassis" and "name" of the lsp_bind method of OvnSbApiIdlImpl is in reverse order compared to the corresponding abstract method in the API class. This change fixes the order. Change-Id: Ibaee0ad1c78414982dab10f696c9fb4b6c3cbfbf Closes-Bug: 1827210
This commit is contained in:
parent
354c87d4b9
commit
776377f0b6
|
@ -67,7 +67,7 @@ class API(api.API):
|
|||
"""Bind a logical port to a chassis
|
||||
|
||||
:param port: The name of the logical port to bind
|
||||
:type port: chassis
|
||||
:type port: string
|
||||
:param chassis: The name of the chassis
|
||||
:type chassis: string
|
||||
:param may_exist: Don't fail if port is already bound to a chassis
|
||||
|
|
|
@ -36,8 +36,8 @@ class OvnSbApiIdlImpl(ovs_idl.Backend, api.API):
|
|||
def chassis_list(self):
|
||||
return cmd.ChassisListCommand(self)
|
||||
|
||||
def lsp_bind(self, chassis, port, may_exist=False):
|
||||
return cmd.LspBindCommand(self, chassis, port, may_exist)
|
||||
def lsp_bind(self, port, chassis, may_exist=False):
|
||||
return cmd.LspBindCommand(self, port, chassis, may_exist)
|
||||
|
||||
def lsp_unbind(self, port, if_exists=False):
|
||||
return cmd.LspUnbindCommand(self, port, if_exists)
|
||||
|
|
Loading…
Reference in New Issue