P4-vSwitch / vagrant

PISCES Simulation Environment
30 stars 15 forks source link

Issues installing flow rules #11

Open haazy opened 6 years ago

haazy commented 6 years ago

I am trying to install flow rules and I ran this command sudo ./l2_switch.sh

And I got the error below.

! /bin/sh -ve

Please make sure that you update the path to the current OVS directory.

DIR=~/ovs/utilities

DIR=/vagrant/examples/l2_switch

$DIR/ovs-ofctl --protocols=OpenFlow15 del-flows br0 ovs-ofctl: /usr/local/var/run/openvswitch/br0.mgmt: failed to open socket (Connection refused)

Can anyone help me ?