vmware-archive / vcd-cli

Command Line Interface for VMware vCloud Director
https://vmware.github.io/vcd-cli
Other
165 stars 105 forks source link

Creating new DHCP pool does not enable the DHCP service automatically #533

Open bejoycalias opened 4 years ago

bejoycalias commented 4 years ago

When creating a new DHCP pool, either it should enable the DHCP service automatically. OR we should have another CLI option to start the DHCP service once the pool is created.

$ vcd -d gateway services dhcp-pool create --range 192.168.50.10-192.168.50.99 -p--primary-server 8.8.8.8 -s--secondary-server 8.8.4.4 --subnet 255.255.255.0 edge-dal10-5c2b2b62 DHCP Pool created successfully.

kgawda commented 3 years ago

This is also problem for me. On a fresh organization environment I cannot make a whole deployment via CLI, because DHCP Service is Off by default and, as for now, it needs to be enabled manually via web interface.