Use proper variable name
This commit is contained in:
parent
7311fa561b
commit
4fb0d66f6a
|
@ -1157,12 +1157,12 @@ def net_dhcp_add(net, ipaddr, macaddr, hostname):
|
||||||
@click.argument(
|
@click.argument(
|
||||||
'macaddr'
|
'macaddr'
|
||||||
)
|
)
|
||||||
def net_dhcp_remove(net, reservation):
|
def net_dhcp_remove(net, macaddr):
|
||||||
"""
|
"""
|
||||||
Remove a DHCP static reservation for MACADDR from virtual network NET; NET must be a VNI.
|
Remove a DHCP static reservation for MACADDR from virtual network NET; NET must be a VNI.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
retcode, retmsg = pvc_network.net_dhcp_remove(config, net, reservation)
|
retcode, retmsg = pvc_network.net_dhcp_remove(config, net, macaddr)
|
||||||
cleanup(retcode, retmsg)
|
cleanup(retcode, retmsg)
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
Loading…
Reference in New Issue