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 <[email protected]>:
> Asking them, thanks
>
> 2016-03-05 0:49 GMT+08:00 Justin Pettit <[email protected]>:
>
>>
>> > On Mar 3, 2016, at 8:48 AM, Wilson Kwok <[email protected]> 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
[email protected]
http://openvswitch.org/mailman/listinfo/discuss