介紹
Description
OFswitchManager是一個floodlight模塊,用於管理連接到floodlight控制器的所有openflow switch。它可以用來獲取對開關的引用並與之交互,例如發送OFFlowMods 和ofpacketout之類的OFPacketOuts消息。模塊可以通過請求對IOFSwitchService的引用來利用OFSwitchManager 。
Services Provided
IOFSwitchService
Service Dependencies依賴的服務
IFloodlightProviderService
IDebugEventService
IDebugCounterService
ISyncService
Java File
該模塊在net.floodlightcontroller.core.internal.OFSwitchManager.java中實現。
How it works
OFswitchManager使用netty庫處理線程和到交換機的連接。每個OpenFlow消息將由一個netty線程處理,並在所有模塊中執行與消息相關聯的所有邏輯。
Limitations
None
Configuration
This module is enabled by default, no extra configuration is needed.