PortConvertor changed due to changes in yang model as per https://git.opendaylight... 34/4434/3
authorDeepthi V V <deepthi.v.v@ericsson.com>
Mon, 20 Jan 2014 10:51:01 +0000 (16:21 +0530)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 20 Jan 2014 14:38:04 +0000 (14:38 +0000)
Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/sal/convertor/PortConvertor.java

index f4f8e78ec424f85e9603ef0f7c8263686ea1525a..779843d5fa54480b1fa65c533f5d8b2a9068f2b5 100644 (file)
@@ -75,10 +75,10 @@ public final class PortConvertor {
     private static PortFeatures getPortFeatures(
             org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.PortFeatures salPortFeatures) {
 
-        return new PortFeatures(salPortFeatures.is_100gbFd(), salPortFeatures.is_100mbFd(),
-                salPortFeatures.is_100mbHd(), salPortFeatures.is_10gbFd(), salPortFeatures.is_10mbFd(),
-                salPortFeatures.is_10mbHd(), salPortFeatures.is_1gbFd(), salPortFeatures.is_1gbHd(),
-                salPortFeatures.is_1tbFd(), salPortFeatures.is_40gbFd(), salPortFeatures.isAutoeng(),
+        return new PortFeatures(salPortFeatures.isHundredGbFd(), salPortFeatures.isHundredMbFd(),
+                salPortFeatures.isHundredMbHd(), salPortFeatures.isTenGbFd(), salPortFeatures.isTenMbFd(),
+                salPortFeatures.isTenMbHd(), salPortFeatures.isOneGbFd(), salPortFeatures.isOneGbHd(),
+                salPortFeatures.isOneTbFd(), salPortFeatures.isFortyGbFd(), salPortFeatures.isAutoeng(),
                 salPortFeatures.isCopper(), salPortFeatures.isFiber(), salPortFeatures.isOther(),
                 salPortFeatures.isPause(), salPortFeatures.isPauseAsym());
     }