Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

dhcp-pool CLI options are not matching with 'help' output and documentation #532

Open
bejoycalias opened this issue Jun 26, 2020 · 1 comment

Comments

@bejoycalias
Copy link

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... ?)

@bejoycalias
Copy link
Author

# 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant