Showing
2 changed files
with
3 additions
and
2 deletions
This diff is collapsed. Click to expand it.
... | @@ -4,6 +4,7 @@ import java.io.IOException; | ... | @@ -4,6 +4,7 @@ import java.io.IOException; |
4 | import java.util.ArrayList; | 4 | import java.util.ArrayList; |
5 | import java.util.Collections; | 5 | import java.util.Collections; |
6 | import java.util.List; | 6 | import java.util.List; |
7 | +import java.util.Map; | ||
7 | import java.util.concurrent.ConcurrentHashMap; | 8 | import java.util.concurrent.ConcurrentHashMap; |
8 | import java.util.concurrent.atomic.AtomicBoolean; | 9 | import java.util.concurrent.atomic.AtomicBoolean; |
9 | 10 | ||
... | @@ -60,7 +61,7 @@ import org.slf4j.LoggerFactory; | ... | @@ -60,7 +61,7 @@ import org.slf4j.LoggerFactory; |
60 | */ | 61 | */ |
61 | public class OFSwitchImplCPqD13 extends AbstractOpenFlowSwitch { | 62 | public class OFSwitchImplCPqD13 extends AbstractOpenFlowSwitch { |
62 | 63 | ||
63 | - private static Logger log = | 64 | + private Logger log = |
64 | LoggerFactory.getLogger(OFSwitchImplCPqD13.class); | 65 | LoggerFactory.getLogger(OFSwitchImplCPqD13.class); |
65 | 66 | ||
66 | private static final int VLAN_ID_OFFSET = 16; | 67 | private static final int VLAN_ID_OFFSET = 16; |
... | @@ -95,7 +96,7 @@ public class OFSwitchImplCPqD13 extends AbstractOpenFlowSwitch { | ... | @@ -95,7 +96,7 @@ public class OFSwitchImplCPqD13 extends AbstractOpenFlowSwitch { |
95 | private static final short MIN_PRIORITY = 0x0; | 96 | private static final short MIN_PRIORITY = 0x0; |
96 | private static final U64 METADATA_MASK = U64.of(Long.MAX_VALUE << 1 | 0x1); | 97 | private static final U64 METADATA_MASK = U64.of(Long.MAX_VALUE << 1 | 0x1); |
97 | 98 | ||
98 | - ConcurrentHashMap<Integer, OFGroup> l2groups; | 99 | + private Map<Integer, OFGroup> l2groups; |
99 | 100 | ||
100 | private final boolean usePipeline13; | 101 | private final boolean usePipeline13; |
101 | 102 | ... | ... |
-
Please register or login to post a comment