Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Reactive flows

asked 2015-11-04 23:18:40 -0700

g_trelos gravatar image

Hello community, I want to be able to write flows from the REST but these flows I want to be inserted on the switch reactively.Meaning that I want them to be passed to the switch after the packet-in events.I put "false" at thearphanlder.xml of the l2switch, but nothing happens(the flows are installed instantly).Could you help me please?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-11-05 01:56:20 -0700

disideris gravatar image

in order to listen to packet in events u need two things

declare depedency to notification-broker of mdsal

implement interface PacketProcessingListener

inside your class that implements PacketProcessingListener in method onPacketReceived u can make whatever filter u need and under these conditions u can write flows only when packet in events occur.

hope this helped

edit flag offensive delete publish link more


Thanks a lot.Can you point to me a tutorial to start making applications for ODL?

g_trelos ( 2015-11-05 04:35:26 -0700 )edit This is as good as it gets! btw u r greek right? me 2

disideris ( 2015-11-06 05:56:54 -0700 )edit

ok thank you.axaxaxa kati katlava apo to username.xaxaxa

g_trelos ( 2015-11-10 00:48:23 -0700 )edit

what are the exact steps for this.I declare in the default-config.xml the depedency to notification-broker of mdsal but when I tell implement PacketProcessingListener in the java file it tells me to create interface PacketProcessingListener.what should i do?

g_trelos ( 2015-11-12 06:27:59 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-11-04 23:18:40 -0700

Seen: 246 times

Last updated: Nov 05 '15