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=fb2e4b92979b04fdf8c8ab482713f8a422922778;hb=6a39814272307d0207222c9229b0d765ac062bf0;hp=0242b90f841d7769320ead45d6e891b410186261;hpb=4f602854561a08e754eb0c4ba9327bf49b0e63d7;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 0242b90f..fb2e4b92 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,13 +32,13 @@ import org.oransc.policyagent.clients.A1Client.A1ProtocolType; import org.oransc.policyagent.configuration.RicConfig; /** - * Represents the dynamic information about a NearRealtime-RIC. + * Represents the dynamic information about a Near-RT RIC. */ public class Ric { @Setter private RicConfig ricConfig; - private RicState state = RicState.UNDEFINED; + private RicState state = RicState.UNAVAILABLE; private Map supportedPolicyTypes = new HashMap<>(); @Getter @Setter @@ -144,14 +144,19 @@ public class Ric { /** * The agent view of the Ric may be inconsistent. */ - UNDEFINED, + UNAVAILABLE, /** * The normal state. Policies can be configured. */ - IDLE, + AVAILABLE, /** * The agent is synchronizing the view of the Ric. */ - SYNCHRONIZING + SYNCHRONIZING, + + /** + * A consistency check between the agent and the Ric is done + */ + CONSISTENCY_CHECK } }