Add plugin code
authorEugene Yakubovich <eugene.yakubovich@coreos.com>
Wed, 15 Apr 2015 22:35:02 +0000 (15:35 -0700)
committerEugene Yakubovich <eugene.yakubovich@coreos.com>
Mon, 27 Apr 2015 21:14:29 +0000 (14:14 -0700)
commit88377fa3466eea30817b038c69ac06686e7655b7
tree94f24c6b620f64aa768386bcef884dda1e4b281a
parent502be19aed3557ddb775fe133b095ad6e6eb87bf
Add plugin code

This adds basic plugins.
"main" types: veth, bridge, macvlan
"ipam" type: host-local

The code has been ported over from github.com/coreos/rkt project
and adapted to fit the CNI spec.
74 files changed:
Godeps/Godeps.json [new file with mode: 0644]
Godeps/Readme [new file with mode: 0644]
Godeps/_workspace/.gitignore [new file with mode: 0644]
Godeps/_workspace/src/github.com/coreos/go-iptables/iptables/iptables.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/coreos/go-iptables/iptables/iptables_test.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/coreos/rkt/pkg/lock/dir.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/coreos/rkt/pkg/lock/dir_test.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/coreos/rkt/pkg/lock/keylock.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/coreos/rkt/pkg/lock/keylock_test.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/.travis.yml [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/LICENSE [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/Makefile [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/README.md [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/addr.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/addr_linux.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/addr_test.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/link.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/link_linux.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/link_test.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/neigh.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/neigh_linux.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/neigh_test.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/netlink.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/netlink_test.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/netlink_unspecified.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/nl/addr_linux.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/nl/addr_linux_test.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/nl/link_linux.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/nl/nl_linux.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/nl/nl_linux_test.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/nl/route_linux.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/nl/route_linux_test.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/nl/xfrm_linux.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/nl/xfrm_linux_test.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/nl/xfrm_policy_linux.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/nl/xfrm_policy_linux_test.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/nl/xfrm_state_linux.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/nl/xfrm_state_linux_test.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/protinfo.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/protinfo_linux.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/protinfo_test.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/route.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/route_linux.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/route_test.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/xfrm.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/xfrm_policy.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/xfrm_policy_linux.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/xfrm_policy_test.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/xfrm_state.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/xfrm_state_linux.go [new file with mode: 0644]
Godeps/_workspace/src/github.com/vishvananda/netlink/xfrm_state_test.go [new file with mode: 0644]
README.md
build [new file with mode: 0755]
pkg/ip/cidr.go [new file with mode: 0644]
pkg/ip/ipmasq.go [new file with mode: 0644]
pkg/ip/link.go [new file with mode: 0644]
pkg/ip/route.go [new file with mode: 0644]
pkg/ns/ns.go [new file with mode: 0644]
pkg/plugin/ipam.go [new file with mode: 0644]
pkg/plugin/types.go [new file with mode: 0644]
pkg/skel/skel.go [new file with mode: 0644]
plugins/ipam/host-local/README.md [new file with mode: 0644]
plugins/ipam/host-local/allocator.go [new file with mode: 0644]
plugins/ipam/host-local/backend/disk/backend.go [new file with mode: 0644]
plugins/ipam/host-local/backend/disk/lock.go [new file with mode: 0644]
plugins/ipam/host-local/backend/store.go [new file with mode: 0644]
plugins/ipam/host-local/config.go [new file with mode: 0644]
plugins/ipam/host-local/main.go [new file with mode: 0644]
plugins/main/bridge/bridge.go [new file with mode: 0644]
plugins/main/macvlan/macvlan.go [new file with mode: 0644]
plugins/main/veth/veth.go [new file with mode: 0644]
scripts/docker-run.sh [new file with mode: 0755]
scripts/exec-plugins.sh [new file with mode: 0755]
scripts/priv-net-run.sh [new file with mode: 0755]