[From Edward Vopata]:
Is there a way to exclude a set of device based upon a
wildcard or regex hostname expression? For example,
discover_no = sep0*
or
discover_no = (sep0.*)
...
I think just excluding a device based upon a DNS lookup would be
sufficient and probably perferable. I am trying to find a quick
way to keep Netdisco from attempting to poll devices, such as IP
phones. This feature might also be used to exclude devices in
a particular DNS domain.
Netdisco 2 will accept an FQDN in any of the conf file _no/_only/etc settings.
No support for wildcarding though. I guess you mean, put an IP in the config file and if it resolves to something matching the regex then it "matches" as far as the ACL goes.
Could be added easily to Netdisco 2 (App::Netdisco::Util::Device::check_no) so moving the ticket there.
Ticket moved from /p/netdisco/feature-requests/90/
Can't be converted:
Last edit: Oliver Gorwits 2013-10-09
reopened as I realised this is pre-discovery and dns:x is only available post-discovery.
Implemented (rather lazily) using YAML Regexp support.