简体   繁体   English

opendaylight Openflow插件创建流表

[英]opendaylight Openflow plugin create a flow table

I am porting an application from RYU to opendaylight. 我正在将RYU的应用程序移植到opendaylight。 I am using the opendaylight openflow plugin and working with the Carbon distribution. 我正在使用opendaylight openflow插件并使用Carbon发行版。 I am writing an openflow Karaf application (bundle). 我正在编写一个开放流Karaf应用程序(捆绑包)。 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. 我正在寻找有关如何在openflow插件中创建流表的任何指导。 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. 您可以从查看genius项目中的代码开始以获取灵感...检出org.opendaylight.genius.mdsalutil.internal.MDSALManager-这是genius和netvirt ODL项目用来编写流程的实用程序。

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. 实际上,您不必自己直接使用它(可以,但实际上并没有,它只是openflowplugin之上的一层),但是仔细检查一下这些代码可能会帮助您了解您想了解的知识。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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