Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Run docker container using this command: 
    docker run -p 8081:8081 --network=nonrtric-docker-net --name=policy-agent-container o-ran-sc/nonrtric-policy-agent:1.0.0-SNAPSHOT

A1 Client selection

After starting policy-agent, it establishes connections to all configured NearRT-RICs. Policy-agent has multiple A1 clients to select and selection is done dynamically based on connectivity. Selection of A1 client is not clearly visible for user and poli-agent logs can be grepped to see which client was selected.

E.g. here's 2 example grepping where either SDNC A1 client or STD A1 client was selected i.e. option A and B on the Testing End to End call in release A page.

Code Block
languagebash
titleSDNC A1 Client
$ docker logs policy-agent | grep ", protocol version:"
2020-03-30 05:33:21.765 DEBUG 1 --- [or-http-epoll-2] o.o.policyagent.clients.A1ClientFactory  : Recover ric: ric2, protocol version:SDNC_OSC
2020-03-30 05:33:21.784 DEBUG 1 --- [or-http-epoll-1] o.o.policyagent.clients.A1ClientFactory  : Recover ric: ric1, protocol version:SDNC_OSC


Code Block
languagebash
titleSTD A1 Client
$ docker logs policy-agent | grep ", protocol version:"
2020-04-03 12:06:54.548 DEBUG 1 --- [or-http-epoll-1] o.o.policyagent.clients.A1ClientFactory  : Recover ric: ric1, protocol version:STD_V1
2020-04-03 12:06:54.552 DEBUG 1 --- [or-http-epoll-2] o.o.policyagent.clients.A1ClientFactory  : Recover ric: ric2, protocol version:STD_V1

Run Non-RT-RIC Dashboard Docker Container

...