"CONTROLLER:65535" and "IN PORT" become "drop" in Karaf (Helium-SR2) by AD-SAL

asked 2015-03-18 02:00:50 -0800

yijung0325 gravatar image

updated 2015-03-19 21:21:44 -0800

Dear experts,

I would like to implement an ARP proxy on ODL, so I implement a bundle to create a flow entry like this (by AD-SAL):

match = new Match();
match.setField(MatchType.DL_TYPE, EtherTypes.ARP.shortValue());
actions = new LinkedList<Action>();
actions.add(new Controller());
flow = new Flow(match, actions);
flow.setPriority((short)100);
status = flowProgrammerService.addFlow(node, flow);

However, the flow entry becomes

mininet> dpctl dump-flows
*** s1 ------------------------------------------------------------------------
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=12.939s, table=0, n_packets=17, n_bytes=804, idle_age=1, priority=100,arp actions=drop

Hence, all ARP requests are dopped by OVS, not forwarded to my ODL controller. Could you please teach me what possible mistakes I made? I have installed the following features: odl-adsal-all, odl-openflowplugin-all, odl-l2switch-all, odl-nsf-all, and odl-adsal-compatibility-all. If you need other information, please kindly let me know. Thanks in advance.

Sincerely,

Yi-Jung


Also, I try "IN PORT" today (3/19 EST) as well, and get the same result:

match = new Match();
match.setField(MatchType.DL_TYPE, EtherTypes.ARP.shortValue());
actions = new LinkedList<Action>();
actions.add(new Loopback());
flow = new Flow(match, actions);
flow.setPriority((short)100);
status = flowProgrammerService.addFlow(node, flow);

mininet> dpctl dump-flows
*** s1 ------------------------------------------------------------------------
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=12.939s, table=0, n_packets=17, n_bytes=804, idle_age=1, priority=100,arp actions=drop

Does ODL support AD-SAL still to fix this bug? Or Do I need to install another features?

edit retag flag offensive close merge delete