host-local: ensure requested IPs are within the given range
authorDan Williams <dcbw@redhat.com>
Fri, 2 Sep 2016 21:52:29 +0000 (16:52 -0500)
committerDan Williams <dcbw@redhat.com>
Fri, 2 Sep 2016 21:52:29 +0000 (16:52 -0500)
commit959af1e6abe6ea98e6ca591abc2bcfef26dd476b
treee434db12bd5cc724e3c539537638927207fcc5f1
parentdfc4f7cd2af04016fc7deedc2cc23925533bbf0a
host-local: ensure requested IPs are within the given range

And also make sure that RangeStart and RangeEnd are sane.
plugins/ipam/host-local/allocator.go
plugins/ipam/host-local/allocator_test.go