I have a mininet environment on Ubuntu VPS and I also installed Ryu and curl. I'm trying to test flooding between hosts but when I add flow entry, it becomes actions=drop. My mininet code:
I made a horrible mistake. I had written my first code as "--switch=ovsk,protocol=OpenFlow13". But it should be "protocols=OpenFlow13". One char makes difference. Apologize for this.
I have a mininet environment on Ubuntu VPS and I also installed Ryu and curl. I'm trying to test flooding between hosts but when I add flow entry, it becomes actions=drop. My mininet code:
sudo mn --controller=remote,ip=127.0.0.1 --mac --switch=ovsk,protocol=OpenFlow13 --topo=single,3
After starting up Ryu Controller
ryu-manager ryu.app.ofctl_rest
hub_flow.json code:
Adding flow entry via curl:
curl -X POST http://localhost:8080/stats/flowentry/add -d '@hub_flow.json'
Normally I should see this on dump flow:
cookie=0x0, duration=9.837s, table=0, n_packets=0, n_bytes=0, priority=100 actions=flood
But It shows:cookie=0x0, duration=9.837s, table=0, n_packets=0, n_bytes=0, priority=100 actions=drop
So, there is no flooding, only drop. What causes this? Is it about Ryu Controller or mininet environment?