X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=pce%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Ftransportpce%2Fpce%2FPcePathDescription.java;h=6e2f3d5b37d84f59ee9102314cee5e2c8e28e6b3;hb=0c501ffd69150962a20ead542d75cc6e3662106f;hp=91a8ae84621958e6fc989ed7be909260c90b3b68;hpb=78b163d996670c59efa5c66a9a5f6cf60bd1073b;p=transportpce.git diff --git a/pce/src/main/java/org/opendaylight/transportpce/pce/PcePathDescription.java b/pce/src/main/java/org/opendaylight/transportpce/pce/PcePathDescription.java index 91a8ae846..6e2f3d5b3 100644 --- a/pce/src/main/java/org/opendaylight/transportpce/pce/PcePathDescription.java +++ b/pce/src/main/java/org/opendaylight/transportpce/pce/PcePathDescription.java @@ -199,7 +199,7 @@ public class PcePathDescription { AToZ lastResource = null; // build A side Client TP - String tpName = path.get(0).getClient(); + String tpName = path.get(0).getClientA(); String xname = path.get(0).getSourceId().getValue(); TerminationPoint stp = new TerminationPointBuilder() .setTpId(tpName).setTpNodeId(xname) @@ -284,7 +284,7 @@ public class PcePathDescription { } // build Z side Client TP - tpName = lastLink.getClient(); + tpName = lastLink.getClientZ(); xname = lastLink.getDestId().getValue(); stp = new TerminationPointBuilder() .setTpNodeId(xname).setTpId(tpName) @@ -305,7 +305,7 @@ public class PcePathDescription { // build Z size Client TP PceLink pcelink = this.allPceLinks.get(path.get(0).getOppositeLink()); - String tpName = pcelink.getClient(); + String tpName = pcelink.getClientA(); String xname = pcelink.getSourceId().getValue(); TerminationPoint stp = new TerminationPointBuilder() .setTpNodeId(xname).setTpId(tpName) @@ -393,7 +393,7 @@ public class PcePathDescription { } // build Z side Client TP - tpName = lastLink.getClient(); + tpName = lastLink.getClientZ(); xname = lastLink.getDestId().getValue(); stp = new TerminationPointBuilder() .setTpNodeId(xname).setTpId(tpName).build();