Tino Rusch
f2faf549b4
[host-device] integrated getLink()
function which maps either devicename, hw-addr or kernelpath to a link object;
2017-05-02 13:21:50 +02:00
Tino Rusch
6099d8c84c
added host-device plugin which adds a specified link to the container network namespace;
2017-04-28 09:34:22 +02:00
Dan Williams
c11286b835
Merge pull request #2 from dcbw/vlan
...
plugins: add a simple VLAN plugin
2017-04-26 12:54:05 -05:00
Dan Williams
076080eedf
vlan: add VLAN plugin
2017-04-19 13:41:12 -05:00
Dan Williams
6b3bf7ea7b
vendor: add CNI invoke, ip, ipam, and hwaddr packages
2017-04-18 23:49:26 -05:00
Dan Williams
7309649a66
test: CmdAddWithResult sets CNI_PATH from PATH
...
To actually use CNI plugins in the given CNI_PATH, we need to add
CNI_PATH to PATH because CmdAddWithResult() does this:
os.Setenv("CNI_PATH", os.Getenv("PATH"))
2017-04-18 23:49:26 -05:00
Dan Williams
9ef6f5f723
test: make tests actually work when packages have vendored imports
...
Go's "..." syntax (eg, ./plugins/...) doesn't traverse symlinks, so
go test wasn't finding the vendor/ directory for imports. To get around
that we have to specify each testable package specifically rather
than use "...".
2017-04-18 23:40:46 -05:00
Casey Callendrello
559ffa1111
Add simple testing infrastructure
2017-03-13 18:05:55 +01:00
Casey Callendrello
168a5a0210
godeps: initial creation
2017-03-13 14:36:20 +01:00
Casey Callendrello
d62b9a0584
sample: create sample plugin
2017-03-13 14:31:58 +01:00
Casey Callendrello
fb4a7f477b
Initial commit
2017-03-10 16:46:52 +01:00