Packages for deploying the following are stored in the folder
- OAI RAN custom controller
- OAI CU-CP
- OAI CU-UP
- OAI DU
- OAI UE SIM
- Network for RAN and Core deployments
- Workload cluster for RAN and Core deployments
PackageVariant and PackageVariantSets for deploying OAI RAN are also stored in this folder.
Note: Scripts to automatically deploy OAI RAN on Nephio, will be available here: https://github.com/nephio-project/test-infra/tree/main/e2e/tests/oai
-
Nephio should be installed.
-
Verify Network required for OAI RAN and Core should should be installed. Perform the following to verify in the Nephio management cluster.
-
Catalog repository need to be registered. Since the OAI RAN packages are in workloads/oai of https://github.com/nephio-project/catalog.git repository, we need to register the repository with --directory option
e.g. kpt alpha repo register --namespace default https://github.com/nephio-project/catalog.git --directory=workloads/oai
Also the following tags need to be created for upstream repository(https://github.com/nephio-project/catalog.git) used:
- workloads/oai/oai-ran-operator/v1
- workloads/oai/pkg-example-cucp-bp/v1
- workloads/oai/pkg-example-cuup-bp/v1
- workloads/oai/pkg-example-du-bp/v1
- workloads/oai/pkg-example-ue-bp/v1
kubectl get networks
Verify output as shown below.
NAME REPO_STATUS
vpc-cu-e1-srl True
vpc-cudu-f1-srl True
vpc-internal-srl True
vpc-internet-srl True
vpc-ran-srl True
- OAI core components should be deployed before deploying OAI RAN. Steps are mentioned here: https://github.com/OPENAIRINTERFACE/oai-packages/blob/r2/README.md
Execute the command as shown below in Nephio Management cluster
kubectl apply -f package-variants/oai-ran-operator.yaml
Check OAI RAN operators pods are in running state in all clusters.
kubectl get pods -n oai-ran-operators
Deploy OAI CU CP using the below command in Nephio Management cluster
kubectl apply -f package-variants/oai-cucp.yaml
Check OAI CU CP pod is in running state in regional cluster.
kubectl get pods -n oai-ran-cucp
Deploy OAI CU UP using the below command in Nephio Management cluster
kubectl apply -f package-variants/oai-cuup.yaml
Check OAI CU UP pod is in running state in edge cluster.
kubectl get pods -n oai-ran-cuup
Deploy OAI DU using the below command in Nephio Management cluster
kubectl apply -f package-variants/oai-du.yaml
Check OAI DU pod is in running state in edge cluster.
kubectl get pods -n oai-ran-du