Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Move RefreshConfigTask under tasks"
[nonrtric.git]
/
policy-agent
/
src
/
main
/
java
/
org
/
oransc
/
policyagent
/
repository
/
Ric.java
diff --git
a/policy-agent/src/main/java/org/oransc/policyagent/repository/Ric.java
b/policy-agent/src/main/java/org/oransc/policyagent/repository/Ric.java
index
82d84f1
..
235ee1a
100644
(file)
--- a/
policy-agent/src/main/java/org/oransc/policyagent/repository/Ric.java
+++ b/
policy-agent/src/main/java/org/oransc/policyagent/repository/Ric.java
@@
-32,7
+32,7
@@
import org.oransc.policyagent.configuration.RicConfig;
*/
public class Ric {
private final RicConfig ricConfig;
*/
public class Ric {
private final RicConfig ricConfig;
- private RicState state = RicState.
NOT_INITIAT
ED;
+ private RicState state = RicState.
UNDEFIN
ED;
private Map<String, PolicyType> supportedPolicyTypes = new HashMap<>();
/**
private Map<String, PolicyType> supportedPolicyTypes = new HashMap<>();
/**
@@
-150,16
+150,16
@@
public class Ric {
*/
public static enum RicState {
/**
*/
public static enum RicState {
/**
- * The
Ric has not been initiated yet.
+ * The
agent view of the agent may be inconsistent
*/
*/
-
NOT_INITIAT
ED,
+
UNDEFIN
ED,
/**
/**
- * The
Ric is working fine
.
+ * The
normal state. Policies can be configured
.
*/
*/
-
ACTIV
E,
+
IDL
E,
/**
/**
- * The Ric
cannot be contacted.
+ * The Ric
states are recovered
*/
*/
-
NOT_REACHABLE,
RECOVERING
+ RECOVERING
}
}
}
}