host-local: add DataDir IPAM conf option and use it for testcases
authorDan Williams <dcbw@redhat.com>
Thu, 10 Nov 2016 16:50:58 +0000 (10:50 -0600)
committerDan Williams <dcbw@redhat.com>
Thu, 10 Nov 2016 18:12:16 +0000 (12:12 -0600)
commite085226f826118f04b7d51f4756b0fd854c83179
treebea1c799764c8eef749a8da0efaabd2be2621aba
parent79643855f7b29d473e3ae6838fe6294d5d54ff93
host-local: add DataDir IPAM conf option and use it for testcases

Add an e2e host-local plugin testcase, which requires being able
to pass the datadir into the plugin so we can erase it later.
We're not always guaranteed to have access to the default data
dir location, plus it should probably be configurable anyway.
plugins/ipam/host-local/backend/disk/backend.go
plugins/ipam/host-local/config.go
plugins/ipam/host-local/host_local_test.go [new file with mode: 0644]
plugins/ipam/host-local/main.go