modified installation guide 69/7269/1
authorrajalakshmisv <rajalakshmisv@gmail.com>
Wed, 8 Dec 2021 06:37:23 +0000 (06:37 +0000)
committerrajalakshmisv <rajalakshmisv@gmail.com>
Wed, 8 Dec 2021 06:38:12 +0000 (06:38 +0000)
Signed-off-by: rajalakshmisv <rajalakshmisv@gmail.com>
Change-Id: I839238290f3137ee0781a1fbd828e45e35a2bb12

docs/installation-guide.rst

index eb6623f..253c336 100644 (file)
@@ -14,25 +14,22 @@ Installation
 ------------
 
 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" }' > onboard_rc.url
+ 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)edit onboard_rc.url to include controls-schema.json file as shown below
-        { "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" }
-
- 3)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"  
+ 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"
+       curl --location --request POST "http://$(hostname):32080/onboard/api/v1/onboard/download"      --header 'Content-Type: application/json' --data-binary "@./onboard.rc.url"
        {
            "status": "Created"
        }
4)Deploying the xapp:
3)Deploying the xapp:
          curl --location --request POST "http://$(hostname):32080/appmgr/ric/v1/xapps" --header 'Content-Type: application/json' --data-raw '{"xappName": "rc"}' 
 
          after this step the xapp should be in running state
+
          ricxapp       ricxapp-rc-5ccdcc9f6f-ktq7w                                  1/1     Running     0          88m
         
5) restart rtMgr so rmr is ready 
4) restart rtMgr so rmr is ready