Hi, I am wondering if there is a way to add/modify/delete a flow with a python method without getting the datapath from an event (from a packet in for ex).
Actually what I would like to do is exactly what I'm doing below with curl but directly in python: curl -X POST -d '{ "dpid": 1, "cookie": 1, "cookie_mask": 1, "table_id": 0, "idle_timeout": 0, "hard_timeout": 0, "priority": 1111, "flags": 1, "match":{ "nw_dst": "11.0.0.1", "eth_type": 2048, }, "actions":[ { “type”: “SET_DL_DST”, “dl_dst”: “00:00:00:00:00:01” }, { "type": "OUTPUT", "port": 1 } ] }' http://localhost:8080/stats/flowentry/add Unfortunately I couldn't figure out a way to force the controller to push a flow entry to a particular switch. Best, Clément ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel