Hi. I created a Mininet topology with three hosts, an OpenFlow switch and a remote controller (following an OpenFlow tutorial over from mininet.org ), like this:
sudo mn --topo single,3 --mac --switch ovsk --controller remote
I need to check the flow table of the switch (s1), even though i know its empty, so I type in the command:
ovs-ofctl show s1
but I get the error:
ovs-ofctl: /var/run/openvswitch/s1.mgmt: faile to open socket (Permission denied)
How do I resolve this? I am following this tutorial: https://github.com/mininet/openflow-tutorial/wiki/Learn-Development-Tools
Thanks in advance!