commit | 8d3cad223666f1073ccb99c7cdf8c16e8c346c66 | [log] [tgz] |
---|---|---|
author | Seyeon Jeong <seyeon@opennetworking.org> | Fri Feb 28 01:17:34 2020 -0800 |
committer | Charles Chan <charles@opennetworking.org> | Fri Jun 19 04:38:39 2020 +0000 |
tree | b45b192505a869a74a444741f51cd89dd27a28ef | |
parent | fbc71d9cff990636017b986804f4ca067418086e [diff] [blame] |
[AETHER-76] Impelentation of a new Trellis Troubleshoot Tool (T3) for offline mode - For the performance improvement, T3 offline mode uses snapshots of the network states called Network Information Base (NIB) instead of runtime interactions with ONOS core during troubleshooting a Trellis system. - Partially tested with some mininet topos for trellis (https://github.com/opennetworkinglab/routing/tree/master/trellis). - Usage instruction docs (https://docs.trellisfabric.org/troubleshooting.html). Change-Id: Ice608f77aa96bfbcadfff34991c4a1b6d93125b6 (cherry picked from commit eaa6329aba67c2577fdca7d3ddf230611e82f9f7)
diff --git a/apps/t3/app/src/main/java/org/onosproject/t3/api/TroubleshootService.java b/apps/t3/app/src/main/java/org/onosproject/t3/api/TroubleshootService.java index a21baf5..9838e04 100644 --- a/apps/t3/app/src/main/java/org/onosproject/t3/api/TroubleshootService.java +++ b/apps/t3/app/src/main/java/org/onosproject/t3/api/TroubleshootService.java
@@ -83,4 +83,17 @@ * @return a list of trace result */ List<Set<StaticPacketTrace>> getMulitcastTrace(VlanId vlanId); + + /** + * Checks the availability of all NIBs of the manager. + * + * @return true if any NIB objects is unavailable + */ + boolean checkNibsUnavailable(); + + /** + * Applies created NIBs to the manager. + */ + void applyNibs(); + }