Improvements of roadm application:
1.Fix the bug of Treating path index as port number for APS;
2.Creating APS switching operations dynamically, instead of hard code;
3.Change APS interface for general using;
4.Compatible test base on the devices of OPENFLOW and NETCONF protocol.
Change-Id: Ib750d40ed28fc184a96b58e97715beab3d80ff17
diff --git a/apps/roadm/src/main/java/org/onosproject/roadm/RoadmUtil.java b/apps/roadm/src/main/java/org/onosproject/roadm/RoadmUtil.java
index 22e1791..3aef552 100644
--- a/apps/roadm/src/main/java/org/onosproject/roadm/RoadmUtil.java
+++ b/apps/roadm/src/main/java/org/onosproject/roadm/RoadmUtil.java
@@ -31,6 +31,11 @@
public static final String NA = "N/A";
public static final String UNKNOWN = "Unknown";
public static final String NO_ROWS_MESSAGE = "No items found";
+ // Optical protection switch operations.
+ // There are 3 operations for protection switch now: AUTOMATIC, FORCE, MANUAL.
+ public static final String OPS_OPT_AUTO = "AUTOMATIC";
+ public static final String OPS_OPT_FORCE = "FORCE";
+ public static final String OPS_OPT_MANUAL = "MANUAL";
private RoadmUtil() {
}