diff --git a/content/en/docs/guides/user-guides/exercise-2-oai.md b/content/en/docs/guides/user-guides/exercise-2-oai.md index edb11cb5..a1a08954 100644 --- a/content/en/docs/guides/user-guides/exercise-2-oai.md +++ b/content/en/docs/guides/user-guides/exercise-2-oai.md @@ -711,25 +711,106 @@ The output is similar to: 9496.571150 [GNB_APP] I [gNB 0] Received NGAP_REGISTER_GNB_CNF: associated AMF 1 ``` +### Check Stats via telnet Module +Make sure you have installed `netcat`. +```bash +sudo apt update && sudo apt install netcat +``` + +```bash +TELNET_IP=$(kubectl get svc oai-gnb-du-telnet-lb -n oai-ran-du --context edge-admin@edge -o=jsonpath='{.status.loadBalancer.ingress[0].ip}') +echo o1 stats | nc -N $TELNET_IP 9090 +``` + +
+The output is similar to: + +```console +{ + "o1-config": { + "BWP": { + "dl": [{ + "bwp3gpp:isInitialBwp": true, + "bwp3gpp:numberOfRBs": 51, + "bwp3gpp:startRB": 0, + "bwp3gpp:subCarrierSpacing": 30 + }], + "ul": [{ + "bwp3gpp:isInitialBwp": true, + "bwp3gpp:numberOfRBs": 51, + "bwp3gpp:startRB": 0, + "bwp3gpp:subCarrierSpacing": 30 + }] + }, + "NRCELLDU": { + "nrcelldu3gpp:ssbFrequency": 630048, + "nrcelldu3gpp:arfcnDL": 629436, + "nrcelldu3gpp:bSChannelBwDL": 20, + "nrcelldu3gpp:arfcnUL": 629436, + "nrcelldu3gpp:bSChannelBwUL": 20, + "nrcelldu3gpp:nRPCI": 0, + "nrcelldu3gpp:nRTAC": 1, + "nrcelldu3gpp:mcc": "001", + "nrcelldu3gpp:mnc": "01", + "nrcelldu3gpp:sd": 16777215, + "nrcelldu3gpp:sst": 1 + }, + "device": { + "gnbId": 3584, + "gnbName": "du-rfsim", + "vendor": "OpenAirInterface" + } + }, + "O1-Operational": { + "frame-type": "tdd", + "band-number": 78, + "num-ues": 0, + "ues": [ ], + "load": 0, + "ues-thp": [ + ] + } +} +OK +``` +
+Notice the block `O1-Operational` you will see the number of connected UEs, present load at the gNB and the DL/UL RLC `throughput` in `Kbps`. -## Step 7: Deploy UE +## Step 7: Deploy UE (20 Mhz) If all three links are configured then you can proceed with deploying the UE `PackageVariants` ```bash -kubectl create -f test-infra/e2e/tests/oai/005-ue.yaml +kubectl apply -f - < +The output is similar to: + +```console + { + "o1-config": { + "BWP": { + "dl": [{ + "bwp3gpp:isInitialBwp": true, + "bwp3gpp:numberOfRBs": 106, + "bwp3gpp:startRB": 0, + "bwp3gpp:subCarrierSpacing": 30 + }], + "ul": [{ + "bwp3gpp:isInitialBwp": true, + "bwp3gpp:numberOfRBs": 106, + "bwp3gpp:startRB": 0, + "bwp3gpp:subCarrierSpacing": 30 + }] + }, + "NRCELLDU": { + "nrcelldu3gpp:ssbFrequency": 641280, + "nrcelldu3gpp:arfcnDL": 640008, + "nrcelldu3gpp:bSChannelBwDL": 40, + "nrcelldu3gpp:arfcnUL": 640008, + "nrcelldu3gpp:bSChannelBwUL": 40, + "nrcelldu3gpp:nRPCI": 0, + "nrcelldu3gpp:nRTAC": 1, + "nrcelldu3gpp:mcc": "001", + "nrcelldu3gpp:mnc": "01", + "nrcelldu3gpp:sd": 16777215, + "nrcelldu3gpp:sst": 1 + }, + "device": { + "gnbId": 3584, + "gnbName": "du-rfsim", + "vendor": "OpenAirInterface" + } + }, + "O1-Operational": { + "frame-type": "tdd", + "band-number": 78, + "num-ues": 0, + "ues": [ ], + "load": 0, + "ues-thp": [ + ] + } +} +``` + + +You can see `nrcelldu3gpp:bSChannelBwUL` as 40. + +Note: Sometimes, It might happen that the Bandwidth doesn't reconfigure (to 40) after running the telnet-commands. If that's the case, re-run the telnet-commands. + + +### Reconnect UE (40 Mhz) +```bash +kubectl apply -f - <