plugins/pkg/ip
Dan Williams c0d34c692f ns: add interface, use it, and fix thread-related namespace switch issues
Add a namespace object interface for somewhat cleaner code when
creating and switching between network namespaces.  All created
namespaces are now mounted in /var/run/netns to ensure they
have persistent inodes and paths that can be passed around
between plugin components without relying on the current namespace
being correct.

Also remove the thread-locking arguments from the ns package
per https://github.com/appc/cni/issues/183 by doing all the namespace
changes in a separate goroutine that locks/unlocks itself, instead of
the caller having to track OS thread locking.
2016-05-20 17:10:25 -05:00
..
cidr.go Change copyright from CoreOS to CNI authors 2015-09-29 11:51:33 -07:00
ipforward.go Change copyright from CoreOS to CNI authors 2015-09-29 11:51:33 -07:00
ipmasq.go *: add comment to iptables rules for ipmasq 2016-03-31 18:01:32 +02:00
link.go ns: add interface, use it, and fix thread-related namespace switch issues 2016-05-20 17:10:25 -05:00
route.go Change copyright from CoreOS to CNI authors 2015-09-29 11:51:33 -07:00