X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=README.md;h=e096edd21fdeb6a3c6665a946c3ba34f776fbf42;hb=dc8c3ae78ee915d202e794c4eb012211761352a7;hp=3f1d800ba0264c7e1b66773333c02ac1399146b2;hpb=727cefb2889f78571bfc655359e03bf20227381c;p=ric-app%2Frc.git diff --git a/README.md b/README.md index 3f1d800..e096edd 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,36 @@ This repository contains the source for sending RIC control Msg to RAN/E2 Node This xApp can be onboarded through the xApp Onboarder. The xapp descriptor is under the xapp-descriptor/ directory. -Then the xapp can be deployed through the App Manager. +Then the xapp can be deployed through the App Manager. +Procedure to Onboard the xapp is given in installation guide, in docs folder GRPC communication can be tested using the grpccurl command + + +In the current implementation, timer is started after initiating Control Request to E2Node. So timer expiry errors will be seen in logs w.r.t. Control Resp. +As control ACK is not handled this error can be ignored + +Steps to onboard the xapp + 1)echo '{ "config-file.json_url": "https://gerrit.o-ran-sc.org/r/gitweb?p=ric-app/rc.git;a=blob_plain;f=xapp-descriptor/config.json;hb=HEAD","controls-schema.json_url": "https://gerrit.o-ran-sc.org/r/gitweb?p=ric-app/rc.git;a=blob_plain;f=xapp-descriptor/schema.json;hb=HEAD" }' > onboard.rc.url + +2)Onboard the rc xapp using the below command : + $curl --location --request POST "http://$(hostname):32080/onboard/api/v1/onboard/download" --header 'Content-Type: application/json' --data-binary "@./onboard.rc.url" + + After this command: xapp should be created + Eg: + $curl --location --request POST "http://$(hostname):32080/onboard/api/v1/onboard/download" --header 'Content-Type: application/json' --data-binary "@./onboard.rc.url" + { + "status": "Created" + } + 3)Deploying the xapp: + Eg: + $curl --location --request POST "http://$(hostname):32080/appmgr/ric/v1/xapps" --header 'Content-Type: application/json' --data-raw '{"xappName": "rc"}' + { + "instances":null,"name":"rc","status":"deployed","version":"1.0" + } + + after this step the xapp should be in running state + + ricxapp ricxapp-rc-5ccdcc9f6f-ktq7w 1/1 Running 0 88m + + 4) restart rtMgr so rmr is ready