Committed by
Gerrit Code Review
adding corsa switch detection - initialises corsa driver
Change-Id: I9e7815d0e934d8953d817285a77849ce056dff51
Showing
1 changed file
with
6 additions
and
0 deletions
... | @@ -76,6 +76,12 @@ public final class DriverManager implements OpenFlowSwitchDriverFactory { | ... | @@ -76,6 +76,12 @@ public final class DriverManager implements OpenFlowSwitchDriverFactory { |
76 | return new OFOpticalSwitchImplLINC13(dpid, desc); | 76 | return new OFOpticalSwitchImplLINC13(dpid, desc); |
77 | } | 77 | } |
78 | 78 | ||
79 | + if (vendor.startsWith("Corsa") && hw.startsWith("Corsa Element") | ||
80 | + && sw.startsWith("2.3.1")) { | ||
81 | + log.warn("Corsa Switch 2.3.1 found"); | ||
82 | + return new OFCorsaSwitchDriver(dpid, desc); | ||
83 | + } | ||
84 | + | ||
79 | log.warn("DriverManager could not identify switch desc: {}. " | 85 | log.warn("DriverManager could not identify switch desc: {}. " |
80 | + "Assigning AbstractOpenFlowSwich", desc); | 86 | + "Assigning AbstractOpenFlowSwich", desc); |
81 | return new AbstractOpenFlowSwitch(dpid, desc) { | 87 | return new AbstractOpenFlowSwitch(dpid, desc) { | ... | ... |
-
Please register or login to post a comment