ipam/host-local: add ResolvConf argument for DNS configuration
authorCasey Callendrello <c1@caseyc.net>
Mon, 21 Nov 2016 18:05:41 +0000 (19:05 +0100)
committerCasey Callendrello <casey.Callendrello@coreos.com>
Wed, 11 Jan 2017 17:48:35 +0000 (18:48 +0100)
commit5cde14cd7bdb2bd930c480a6a101d10a5b453adf
tree5132f2e87bcc593257e1c3a5cc90ab5ca384b38d
parent440660764978233146bb4380bd3a7252cd75f945
ipam/host-local: add ResolvConf argument for DNS configuration

This adds the option `resolvConf` to the host-local IPAM configuration.
If specified, the plugin will try to parse the file as a resolv.conf(5)
type file and return it in the DNS response.
Documentation/host-local.md
plugins/ipam/host-local/README.md
plugins/ipam/host-local/backend/allocator/config.go
plugins/ipam/host-local/dns.go [new file with mode: 0644]
plugins/ipam/host-local/dns_test.go [new file with mode: 0644]
plugins/ipam/host-local/host_local_test.go
plugins/ipam/host-local/main.go