Hi All, We are trying to add a flow using ODL Rest client to OVS. The flow match fields are : tun_src and tun_id on OVS
Currently corresponding match parameters at OVS flow seems to be mapped with tunnel-ipv4-source and tunnel-id on ODL. Sample XML flow at ODL looks as below: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <flow xmlns="urn:opendaylight:flow:inventory"> <hard-timeout>0</hard-timeout> <idle-timeout>0</idle-timeout> <priority>150</priority> <flow-name>flow1</flow-name> <match> <ethernet-match> <ethernet-type> <type>2048</type> </ethernet-type> </ethernet-match> <tunnel-ipv4-source>10.2.1.1/32</tunnel-ipv4-source> <tunnel> <tunnel-id>5555</tunnel-id> </tunnel> </match> <id>1</id> <table_id>0</table_id> <instructions> <instruction> <order>0</order> <apply-actions> <action> <output-action> <output-node-connector>1</output-node-connector> </output-action> <order>0</order> </action> </apply-actions> </instruction> </instructions> </flow> As a result of this PUT request from ODL Restclient , following flow gets added on OVS : cookie=0x0, duration=3.237s, table=0, n_packets=0, n_bytes=0, idle_age=3, priority=150, ip,tun_id=0x15b3,nw_src=10.2.1.1 actions=output:1 We observe that openflow specifications (1.1, 1.3 and 1.4 ) itself do not have any mapping tunnel_src and tunnel_dest kind of variables which would suggest how ODL's openflow plugin is supposed to push this information on OVS. Though we see, in current implementation openflowplugin's Yang model have the corresponding variables defined, but it incorrectly sets the tun_src/dst in nw_src/dst. And there is no relevant tun_src/dst variables in the openflowjava yang model. Digging more into the same, we found that even openflow specifications also does not talk anything about tun_src and tun_dst sans the tunnel_id Question : Are we missing on anything from the configuration / flow side or is the implementation incomplete ? Regards, Prerna Pandit Tata Consultancy Services Limited Mailto: [email protected] Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Consulting ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
_______________________________________________ openflowplugin-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
