Dear Developers,
I am looking to add a new field to ovs-ofctl agent to set a particular flow. 
For example, we have the command to set a new flow according to set of rules.
ovs-ofctl add-flow br0"in_port=LOCAL, table=0, 
idle_timeout=60,ip,hard_timeout=69,vlan_tci=0x0000, dl_src=78:2b:cb:4b:db:c5, 
dl_dst=00:09:8a:80:c0, nw_proto=1, nw_dst=192.168.1.100, nw_src=192.168.7.189, 
actions=drop"
Similarly, I would like to add one more rule to the above command, like for 
example:
ovs-ofctl add-flow br0"in_port=LOCAL, table=0, 
idle_timeout=60,ip,hard_timeout=69,vlan_tci=0x0000, dl_src=78:2b:cb:4b:db:c5, 
dl_dst=00:09:8a:80:c0, nw_proto=1, nw_dst=192.168.1.100, nw_src=192.168.7.189, 
tp_type=1, actions=drop"
Where tp_type (or I can name it tp_proto with a hexadecimal type 0x0802 etc) is 
another L4 protocol that I would like to introduce. 
I would like some help to look at the right place to make such a modification, 
as the OVS code is huge and has many openflow agents. I looked into the 
ovs-ofctl code and that it has multiple functions etc. Can someone direct me to 
look at the right places (either in ovs-ofctl.c or elsewhere). 
Thank you very much,Anu                                           
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to