From fd150a4c9798bcfcdc3e44da2c88332e059ec47a Mon Sep 17 00:00:00 2001 From: Gabe Rosenhouse Date: Tue, 6 Sep 2016 20:19:26 -0400 Subject: [PATCH] skel: Plugins require a cniVersion in the NetConf --- README.md | 2 ++ libcni/api_test.go | 2 +- pkg/invoke/exec.go | 4 +++- pkg/invoke/exec_test.go | 7 ++++--- pkg/invoke/raw_exec_test.go | 2 +- pkg/skel/skel.go | 17 +++++++++++++++++ pkg/skel/skel_test.go | 26 +++++++++++++++++++++----- pkg/version/plugin.go | 1 + plugins/main/bridge/bridge_test.go | 19 +++++++++++-------- plugins/main/ipvlan/ipvlan_test.go | 7 +++++-- plugins/main/loopback/loopback_test.go | 2 +- plugins/main/macvlan/macvlan_test.go | 7 +++++-- plugins/main/ptp/ptp_test.go | 2 ++ plugins/test/noop/noop_test.go | 4 ++-- 14 files changed, 76 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 56f06094..c37a3065 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,7 @@ Start out by creating a netconf file to describe a network: $ mkdir -p /etc/cni/net.d $ cat >/etc/cni/net.d/10-mynet.conf </etc/cni/net.d/10-mynet.conf </etc/cni/net.d/99-loopback.conf <