commit | 8bc75ee52b2eabffe9fb0f032eb78a8e9b530a6d | [log] [tgz] |
---|---|---|
author | Charles Chan <rascov@gmail.com> | Tue Apr 17 18:56:53 2018 -0700 |
committer | Thomas Vachuska <tom@opennetworking.org> | Thu Apr 19 22:31:33 2018 +0000 |
tree | 5401e33aef37caada612ceb401ebe01b7b8458e3 | |
parent | be5789db5529b8c1f0fdd3a376e71f11e79f752d [diff] [blame] |
Implement sr-should-program command Change-Id: Ie7da6c83b1f432c5f84a13712d0a1be106733c6a
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 87ba7f3..f52fad1 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
@@ -273,4 +273,18 @@ * @return the mapping group-node */ Map<IpAddress, NodeId> getMcastLeaders(IpAddress mcastIp); + + /** + * Returns shouldProgram map. + * + * @return shouldProgram map + */ + Map<Set<DeviceId>, NodeId> getShouldProgram(); + + /** + * Returns shouldProgram local cache. + * + * @return shouldProgram local cache + */ + Map<DeviceId, Boolean> getShouldProgramCache(); }