commit | 811bbaef8577e423b29e2898488c4a753d19eb2f | [log] [tgz] |
---|---|---|
author | Andreas Pantelopoulos <andreas@opennetworking.org> | Thu Mar 15 16:56:09 2018 -0700 |
committer | Andreas Pantelopoulos <andreas@opennetworking.org> | Thu Mar 15 20:02:52 2018 -0700 |
tree | 0ae52bd102a19de03dcff6f7b1f97e02c6f89f11 | |
parent | 2edfeefc3a1d0b8d453a9986650c787d7253f58e [diff] [blame] |
Pseudowire enhancements : - Fix bug for transporting l-s-s pws tagged. - Refactored and cleaned code. - Refactored cli commands. - Fixed bug in bulk rest api when the same pseudowires were tried to be added. Change-Id: I28ded776266a08110922b93a8b330d0b343d470d
diff --git a/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/SegmentRoutingService.java b/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/SegmentRoutingService.java index dc3d7b1..c329d3d 100644 --- a/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/SegmentRoutingService.java +++ b/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/SegmentRoutingService.java
@@ -92,9 +92,10 @@ /** * Returns the l2 tunnel descriptions. * + * @param pending if true fetch pending pseudowires, else fetch installed * @return set of l2 tunnel descriptions. */ - Set<L2TunnelDescription> getL2TunnelDescriptions(); + Set<L2TunnelDescription> getL2TunnelDescriptions(boolean pending); /** * Returns all l2 tunnels of pseudowires.