As I mentioned, I think you'll have better luck on a Floodlight mailing list, since we didn't produce that tool. If you can provide any information on the OVS side (relevant logs or output from "ovs-ofctl dump-flows"), we might be able to provide some guidance about what the tool is send to OVS.
--Justin > On Mar 6, 2016, at 10:46 AM, Wilson Kwok <leiw...@gmail.com> wrote: > > Hello all, > > After I input the following one to block host2 80 port from host1, but still > no luck, please help. > > curl -X POST -d '{"switch": "00:00:00:0c:29:6c:4a:8f", "name":"host1-host2", > "cookie":"0", "priority":"0", "eth_type":"0x0800", "ip_proto":"6", > "tp_dst":"80", "ipv4_src":"192.168.0.10", "ipv4_dst":"192.168.0.20", > "active":"true", "actions":""}' > http://192.168.0.203:8080/wm/staticflowpusher/json > > 2016-03-06 14:42 GMT+08:00 Wilson Kwok <leiw...@gmail.com>: > No one answer, I have new flow, can someone help ? > > curl -X POST -d '{"switch": "00:00:00:0c:29:6c:4a:8f", "name":"host1-host2", > "cookie":"0", "priority":"0", "eth_type":"0x0800", "ip_proto":"0x08", > "ipv4_src":"192.168.0.10", "ipv4_dst":"192.168.0.20", "active":"true", > "actions":""}' http://192.168.0.203:8080/wm/staticflowpusher/json > > curl -X POST -d '{"switch": "00:00:00:0c:29:6c:4a:8f", "name":"host2-host1", > "cookie":"0", "priority":"0", "eth_type":"0x0800", "ip_proto":"0x00", > "ipv4_src":"192.168.0.20", "ipv4_dst":"192.168.0.10", "active":"true", > "actions":""}' http://192.168.0.203:8080/wm/staticflowpusher/json > > 2016-03-05 1:11 GMT+08:00 Wilson Kwok <leiw...@gmail.com>: > Asking them, thanks > > 2016-03-05 0:49 GMT+08:00 Justin Pettit <jpet...@ovn.org>: > > > On Mar 3, 2016, at 8:48 AM, Wilson Kwok <leiw...@gmail.com> wrote: > > > > Hello all, > > > > I am newbie of Openflow, the following syntax want to block ping from host1 > > to host2, but this flow has issue when run, I think is eth_type or > > ip_proto has problem. > > > > curl -X POST -d '{"switch": "00:00:00:0c:29:6c:4a:8f", > > "name":"host1-host2", "cookie":"0", "priority":"0", "eth_type":"0x800", > > "ip_proto":"0x01", ipv4_src":"192.168.0.10", "ipv4_dst":"192.168.0.20", > > "active":"true", "actions":""}' > > http://192.168.0.203:8080/wm/staticflowpusher/json > > I don't know anything about Static Flow Pusher, but the fields look > reasonable. You'll probably have better luck on a Floodlight mailing list. > > --Justin > > > > > _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss