简体   繁体   English

如何在反应模式下运行Opendaylight?

[英]How to run Opendaylight in Reactive mode?

I use Opendaylight Nitrogen and it runs in proactive mode with L2-Switch module. 我使用Opendaylight Nitrogen,它与L2-Switch模块一起在主动模式下运行。 Yet, somehow I couldnt find a clue how to make it work in reactive mode. 但是,我以某种方式找不到如何使其以反应模式工作的线索。

The reason to do is I try to see FLOW_MOD messages after after PACKET_IN. 这样做的原因是我尝试在PACKET_IN之后查看FLOW_MOD消息。 I appreciate any kind of help. 我感谢任何帮助。 Thank you. 谢谢。

Is it L2 switch only or L2 switch with Openflow on top? 是仅L2交换机还是顶部带有Openflow的L2交换机? With L2 switch, you can configure the arp flooding, so to have it proactive or reactive, you can check below: https://docs.opendaylight.org/en/stable-nitrogen/user-guide/l2switch-user-guide.html 使用L2交换机,您可以配置arp泛洪,因此要使其主动或被动,您可以在以下位置进行检查: https : //docs.opendaylight.org/en/stable-nitrogen/user-guide/l2switch-user-guide。 html

If you enable openflow-plugin, each time a switch sends a new flows, you can see the Packet-IN traces using wireshark or openswitch dumps. 如果启用了openflow-plugin,则每次交换机发送新的流时,您都可以使用wireshark或openswitch转储查看Packet-IN跟踪。

Also you can look at this: https://wiki.opendaylight.org/view/OpenDaylight_SDN_Controller_Platform_(OSCP):Overview 您也可以查看以下内容: https : //wiki.opendaylight.org/view/OpenDaylight_SDN_Controller_Platform_(OSCP)概述

Hope this helps 希望这可以帮助

The L2switch flood proactive mode has little or nothing to do with OpenFlow proactive mode. L2switch泛洪主动模式与OpenFlow主动模式几乎没有关系。 The first means controller does not flood received ARP packets (PACKET_IN) because those are handled by the data plane while the second means controller does not program flows based on received traffic (PACKET_IN). 第一装置控制器不会泛洪接收到的ARP数据包(PACKET_IN),因为它们是由数据平面处理的,而第二装置控制器则不会根据接收到的流量(PACKET_IN)对流量进行编程。

Now if you want to force an OpenFlow reactive behavior (eg for test purposes) you can use the drop test application that will send a drop flow for every received PACKET_IN, to do that: 现在,如果您想强制执行OpenFlow反应行为(例如出于测试目的),则可以使用丢弃测试应用程序来为每个收到的PACKET_IN发送丢弃流,以执行以下操作:

1) Install the drop test feature: 1)安装跌落测试功能:

opendaylight-user@root>feature:install odl-openflowplugin-drop-test opendaylight-user @ root>功能:安装odl-openflowplugin-drop-test

2) Enable the drop: 2)启用放置:

opendaylight-user@root>dropAllPacketsRpc on opendaylight-user @ root> dropAllPacketsRpc开启

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

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