floodlight官方文檔(十五):controller module詳解----OFSwitchManager(與交換機進行交互,重要)

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.

在這裏插入圖片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章