Junit tests for new TAPI module
[transportpce.git] / tapi / src / main / java / org / opendaylight / transportpce / tapi / topology / ConvertORTopoToTapiFullTopo.java
index 4c97d01b2f6d70d35b2bd0d1bd27506222616119..ec7408eb0ac63aacdd6a956c6eeb6b63641fbef2 100644 (file)
@@ -1263,7 +1263,7 @@ public class ConvertORTopoToTapiFullTopo {
         String sourceNode = getIdBasedOnModelVersion(link.getSource().getSourceNode().getValue());
         String sourceTp = link.getSource().getSourceTp().getValue();
         String destNode = getIdBasedOnModelVersion(link.getDestination().getDestNode().getValue());
-        String destTp = link.getDestination().getDestTp().toString();
+        String destTp = link.getDestination().getDestTp().getValue();
         AdminStates oppositeLinkAdminState = null;
         State oppositeLinkOperState = null;
         if (oppositeLink != null) {