Lantao Liu
2955d63c95
Handle empty netns in DEL for loopback
and host-device
.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-10-10 10:49:06 -07:00
Casey Callendrello
68b4efb405
plugins/* stub-out GET functions so plugins build with v0.7
2018-06-15 15:28:53 +02:00
Fabian Ruff
eb410208cb
host-device: Ensure device is down before rename
...
If the device is in state up trying to set the name fails with "device or resource busy"
2018-04-25 20:39:23 +02:00
Dan Williams
ffc591e242
host-device: respect CNI_IFNAME/args.IfName
...
On ADD save the host device's name into its IFLA_ALIAS property and
rename the device to the requested CNI_IFNAME inside the container
to conform to the CNI specification. On DEL rename the device to
the original name and move it back into the host namespace.
2018-01-17 14:30:22 -06:00
Casey Callendrello
5e830efb20
plugins/main/host-local: generate result, fix DEL, other cleanups
...
This plugin needed some cleaning up: it didn't generate output, and
didn't test DEL. Add those things, plus a README.
2017-11-15 16:00:32 +01:00
Casey Callendrello
d07d2aaf71
plugins/host_device: move to "main" folder
2017-11-13 18:50:20 +01:00