Started refactoring Intent Manager
Introduced IntentData and reworked APIs
Change-Id: I1fa437ceb1b72c4017ac2da1573bfbeb64c0632a
diff --git a/core/api/src/main/java/org/onosproject/net/intent/IntentState.java b/core/api/src/main/java/org/onosproject/net/intent/IntentState.java
index e4d7423..73b337c 100644
--- a/core/api/src/main/java/org/onosproject/net/intent/IntentState.java
+++ b/core/api/src/main/java/org/onosproject/net/intent/IntentState.java
@@ -30,7 +30,7 @@
* Intents will also pass through this state when they are updated.
* </p>
*/
- INSTALL_REQ,
+ INSTALL_REQ, // TODO submit_REQ?
/**
* Signifies that the intent is being compiled into installable intents.
@@ -66,7 +66,7 @@
* previously failed to be installed.
* </p>
*/
- RECOMPILING,
+ RECOMPILING, // TODO perhaps repurpose as BROKEN.
/**
* Indicates that an application has requested that an intent be withdrawn.
@@ -92,5 +92,5 @@
* Signifies that the intent has failed compiling, installing or
* recompiling states.
*/
- FAILED
+ FAILED //TODO consider renaming to UNSAT.
}