This repository contains source code for k8s custom operator for OpenAirInterface RAN functions (CU-CP, CU-UP, DU) which can be deployed in Nephio.
The operator is currently common for all the RAN functions (CU-CP, CU-UP, DU).
The operator listens to the NFDeployment CRD. The operator decides which Network function the CR is intended for based on the Provider field in the NFDeplymentSpec
. The operator retrieves the custom configuration required for the Network function from the NFConfig CR.
Here is an example for the NfDeployment CR for CU-CP. The CR also contains the reference to custom configuration NFConfig CR as part of the parametersRefs.
The KPT package used for deploying the RAN operator is located in the nephio/catalog repository.
The KPT packages for deploying the RAN Network functions (CU-CP, CU-UP, DU) are located in the catalog repository.
Note:
- The CR is only the initial CR and it will get specialized by Nephio and more fields will added before the CR is applied in the cluster.
- Dynamic updates of the NFdeployment CR is currently not supported by the operator.
The directory structure of this repository is as follows:
.
├── Dockerfile
├── LICENSE
├── Makefile
├── OWNERS
├── README.md
├── api
│ └── v1alpha1
│ ├── oai_ran_nf_types.go
│ ├── plmn_types.go
│ └── ranconfig_types.go
├── cmd
│ └── main.go
├── go.mod
├── go.sum
└── internal
└── controller
├── helper.go
├── helper_test.go
├── interface_configs.go
├── mock_Client_test.go
├── mock_NfResource_test.go
├── network_attachment_defination_test.go
├── network_attachment_definitions.go
├── randeployment_controller.go
├── randeployment_controller_test.go
├── resources_cucp.go
├── resources_cucp_test.go
├── resources_cuup.go
├── resources_cuup_test.go
├── resources_du.go
├── resources_du_test.go
└── templates.go
The document contains details on how to deploy the controllers and the RAN Network functions using Nephio.
To know more about the OpenAirInterface project checkout their website.