Hi,
On a fresh VM, I downloaded Mininet 2.1, OVS version is 2.0.2.
I modified your script to use my controller 2.4.6 running on a different VM.
When I run the script I can see the topology, 2 switch connected and 5 hosts each(hosts can be seen after generating traffic).
Negotiated OpenFlow version is 1.0.
When I run the command :
sudo s1 protocols=OpenFlow10,OpenFlow13
Switch 1 (dpid 00:00:00:00:00:00:00:01) negotiates version 1.3 with the controller..
The monitor Tab shows the difference and the FLOWS tab shows "Table 0" rather than "N/A", that can be seen on switch 2 running on Openflow version.
Hosts can be seen after generating traffic (I just pressed the reload button on the Topology tab).
If I then modify the flow according to the controller schema I can add it to my datapath without issues (using the REST interface).
Format I used:
{
"flow":{
"priority":30000,
"table_id":202,
"idle_timeout":60,
"match":[
{
"ipv4_src":"10.0.0.1"
},
{
"ipv4_dst":"10.0.0.15"
},
{
"ip_proto":"tcp"
},
{
"eth_type":"ipv4"
},
{
"tcp_dst":"80"
}
],
"instructions":[
{
"apply_actions":[
{
"output":3
}
]
}
]
}
}
You can access the json schema at the url https://<controller_IP>:8443/sdn/v2.0/models
I attached to my message screenshots gathered.
Prior to execute the script make sure to clean mininet (mn -c).
Let me know how what you did differs from what I tried to describe above.
Regards,
Antonio
SDN Team