I am using ODL-Lithium with mininet. I create a topology consisting of 5 switches connected to each other using the following command :- sudo mn --custom ~/simpletopo.py --topo simpletopo --controller=remote,ip=192.168.56.101,port=6653 --mac --switch ovsk,protocols=OpenFlow13
I start ODL using the following command :- ./distribution-karaf-0.3.0-Lithium/bin/karaf -of13
I have installed the following features in ODL:- opendaylight-user@root>feature:install odl-openflowplugin-flow-services-rest opendaylight-user@root>feature:install odl-dlux-all opendaylight-user@root>feature:install odl-l2switch-switch
I have been trying to push some flows to the switches using RESTCONF api by issuing PUT request from Python to the following URL :-
I pushed the following flow (of course, I sent it in JSON format from python) :-
Using the above flow, I want to forward any traffic with destination and source as 10.0.0.0/8 into port 5 of the switch to port 1. The name of the switch is openflow:4.
After sending the above PUT request, the flow is created in the config store, however the same is neither visible in the operational store or in the switch (I used "ovs-ofctl -O OpenFlow13 dump-flows s4")
I have been stuck with this problem for quite a while now and have scoured through almost all related issues in this forum, but haven't found a solution. Any help in this regard will be highly and deeply appreciated!!