Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix startup
[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
bfd8ef6
..
ffe493d
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
@@
-20,8
+20,8
@@
package org.oransc.policyagent.repository;
package org.oransc.policyagent.repository;
+import java.util.Vector;
import org.oransc.policyagent.configuration.RicConfig;
import org.oransc.policyagent.configuration.RicConfig;
-import org.oransc.policyagent.repository.Ric.RicState;
/**
* Represents the dynamic information about a NearRealtime-RIC.
/**
* Represents the dynamic information about a NearRealtime-RIC.
@@
-51,6
+51,15
@@
public class Ric {
state = newState;
}
state = newState;
}
+ /**
+ * Gets the nodes managed by this Ric.
+ *
+ * @return a vector containing the nodes managed by this Ric.
+ */
+ public Vector<String> getManagedNodes() {
+ return ricConfig.managedElementIds();
+ }
+
/**
* Determines if the given node is managed by this Ric.
*
/**
* Determines if the given node is managed by this Ric.
*