Skip to content

Commit

Permalink
Merge pull request #146 from linkernetworks/johnlin/vagrant-ovs-permi…
Browse files Browse the repository at this point in the history
…ssion

[Hotfix] ovs-vsctl with permission
  • Loading branch information
John-Lin authored Jul 23, 2018
2 parents bf58c9d + 545b0ce commit 7769dc1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions developers/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,11 @@ sudo systemctl enable ovs-vswitchd
sudo systemctl start ovs-vswitchd
### openvswitch with dpdk initial
ovs-vsctl --no-wait init
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-socket-mem="1024"
ovs-vsctl --no-wait set Open_vSwitch . other_config:pmd-cpu-mask=0x2
ovs-vsctl --no-wait set Open_vSwitch . other_config:max-idle=30000
sudo ovs-vsctl --no-wait init
sudo ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true
sudo ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-socket-mem="1024"
sudo ovs-vsctl --no-wait set Open_vSwitch . other_config:pmd-cpu-mask=0x2
sudo ovs-vsctl --no-wait set Open_vSwitch . other_config:max-idle=30000
#### Cleanup
rm -rf /home/vagrant/openvswitch-2.9.2.tar.gz /home/vagrant/dpdk-17.11.2.tar.xz /home/vagrant/pktgen-3.4.9.tar.gz
Expand Down

0 comments on commit 7769dc1

Please sign in to comment.