Implement PowerConfig for Oplink Devices
Change-Id: I939126580f8d3cdcdbcd9a46f6ee5cacbd25051d
diff --git a/core/api/src/main/java/org/onosproject/net/AnnotationKeys.java b/core/api/src/main/java/org/onosproject/net/AnnotationKeys.java
index 00efb4a..4235ed1 100644
--- a/core/api/src/main/java/org/onosproject/net/AnnotationKeys.java
+++ b/core/api/src/main/java/org/onosproject/net/AnnotationKeys.java
@@ -15,6 +15,8 @@
*/
package org.onosproject.net;
+import com.google.common.annotations.Beta;
+
/**
* Collection of keys for annotation.
* <p>
@@ -110,6 +112,18 @@
public static final String STATIC_LAMBDA = "staticLambda";
/**
+ * Annotation key for optical port's target power.
+ */
+ @Beta
+ public static final String TARGET_POWER = "targetPower";
+
+ /**
+ * Annotation key for optical port's current power.
+ */
+ @Beta
+ public static final String CURRENT_POWER = "currentPower";
+
+ /**
* Annotation key for the static port.
*/
public static final String STATIC_PORT = "staticPort";