Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
VM Minimum Requirements for RIC |
---|
NoteNOTE: sudo access is required for installation Getting Started PDF |
Step 1: Obtaining the Deployment Scripts and Charts |
---|
NoteNOTE: cd to your directory where installation will be, i.e. /home/user Run ... $ git clone http://gerrit.o-ran-sc.org/r/it/dep $ cd dep |
Step 2: Generation of cloud-init Script |
---|
Run ...$ sudo -i |
Step 3: Update Version Combination |
---|
Run ... $ ../etc |
Step 4: Installation of Kubernetes, Helm, Docker, etc. |
---|
Run ... $ ./k8s-1node-cloud-init-k_1_16-h_2_12-d_cur.sh NOTE: Upon completion of this script, the VM will be rebooted. You will then need to login once again! Do not forget to "sudo -i" $ kubectl get pods --all-namespace # There should be 8 or 9 pods running in kube-system namespace. |
Step 5: Deploy RIC using Recipe |
---|
Run ... $ cd dep/bin |
Step 6: Onboarding an xAPP |
---|
Run... $ cd dep Create file that will contain the URL used to start the on-boarding process... echo '{ "config-file.json_url": "https://gerrit.o-ran-sc.org/r/gitweb?p=ric-app/hw.git;a=blob_plain;f=init/config-file.json;hb=HEAD" }' > onboard.hw.url Start on-boarding process... curl --location --request POST "http://$(hostname):32080/onboard/api/v1/onboard/download" --header 'Content-Type: application/json' --data-binary "@./onboard.hw.url" NOTE: Message "Created" message onwill b e displayed upon completion
|
Step 7: Deploy Test xApp (HelloWorld xApp) |
---|
Run.. # Verify xApp is not running... $ kubectl get pods -n ricxapp # Call xApp Manager to deploy HelloWorld xApp... $ curl --location --request POST "http://$(hostname):32080/appmgr/ric/v1/xapps" --header 'Content-Type: application/json' --data-raw '{"xappName": "hwxapp"}' # # Verify xApp is running... $ kubectl get pods -n ricxapp # # View logs... $ kubectl logs -n ricxapp <name of POD retrieved from statement above> |
Helpful Hints |
---|
Kubectl commads: kubectl get pods -n nampespace - gets a list of Pods running kubectl get logs -n namespace name_of_running_pod |
Complete these tasks to get started
Recent space activity
Recently Updated | ||||||||
---|---|---|---|---|---|---|---|---|
|
Space contributors
Contributors | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|