BUG-1006 - limiting bulkTransactionCache
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / core / session / FeaturesV10Bandwidth.java
index 4162d0c20f427f3614263972235787eda3fe74a8..e27ab4ef9fbbc2e27fbf4d3fb8c8e4715c8e54ad 100644 (file)
@@ -4,11 +4,10 @@
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
- */                                                     
-
+ */
 package org.opendaylight.openflowplugin.openflow.md.core.session;
 
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.Port;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.PortGrouping;
 
 /**
  * 
@@ -31,7 +30,7 @@ public class FeaturesV10Bandwidth implements IGetBandwith {
     }
     
     @Override
-    public boolean getBandwidth(Port port) {
+    public boolean getBandwidth(PortGrouping port) {
         return (port.getCurrentFeaturesV10().is_100mbFd() | port.getCurrentFeaturesV10().is_100mbHd() | port.getCurrentFeaturesV10().is_10gbFd() | 
                 port.getCurrentFeaturesV10().is_10mbFd() | port.getCurrentFeaturesV10().is_10mbHd() | port.getCurrentFeaturesV10().is_1gbFd() | 
                 port.getCurrentFeaturesV10().is_1gbHd() | port.getCurrentFeaturesV10().isAutoneg() | port.getCurrentFeaturesV10().isCopper() |