Actions
Bug #20609
closedSubnet create/update should accept proxy names
Difficulty:
easy
Triaged:
No
Team Backlog:
Description
hammer subnet create/update shoupd enable entering dhcp, dns and tftp proxy names.
At the moment it supports just ids:
--dhcp-id DHCP_ID Dhcp proxy id to use within this subnet --dns-id DNS_ID Dns proxy id to use within this subnet --tftp-id TFTP_ID Tftp proxy id to use within this subnet
Three more options should be added: --dhcp, --dns, --tftp The options must accept proxy names and translate them to ids.
See domain command for some inspiration:
https://github.com/theforeman/hammer-cli-foreman/blob/master/lib/hammer_cli_foreman/domain.rb#L3-L22
Actions