Open bejoycalias opened 4 years ago
# vcd gateway services dhcp-pool -h
Usage: vcd gateway services dhcp-pool [OPTIONS] COMMAND [ARGS]...
Manages DHCP pool of gateway.
Examples
vcd gateway services dhcp-pool create gateway1 --range 30.20.10.11-
30.20.10.15 --enable-auto-dns --gateway-ip 30.20.10.1 --domain
abc.com --primary-server 30.20.10.20 --secondary-server 30.20.10.21
--expire-lease --lease 8640 --subnet 255.255.255.0
Create dhcp rule. vcd gateway services dhcp-pool delete
test_gateway1 pool-1 Deletes the DHCP pool
vcd gateway services dhcp-pool list test_gateway1
Lists the DHCP pool vcd gateway services dhcp-pool info
test_gateway1 pool-1 Info DHCP pool
Options:
-h, --help Show this message and exit.
Commands:
create create new DHCP pool
delete deletes the DHCP pool
info info about DHCP pool
list lists the DHCP pool
If I run 'vcd gateway services dhcp-pool -h', it says the command options are --primary-server, --secondary-server, --gateway-ip etc. But the documentation at http://vmware.github.io/vcd-cli/vcd_gateway_services_dhcp-pool_create says the options are -p--primary-server, -s--secondary-server, -g-gateway-ip. Looks like it was meant to be like -p / --primary-server?
Actual command works with only -p--primary-server, -s--secondary-server, -g-gateway-ip. (It was supposed to be -p / --primary.., -s / --secondary..., -g / --gateway... ?)