X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=policy-agent%2Fsrc%2Fmain%2Fjava%2Forg%2Foransc%2Fpolicyagent%2Frepository%2FRic.java;h=235ee1ab9e116ecb1c3491bb2d8c99968610837b;hb=fb4bc7967a4733d10775351440a3af14327d5f20;hp=82d84f1271e50aaa8ee5ef4df806e96e56f4b4a8;hpb=637540bc28fbf337e0c4c58c051a6b4f7ceb321d;p=nonrtric.git 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 82d84f12..235ee1ab 100644 --- 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; - private RicState state = RicState.NOT_INITIATED; + private RicState state = RicState.UNDEFINED; private Map supportedPolicyTypes = new HashMap<>(); /** @@ -150,16 +150,16 @@ public class Ric { */ public static enum RicState { /** - * The Ric has not been initiated yet. + * The agent view of the agent may be inconsistent */ - NOT_INITIATED, + UNDEFINED, /** - * The Ric is working fine. + * The normal state. Policies can be configured. */ - ACTIVE, + IDLE, /** - * The Ric cannot be contacted. + * The Ric states are recovered */ - NOT_REACHABLE, RECOVERING + RECOVERING } }