Sha256: c8397c3ad2c7e4a1d957fba817afaa248b4312cca4ee5f9ab8d6088b666df4a7
Contents?: true
Size: 998 Bytes
Versions: 13
Compression:
Stored size: 998 Bytes
Contents
module HammerCLIForeman module CommandExtensions class Subnet < HammerCLI::CommandExtensions option "--dns", "DNS_NAME", _("DNS Proxy to use within this subnet"), attribute_name: :option_dns_name, referenced_resource: :smart_proxy option "--dhcp", "DHCP_NAME", _("DHCP Proxy to use within this subnet"), attribute_name: :option_dhcp_name, referenced_resource: :smart_proxy option "--tftp", "TFTP_NAME", _("TFTP Proxy to use within this subnet"), attribute_name: :option_tftp_name, referenced_resource: :smart_proxy option "--prefix", "PREFIX", _("Network prefix in CIDR notation (e.g. 64) for this subnet") option_sources do |sources, command| sources.find_by_name('IdResolution').insert_relative( :after, 'IdParams', HammerCLIForeman::OptionSources::ReferencedResourceIdParams.new(command) ) sources end end end end
Version data entries
13 entries across 13 versions & 1 rubygems