commit | 4b19ef4f1f44f9d25de49463783ebee19f754047 | [log] [tgz] |
---|---|---|
author | rajalakshmisv <rajalakshmisv@gmail.com> | Fri Jul 01 09:41:19 2022 +0000 |
committer | rajalakshmisv <rajalakshmisv@gmail.com> | Fri Jul 01 09:42:37 2022 +0000 |
tree | c3f26e8308048abfa1a3475a3e64779cc925636e | |
parent | 37ead4a3d922128b69c7fe1c6399ab4021d1309c [diff] |
relaese tag updated to 1.0.3 Signed-off-by: rajalakshmisv <rajalakshmisv@gmail.com> Change-Id: Iab00a680c4b89a7ae91bc1ec3710907654ebb6d5
================================================================================== Copyright (c) 2020 AT&T Intellectual Property.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
This repository contains the source for sending RIC control Msg to RAN/E2 Node based on the GRPC control request received from other xapps
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. 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