summaryrefslogtreecommitdiffstats
path: root/src/cni/ovsdpdk/install_cni.sh
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-08-01 14:44:21 -0700
committerGuo Ruijing <ruijing.guo@intel.com>2017-08-01 14:46:09 -0700
commitf2b811df691ded8deb1bf4c1a54ac65d886d3a18 (patch)
tree8cfb1a5e8f9c97de206a530dabfcb1bf31074248 /src/cni/ovsdpdk/install_cni.sh
parentdc766e69c0c08c55b6df2384bbcfd1e712f03160 (diff)
add ovsdpdk cni
Change-Id: Id3eba33d3b33deee815596c0a56bbe77954e2214 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'src/cni/ovsdpdk/install_cni.sh')
-rw-r--r--src/cni/ovsdpdk/install_cni.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cni/ovsdpdk/install_cni.sh b/src/cni/ovsdpdk/install_cni.sh
new file mode 100644
index 0000000..8f5b78a
--- /dev/null
+++ b/src/cni/ovsdpdk/install_cni.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+set -ex
+cp /cni/ovsdpdk /opt/cni/bin
+cp /cni/setup_ovsdpdk.sh /opt/cni/bin
+cp /cni/teardown_ovsdpdk.sh /opt/cni/bin
+cp /etc/kube-ovsdpdk/cni-conf.json /etc/cni/net.d/10-ovsdpdk.conf
+while true; do sleep 3600; done