X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=policy-agent%2FREADME.md;h=6077a4b61bbe35be83160cb1d08e41f168b235b1;hb=f3461cb776023b950d62edd25eca148b6d354c9c;hp=be04907353c8beaab0d0ade7e5b51f93c0226242;hpb=b47a7130c10bef2bf812366ca971e4eaa938b152;p=nonrtric.git diff --git a/policy-agent/README.md b/policy-agent/README.md index be049073..6077a4b6 100644 --- a/policy-agent/README.md +++ b/policy-agent/README.md @@ -1,17 +1,25 @@ # O-RAN-SC NonRT RIC Dashboard Web Application -The O-RAN NonRT RIC PolicyAgent provides a REST API for management of -policices. It provides support for --Policy configuration. This includes - -One REST API towards all RICs in the network - -Query functions that can find all policies in a RIC, all policies owned by a service (R-APP), all policies of a type etc. - -Maps O1 resources (ManagedElement) as defined in O1 to the controlling RIC --Supervision of clients (R-APPs) to eliminate stray policies in case of failure --Consistency monitoring of the SMO view of policies and the actual situation in the RICs --Consistency monitoring of RIC capabilities (policy types) - -The agent can be run stand alone in a simulated test mode. Then it -simulates RICs. +The O-RAN NonRT RIC PolicyAgent provides a REST API for management of policices. +It provides support for: + -Supervision of clients (R-APPs) to eliminate stray policies in case of failure + -Consistency monitoring of the SMO view of policies and the actual situation in the RICs + -Consistency monitoring of RIC capabilities (policy types) + -Policy configuration. This includes: + -One REST API towards all RICs in the network + -Query functions that can find all policies in a RIC, all policies owned by a service (R-APP), + all policies of a type etc. + -Maps O1 resources (ManagedElement) as defined in O1 to the controlling RIC + +To Run Policy Agent in Local: +In the folder /opt/app/policy-agent/config/, create a soft link with below command, +ln -s application_configuration.json + +To Run Policy Agent in Local with the DMaaP polling turned on: +In the folder /opt/app/policy-agent/config/, create a soft link with below command, +ln -s application_configuration.json + +The agent can be run stand alone in a simulated test mode. Then it simulates RICs. The REST API is published on port 8081 and it is started by command: mvn -Dtest=MockPolicyAgent test