Fix NB API definition "lb_add" method signature
Include "lb" and "**columns" in "lb_add" method signature, defined in the NB API. Change-Id: I46230928e316f3d2a1310e649dfa955a0bcf0cbf
This commit is contained in:
parent
0968b410ce
commit
cefb678d02
@ -678,7 +678,8 @@ class API(api.API, metaclass=abc.ABCMeta):
|
||||
"""
|
||||
|
||||
@abc.abstractmethod
|
||||
def lb_add(self, vip, ips, protocol=const.PROTO_TCP, may_exist=False):
|
||||
def lb_add(self, lb, vip, ips, protocol=const.PROTO_TCP, may_exist=False,
|
||||
**columns):
|
||||
"""Create a load-balancer or add a VIP to an existing load balancer
|
||||
|
||||
:param lb: The name or uuid of the load-balancer
|
||||
@ -692,6 +693,8 @@ class API(api.API, metaclass=abc.ABCMeta):
|
||||
:param may_exist: If True, don't fail if a LB w/ `vip` exists, and
|
||||
instead, replace the vips on the LB
|
||||
:type may_exist: boolean
|
||||
:param columns: Additional columns to directly set on the load
|
||||
balancer
|
||||
:returns: :class:`Command` with RowView result
|
||||
"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user