[augeas-devel] Re: [Augeas] #65: dnsmasq lens should handle /etc/dnsmasq.d/*

Augeas trac at fedorahosted.org
Mon Jun 8 23:48:13 UTC 2009


#65: dnsmasq lens should handle /etc/dnsmasq.d/*
--------------------------+-------------------------------------------------
  Reporter:  abnormaliti  |       Owner:  lutter
      Type:  enhancement  |      Status:  closed
  Priority:  minor        |   Milestone:  0.5.1 
 Component:  Augeas       |     Version:  0.5.0 
Resolution:  fixed        |    Keywords:        
--------------------------+-------------------------------------------------
Comment (by abnormaliti):

 problem with parsing 'dhcp-host' in particular is the hwaddr, ipaddr, etc.
 are not mandatory.

 this is one of my favorite things about dnsmasq.  I think the lens should
 be unrestricted in at least parameters such as these.

 e.g. these are all valid formats and there are many more combos.

 dhcp-host=00:00:00:00:00:00,10.3.13.28,kvm01
 dhcp-host=00:00:00:00:00:00,10.3.13.28
 dhcp-host=kvm01,10.3.13.28
 dhcp-host=00:00:00:00:00:00
 dhcp-host=11:22:33:44:55:66,12:34:56:78:90:12,192.168.0.2

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/65#comment:4>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list