The Traffic Steering (TS) xApp is a specialized tool designed for the OAIC O-RAN testbed. Its primary purpose is to efficiently manage and optimize traffic flow within cellular networks. By utilizing real-time metrics and adhering to dynamic policies, this xApp ensures optimal network performance by making informed decisions about user equipment (UE) handovers between cells. This xApp can be onboarded through the xApp Onboarder.
- Interface Integration:
- Direct RAN communication and real-time metric acquisition through E2 Interface interactions.
- Health Check Operations:
- Includes RMR, E2, A1 and SDL health checks.
- KPIMON xApp Integration:
- Responsible for collecting RAN metrics and writing to InfluxDB.
- Dynamic Policy Management:
- Adapts traffic steering policies in response to real-time updates from the A1 interface.
- Load Balancing:
- Redistributes UEs to achieve balanced load across cells when overload is detected.
- UE Profiling:
- Captures detailed profiles for each UE, including attributes like ID, cell, priority, type, origin, signal strength, and throughput.
- InfluxDB Integration:
- Logs metrics and policies for historical data analysis and visualization with tools like Grafana.
- Flask API Support:
- Enables external xApps to dynamically push or modify policies, supporting ML/RL/DRL plugins.
- Scalability:
- Accommodates a growing number of UEs and cells while maintaining efficiency.
- Modular Design:
- Allows for easy integration of future features.
- Installation of OAIC and SRSRAN.
- Setup of multiple UEs with initiated network traffic flow.
- KPImon xApp running in the environment.
Start with root permission and:
- Execute the RIC installation:
chmod +x ./ricinstallation.sh ./ricinstallation.sh
- move ssrsran script to oaic folder and Start SRSRAN:
chmod +x srsrandeploy.sh ./srsrandeploy.sh After this step you should run the below command and see 14 pods sudo kubectl get pods -A
- Execute KPImon-xApp in oaic folder:
chmod +x kpimon.sh ./kpimon.sh
- Clone TS xApp fro the below repo
git clone https://github.com/natanzi/ts-xapp
- Go to ts-xapp folder and run it:
chmod +x ts-xapp.sh ./ts-xapp.sh
- Open the below address in your browser to see the ts-xapp dashboard and grafana:
http://localhost:5001/ http://localhost:3000/
- To remove the ts-xapp:
chmod +x del-tsxapp.sh ./del-tsxapp.sh
Note:
To redeploy the xApp on the near-RT RIC side, run:
sudo kubectl -n ricxapp rollout restart deployment ricxapp-ts-xappTo undeploy the xApp, first retrieve the IP address of the App Manager:
export APPMGR_HTTP=`sudo kubectl get svc -n ricplt --field-selector metadata.name=service-ricplt-appmgr-http -o jsonpath='{.items[0].spec.clusterIP}'` curl -L -X DELETE http://${APPMGR_HTTP}:8080/ric/v1/xapps/ts-xappTo remove the xApp descriptors from the Chart Museum, execute:
curl -L -X DELETE "http://${ONBOARDER_HTTP}:8080/api/charts/ts-xapp/1.0.0"
To delete a Docker image
sudo docker rmi -f xApp-registry.local:5008/ts-xapp:1.0.0To see the Docker image
docker images
get the name of the pod where your container is running: kubectl get pods -n ricxapp
need to know the container's name or ID? docker ps
to run commands inside the container docker exec -it /bin/bash
We welcome your contributions to enhance this xApp! Feel free to fork the repository and submit a pull request with your improvements.