Hi OpenFlow Plugin team, We're facing a issue when we try to create two different flows for two different nodes, it follows the Intent creation and the results for each one:
1st Intent -- opendaylight-user@root>intent:add --from 00:00:00:00:00:01 --to 00:00:00:00:00:02 -a ALLOW OFPST_FLOW reply (OF1.3) (xid=0x2): cookie=0x1, duration=17.344s, table=0, n_packets=0, n_bytes=0, priority=10000,arp actions=CONTROLLER:65535,NORMAL cookie=0x1, duration=17.052s, table=0, n_packets=0, n_bytes=0, priority=9500,dl_type=0x88cc actions=CONTROLLER:65535 cookie=0x0, duration=1.979s, table=0, n_packets=0, n_bytes=0, priority=9001,dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:02 actions=NORMAL ============================ 2nd Intent -- opendaylight-user@root>intent:add --from 00:00:00:00:00:02 --to 00:00:00:00:00:01 -a ALLOW OFPST_FLOW reply (OF1.3) (xid=0x2): cookie=0x1, duration=118.399s, table=0, n_packets=0, n_bytes=0, priority=10000,arp actions=CONTROLLER:65535,NORMAL cookie=0x1, duration=118.107s, table=0, n_packets=0, n_bytes=0, priority=9500,dl_type=0x88cc actions=CONTROLLER:65535 cookie=0x0, duration=2.136s, table=0, n_packets=0, n_bytes=0, priority=9002,dl_src=00:00:00:00:00:02,dl_dst=00:00:00:00:00:01 actions=NORMAL ============================ As you can see, the flow regarding 1st Intent was removed after 2nd Intent creation, maybe we need to change something (priority, cookie, tableId, etc) to ensure that flows regarding Intent #2 does not replace Intent #1 flows. PS: You can see the 'FlowBuilder' creation at this link <https://github.com/opendaylight/nic/blob/master/of-renderer/src/main/java/org/opendaylight/nic/of/renderer/impl/IntentFlowManager.java> . Please, let me know if you need more info. Thanks in advance, -- Yrineu Rodrigues Software Engineer *SERRO* | www.serro.com
_______________________________________________ openflowplugin-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
