diff options
author | Guo Ruijing <ruijing.guo@intel.com> | 2017-10-23 00:49:35 +0000 |
---|---|---|
committer | Guo Ruijing <ruijing.guo@intel.com> | 2017-10-25 22:50:16 +0000 |
commit | f9957f277f5a976e867a8225cbd0fa68e45440c6 (patch) | |
tree | c7eb7add8194dfbd28522601e0d800ecfe39d1d4 /src/cni/ovsdpdk/setup_ovsdpdk.sh | |
parent | a7ad050f4500863a4e74dda821d5176478add401 (diff) |
build ovsdpdk cni by docker
Change-Id: I1b1ed822dbfca0c1a94129ee8c0464bfec2e054b
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Signed-off-by: vagrant <vagrant@control>
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'src/cni/ovsdpdk/setup_ovsdpdk.sh')
-rwxr-xr-x | src/cni/ovsdpdk/setup_ovsdpdk.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/cni/ovsdpdk/setup_ovsdpdk.sh b/src/cni/ovsdpdk/setup_ovsdpdk.sh deleted file mode 100755 index 6009b7a..0000000 --- a/src/cni/ovsdpdk/setup_ovsdpdk.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -netns=$1 -containerid=$2 -ip=$3 -pid=$(echo $netns | cut -f3 -d"/") - -sudo ovs-vsctl --may-exist add-br br-dpdk -- set bridge br-dpdk datapath_type=netdev -sudo ovs-vsctl --may-exist add-port br-dpdk vhost-user-$pid -- set Interface vhost-user-$pid type=dpdkvhostuser - -sudo ln -sf $netns /var/run/netns/$pid -sudo ip link add dummy-$pid type dummy -sudo ip link set dummy-$pid netns $pid - -sudo mkdir -p /var/run/cni -echo $ip | sudo tee /var/run/cni/netconf-$pid |