简体   繁体   中英

opendaylight Openflow plugin create a flow table

I am porting an application from RYU to opendaylight. I am using the opendaylight openflow plugin and working with the Carbon distribution. I am writing an openflow Karaf application (bundle). I need multiple flow tables in my application. I am looking for any guidance on how to create a flow table in the openflow plugin. Any pointers or code fragments to accomplish the above would be very helpful.

Thanks in advance.

You could start by looking at the code in the genius project for inspiration... checkout out eg org.opendaylight.genius.mdsalutil.internal.MDSALManager - that's the utility using which the genius and netvirt ODL projects write flows.

You don't actually have to use that directly yourself (you could, but don't really have it, it's just a layer on top of openflowplugin), but poking around that code may help you with what you seem to want to learn about.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM