lib/wire/commands/verify_command_handler.rb
# runs verification for dnsmasqs dhcp resource
# Returns
# - [Bool] true if dhcp setup is valid
runs verification for dnsmasqs dhcp resource
Returns
[Bool] true if dhcp setup is valid
runs verification for dnsmasqs dhcp resource Returns [ Bool ] true if dhcp setup is valid
def handle_dhcp(zone_name, network_name, network_entry, address_start, address_end)
      resource = Wire::Resource::ResourceFactory
        .instance.create(:dhcpconfig, "wire__#{zone_name}", network_name,
                         network_entry, address_start, address_end)
      default_handle_resource(resource, :dnsmasq,
                              "dnsmasq/dhcp config on network \'#{network_name}\'")
    end
def handle_dhcp ( zone_name , network_name , network_entry , address_start , address_end ) resource = Wire :: Resource :: ResourceFactory . instance . create ( :dhcpconfig , "wire__#{zone_name}" , network_name , network_entry , address_start , address_end ) default_handle_resource ( resource , :dnsmasq , "dnsmasq/dhcp config on network \'#{network_name}\'" ) end
runs verification for dnsmasqs dhcp resource
Returns
 [Bool] true if dhcp setup is valid
runs verification for dnsmasqs dhcp resource Returns [ Bool ] true if dhcp setup is valid
zone_name
<not_specific>
network_name
<not_specific>
network_entry
<not_specific>
address_start
<not_specific>
address_end
<not_specific>