Update xponder portmapping
[transportpce.git] / common / src / main / java / org / opendaylight / transportpce / common / mapping / PortMappingImpl.java
index c709102409b5b4356b9739dd7b00a81914316257..7bf21e29d56c62b7b0f09e3d7848f300874685f1 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,
-                        "XPDR1"+OpenRoadmInterfacesImpl.NETWORK_TOKEN + line));
+                        "XPDR1-"+OpenRoadmInterfacesImpl.NETWORK_TOKEN + line));
                     line++;
                 } else if (Port.PortQual.XpdrClient.equals(port.getPortQual())) {
                     portMapList.add(createMappingObject(nodeId, port, circuitPackName,
-                        "XPDR1"+OpenRoadmInterfacesImpl.CLIENT_TOKEN + client));
+                        "XPDR1-"+OpenRoadmInterfacesImpl.CLIENT_TOKEN + client));
                     client++;
                 } else {
                     LOG.warn("Not supported type of port! Port type: {}", port.getPortQual());