Make help strings in network modify more detailed
This commit is contained in:
parent
f58e95e4c1
commit
938d67f96b
|
@ -1601,38 +1601,38 @@ def net_add(vni, description, nettype, domain, ip_network, ip_gateway, ip6_netwo
|
||||||
@click.option(
|
@click.option(
|
||||||
'-i', '--ipnet', 'ip4_network',
|
'-i', '--ipnet', 'ip4_network',
|
||||||
default=None,
|
default=None,
|
||||||
help='CIDR-format IPv4 network address for subnet.'
|
help='CIDR-format IPv4 network address for subnet; disable with "".'
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
'-i6', '--ipnet6', 'ip6_network',
|
'-i6', '--ipnet6', 'ip6_network',
|
||||||
default=None,
|
default=None,
|
||||||
help='CIDR-format IPv6 network address for subnet.'
|
help='CIDR-format IPv6 network address for subnet; disable with "".'
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
'-g', '--gateway', 'ip4_gateway',
|
'-g', '--gateway', 'ip4_gateway',
|
||||||
default=None,
|
default=None,
|
||||||
help='Default IPv4 gateway address for subnet.'
|
help='Default IPv4 gateway address for subnet; disable with "".'
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
'-g6', '--gateway6', 'ip6_gateway',
|
'-g6', '--gateway6', 'ip6_gateway',
|
||||||
default=None,
|
default=None,
|
||||||
help='Default IPv6 gateway address for subnet.'
|
help='Default IPv6 gateway address for subnet; disable with "".'
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
'--dhcp/--no-dhcp', 'dhcp_flag',
|
'--dhcp/--no-dhcp', 'dhcp_flag',
|
||||||
is_flag=True,
|
is_flag=True,
|
||||||
default=None,
|
default=None,
|
||||||
help='Enable/disable DHCP for clients on subnet.'
|
help='Enable/disable DHCPv4 for clients on subnet (DHCPv6 is always enabled if DHCPv6 network is set).'
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
'--dhcp-start', 'dhcp_start',
|
'--dhcp-start', 'dhcp_start',
|
||||||
default=None,
|
default=None,
|
||||||
help='DHCP range start address.'
|
help='DHCPvr range start address.'
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
'--dhcp-end', 'dhcp_end',
|
'--dhcp-end', 'dhcp_end',
|
||||||
default=None,
|
default=None,
|
||||||
help='DHCP range end address.'
|
help='DHCPv4 range end address.'
|
||||||
)
|
)
|
||||||
@click.argument(
|
@click.argument(
|
||||||
'vni'
|
'vni'
|
||||||
|
|
Loading…
Reference in New Issue