Fix Issues coming up during end to end testing
[transportpce.git] / common / src / main / java / org / opendaylight / transportpce / common / mapping / PortMappingImpl.java
index d523c1a28ce2098177157c47954e624cd283a9b0..c709102409b5b4356b9739dd7b00a81914316257 100644 (file)
@@ -371,11 +371,11 @@ public class PortMappingImpl implements PortMapping {
             for (Ports port : cp.getPorts()) {
                 if (Port.PortQual.XpdrNetwork.equals(port.getPortQual())) {
                     portMapList.add(createMappingObject(nodeId, port, circuitPackName,
-                        OpenRoadmInterfacesImpl.NETWORK_TOKEN + line));
+                        "XPDR1"+OpenRoadmInterfacesImpl.NETWORK_TOKEN + line));
                     line++;
                 } else if (Port.PortQual.XpdrClient.equals(port.getPortQual())) {
                     portMapList.add(createMappingObject(nodeId, port, circuitPackName,
-                        OpenRoadmInterfacesImpl.CLIENT_TOKEN + client));
+                        "XPDR1"+OpenRoadmInterfacesImpl.CLIENT_TOKEN + client));
                     client++;
                 } else {
                     LOG.warn("Not supported type of port! Port type: {}", port.getPortQual());
@@ -627,4 +627,4 @@ public class PortMappingImpl implements PortMapping {
 
     }
 
-}
+}
\ No newline at end of file