mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-02-27 02:22:20 +01:00
adding corsa switch detection - initialises corsa driver
Change-Id: I9e7815d0e934d8953d817285a77849ce056dff51
This commit is contained in:
parent
089bb77bd2
commit
2216bdb555
@ -76,6 +76,12 @@ public final class DriverManager implements OpenFlowSwitchDriverFactory {
|
||||
return new OFOpticalSwitchImplLINC13(dpid, desc);
|
||||
}
|
||||
|
||||
if (vendor.startsWith("Corsa") && hw.startsWith("Corsa Element")
|
||||
&& sw.startsWith("2.3.1")) {
|
||||
log.warn("Corsa Switch 2.3.1 found");
|
||||
return new OFCorsaSwitchDriver(dpid, desc);
|
||||
}
|
||||
|
||||
log.warn("DriverManager could not identify switch desc: {}. "
|
||||
+ "Assigning AbstractOpenFlowSwich", desc);
|
||||
return new AbstractOpenFlowSwitch(dpid, desc) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user