From 44d49bb87b04109e8f0a24d82591473f283e1233 Mon Sep 17 00:00:00 2001 From: infidel Date: Sun, 16 Apr 2023 13:59:21 +0700 Subject: [PATCH] Update April --- .../basic-no-nrf/mysql-deployment.yaml | 2 + .../basic-no-nrf/oai-amf-deployment.yaml | 2 + .../basic-no-nrf/oai-ausf-deployment.yaml | 2 + .../basic-no-nrf/oai-ext-dn-deployment.yaml | 2 + .../basic-no-nrf/oai-smf-deployment.yaml | 2 + .../basic-no-nrf/oai-spgwu-deployment.yaml | 2 + .../basic-no-nrf/oai-udm-deployment.yaml | 2 + .../basic-no-nrf/oai-udr-deployment.yaml | 2 + deployments/forced/gnb-cu-01.yaml | 99 ++++++ deployments/forced/gnb-du-01.yaml | 99 ++++++ .../src/.gnb_access_deployment.yaml.swp | Bin 0 -> 12288 bytes deployments/src/.template_deployment.yaml.swp | Bin 0 -> 12288 bytes .../src/.template_ue_deployment.yaml.swp | Bin 0 -> 12288 bytes deployments/src/gnb_access_deployment.yaml | 2 +- deployments/src/template_deployment.yaml | 70 ++-- deployments/src/template_ue_deployment.yaml | 2 +- deployments/src/template_ueweb.yaml | 309 ++++++++++++++++++ deployments/trainee/gnb-cu-01.yaml | 70 ++-- deployments/trainee/gnb-cu-02.yaml | 70 ++-- deployments/trainee/gnb-cu-03.yaml | 70 ++-- deployments/trainee/gnb-cu-04.yaml | 99 ++++++ deployments/trainee/gnb-cu-05.yaml | 99 ++++++ deployments/trainee/gnb-cu-06.yaml | 99 ++++++ deployments/trainee/gnb-cu-07.yaml | 99 ++++++ deployments/trainee/gnb-cu-08.yaml | 99 ++++++ deployments/trainee/gnb-cu-09.yaml | 99 ++++++ deployments/trainee/gnb-cu-10.yaml | 99 ++++++ deployments/trainee/gnb-cu-11.yaml | 99 ++++++ deployments/trainee/gnb-cu-12.yaml | 99 ++++++ deployments/trainee/gnb-cu-13.yaml | 99 ++++++ deployments/trainee/gnb-cu-14.yaml | 99 ++++++ deployments/trainee/gnb-cu-15.yaml | 99 ++++++ deployments/trainee/gnb-cu-16.yaml | 99 ++++++ deployments/trainee/gnb-cu-17.yaml | 99 ++++++ deployments/trainee/gnb-cu-18.yaml | 99 ++++++ deployments/trainee/gnb-cu-19.yaml | 99 ++++++ deployments/trainee/gnb-cu-20.yaml | 99 ++++++ deployments/trainee/gnb-cu-21.yaml | 99 ++++++ deployments/trainee/gnb-du-01.yaml | 70 ++-- deployments/trainee/gnb-du-02.yaml | 70 ++-- deployments/trainee/gnb-du-03.yaml | 70 ++-- deployments/trainee/gnb-du-04.yaml | 99 ++++++ deployments/trainee/gnb-du-05.yaml | 99 ++++++ deployments/trainee/gnb-du-06.yaml | 99 ++++++ deployments/trainee/gnb-du-07.yaml | 99 ++++++ deployments/trainee/gnb-du-08.yaml | 99 ++++++ deployments/trainee/gnb-du-09.yaml | 99 ++++++ deployments/trainee/gnb-du-10.yaml | 99 ++++++ deployments/trainee/gnb-du-11.yaml | 99 ++++++ deployments/trainee/gnb-du-12.yaml | 99 ++++++ deployments/trainee/gnb-du-13.yaml | 99 ++++++ deployments/trainee/gnb-du-14.yaml | 99 ++++++ deployments/trainee/gnb-du-15.yaml | 99 ++++++ deployments/trainee/gnb-du-16.yaml | 99 ++++++ deployments/trainee/gnb-du-17.yaml | 99 ++++++ deployments/trainee/gnb-du-18.yaml | 99 ++++++ deployments/trainee/gnb-du-19.yaml | 99 ++++++ deployments/trainee/gnb-du-20.yaml | 99 ++++++ deployments/trainee/gnb-du-21.yaml | 99 ++++++ deployments/trainee/gnb-ue-01.yaml | 2 +- deployments/trainee/gnb-ue-02.yaml | 2 +- deployments/trainee/gnb-ue-03.yaml | 2 +- deployments/trainee/gnb-ue-04.yaml | 81 +++++ deployments/trainee/gnb-ue-05.yaml | 81 +++++ deployments/trainee/gnb-ue-06.yaml | 81 +++++ deployments/trainee/gnb-ue-07.yaml | 81 +++++ deployments/trainee/gnb-ue-08.yaml | 81 +++++ deployments/trainee/gnb-ue-09.yaml | 81 +++++ deployments/trainee/gnb-ue-10.yaml | 81 +++++ deployments/trainee/gnb-ue-11.yaml | 81 +++++ deployments/trainee/gnb-ue-12.yaml | 81 +++++ deployments/trainee/gnb-ue-13.yaml | 81 +++++ deployments/trainee/gnb-ue-14.yaml | 81 +++++ deployments/trainee/gnb-ue-15.yaml | 81 +++++ deployments/trainee/gnb-ue-16.yaml | 81 +++++ deployments/trainee/gnb-ue-17.yaml | 81 +++++ deployments/trainee/gnb-ue-18.yaml | 81 +++++ deployments/trainee/gnb-ue-19.yaml | 81 +++++ deployments/trainee/gnb-ue-20.yaml | 81 +++++ deployments/trainee/gnb-ue-21.yaml | 81 +++++ input/imsi_data.csv | 11 + input/main_data.csv | 18 + net/core/amf-n2.yaml | 2 +- net/core/amf.yaml | 2 +- net/core/ausf.yaml | 2 +- net/core/db.yaml | 2 +- net/core/dn.yaml | 2 +- net/core/nrf.yaml | 2 +- net/core/smf.yaml | 2 +- net/core/udm.yaml | 2 +- net/core/udr.yaml | 2 +- net/core/upf-n3.yaml | 2 +- net/core/upf.yaml | 2 +- net/gnb/cu-amf-01.yaml | 4 +- net/gnb/cu-amf-02.yaml | 4 +- net/gnb/cu-amf-03.yaml | 4 +- net/gnb/cu-amf-04.yaml | 10 + net/gnb/cu-amf-05.yaml | 10 + net/gnb/cu-amf-06.yaml | 10 + net/gnb/cu-amf-07.yaml | 10 + net/gnb/cu-amf-08.yaml | 10 + net/gnb/cu-amf-09.yaml | 10 + net/gnb/cu-amf-10.yaml | 10 + net/gnb/cu-amf-11.yaml | 10 + net/gnb/cu-amf-12.yaml | 10 + net/gnb/cu-amf-13.yaml | 10 + net/gnb/cu-amf-14.yaml | 10 + net/gnb/cu-amf-15.yaml | 10 + net/gnb/cu-amf-16.yaml | 10 + net/gnb/cu-amf-17.yaml | 10 + net/gnb/cu-amf-18.yaml | 10 + net/gnb/cu-amf-19.yaml | 10 + net/gnb/cu-amf-20.yaml | 10 + net/gnb/cu-amf-21.yaml | 10 + net/gnb/cu-du-01.yaml | 4 +- net/gnb/cu-du-02.yaml | 4 +- net/gnb/cu-du-03.yaml | 4 +- net/gnb/cu-du-04.yaml | 10 + net/gnb/cu-du-05.yaml | 10 + net/gnb/cu-du-06.yaml | 10 + net/gnb/cu-du-07.yaml | 10 + net/gnb/cu-du-08.yaml | 10 + net/gnb/cu-du-09.yaml | 10 + net/gnb/cu-du-10.yaml | 10 + net/gnb/cu-du-11.yaml | 10 + net/gnb/cu-du-12.yaml | 10 + net/gnb/cu-du-13.yaml | 10 + net/gnb/cu-du-14.yaml | 10 + net/gnb/cu-du-15.yaml | 10 + net/gnb/cu-du-16.yaml | 10 + net/gnb/cu-du-17.yaml | 10 + net/gnb/cu-du-18.yaml | 10 + net/gnb/cu-du-19.yaml | 10 + net/gnb/cu-du-20.yaml | 10 + net/gnb/cu-du-21.yaml | 10 + net/gnb/du-cu-01.yaml | 4 +- net/gnb/du-cu-02.yaml | 4 +- net/gnb/du-cu-03.yaml | 4 +- net/gnb/du-cu-04.yaml | 10 + net/gnb/du-cu-05.yaml | 10 + net/gnb/du-cu-06.yaml | 10 + net/gnb/du-cu-07.yaml | 10 + net/gnb/du-cu-08.yaml | 10 + net/gnb/du-cu-09.yaml | 10 + net/gnb/du-cu-10.yaml | 10 + net/gnb/du-cu-11.yaml | 10 + net/gnb/du-cu-12.yaml | 10 + net/gnb/du-cu-13.yaml | 10 + net/gnb/du-cu-14.yaml | 10 + net/gnb/du-cu-15.yaml | 10 + net/gnb/du-cu-16.yaml | 10 + net/gnb/du-cu-17.yaml | 10 + net/gnb/du-cu-18.yaml | 10 + net/gnb/du-cu-19.yaml | 10 + net/gnb/du-cu-20.yaml | 10 + net/gnb/du-cu-21.yaml | 10 + net/gnb/ue-du-01.yaml | 4 +- net/gnb/ue-du-02.yaml | 4 +- net/gnb/ue-du-03.yaml | 4 +- net/gnb/ue-du-04.yaml | 10 + net/gnb/ue-du-05.yaml | 10 + net/gnb/ue-du-06.yaml | 10 + net/gnb/ue-du-07.yaml | 10 + net/gnb/ue-du-08.yaml | 10 + net/gnb/ue-du-09.yaml | 10 + net/gnb/ue-du-10.yaml | 10 + net/gnb/ue-du-11.yaml | 10 + net/gnb/ue-du-12.yaml | 10 + net/gnb/ue-du-13.yaml | 10 + net/gnb/ue-du-14.yaml | 10 + net/gnb/ue-du-15.yaml | 10 + net/gnb/ue-du-16.yaml | 10 + net/gnb/ue-du-17.yaml | 10 + net/gnb/ue-du-18.yaml | 10 + net/gnb/ue-du-19.yaml | 10 + net/gnb/ue-du-20.yaml | 10 + net/gnb/ue-du-21.yaml | 10 + net/src/template_net.yaml | 4 +- net/ue/ue-web-01.yaml | 10 + patch/revisionHistoryLimit.yaml | 2 + scripts/net_gen.sh | 17 +- 181 files changed, 6547 insertions(+), 350 deletions(-) create mode 100644 deployments/forced/gnb-cu-01.yaml create mode 100644 deployments/forced/gnb-du-01.yaml create mode 100644 deployments/src/.gnb_access_deployment.yaml.swp create mode 100644 deployments/src/.template_deployment.yaml.swp create mode 100644 deployments/src/.template_ue_deployment.yaml.swp create mode 100644 deployments/src/template_ueweb.yaml create mode 100644 deployments/trainee/gnb-cu-04.yaml create mode 100644 deployments/trainee/gnb-cu-05.yaml create mode 100644 deployments/trainee/gnb-cu-06.yaml create mode 100644 deployments/trainee/gnb-cu-07.yaml create mode 100644 deployments/trainee/gnb-cu-08.yaml create mode 100644 deployments/trainee/gnb-cu-09.yaml create mode 100644 deployments/trainee/gnb-cu-10.yaml create mode 100644 deployments/trainee/gnb-cu-11.yaml create mode 100644 deployments/trainee/gnb-cu-12.yaml create mode 100644 deployments/trainee/gnb-cu-13.yaml create mode 100644 deployments/trainee/gnb-cu-14.yaml create mode 100644 deployments/trainee/gnb-cu-15.yaml create mode 100644 deployments/trainee/gnb-cu-16.yaml create mode 100644 deployments/trainee/gnb-cu-17.yaml create mode 100644 deployments/trainee/gnb-cu-18.yaml create mode 100644 deployments/trainee/gnb-cu-19.yaml create mode 100644 deployments/trainee/gnb-cu-20.yaml create mode 100644 deployments/trainee/gnb-cu-21.yaml create mode 100644 deployments/trainee/gnb-du-04.yaml create mode 100644 deployments/trainee/gnb-du-05.yaml create mode 100644 deployments/trainee/gnb-du-06.yaml create mode 100644 deployments/trainee/gnb-du-07.yaml create mode 100644 deployments/trainee/gnb-du-08.yaml create mode 100644 deployments/trainee/gnb-du-09.yaml create mode 100644 deployments/trainee/gnb-du-10.yaml create mode 100644 deployments/trainee/gnb-du-11.yaml create mode 100644 deployments/trainee/gnb-du-12.yaml create mode 100644 deployments/trainee/gnb-du-13.yaml create mode 100644 deployments/trainee/gnb-du-14.yaml create mode 100644 deployments/trainee/gnb-du-15.yaml create mode 100644 deployments/trainee/gnb-du-16.yaml create mode 100644 deployments/trainee/gnb-du-17.yaml create mode 100644 deployments/trainee/gnb-du-18.yaml create mode 100644 deployments/trainee/gnb-du-19.yaml create mode 100644 deployments/trainee/gnb-du-20.yaml create mode 100644 deployments/trainee/gnb-du-21.yaml create mode 100644 deployments/trainee/gnb-ue-04.yaml create mode 100644 deployments/trainee/gnb-ue-05.yaml create mode 100644 deployments/trainee/gnb-ue-06.yaml create mode 100644 deployments/trainee/gnb-ue-07.yaml create mode 100644 deployments/trainee/gnb-ue-08.yaml create mode 100644 deployments/trainee/gnb-ue-09.yaml create mode 100644 deployments/trainee/gnb-ue-10.yaml create mode 100644 deployments/trainee/gnb-ue-11.yaml create mode 100644 deployments/trainee/gnb-ue-12.yaml create mode 100644 deployments/trainee/gnb-ue-13.yaml create mode 100644 deployments/trainee/gnb-ue-14.yaml create mode 100644 deployments/trainee/gnb-ue-15.yaml create mode 100644 deployments/trainee/gnb-ue-16.yaml create mode 100644 deployments/trainee/gnb-ue-17.yaml create mode 100644 deployments/trainee/gnb-ue-18.yaml create mode 100644 deployments/trainee/gnb-ue-19.yaml create mode 100644 deployments/trainee/gnb-ue-20.yaml create mode 100644 deployments/trainee/gnb-ue-21.yaml create mode 100644 net/gnb/cu-amf-04.yaml create mode 100644 net/gnb/cu-amf-05.yaml create mode 100644 net/gnb/cu-amf-06.yaml create mode 100644 net/gnb/cu-amf-07.yaml create mode 100644 net/gnb/cu-amf-08.yaml create mode 100644 net/gnb/cu-amf-09.yaml create mode 100644 net/gnb/cu-amf-10.yaml create mode 100644 net/gnb/cu-amf-11.yaml create mode 100644 net/gnb/cu-amf-12.yaml create mode 100644 net/gnb/cu-amf-13.yaml create mode 100644 net/gnb/cu-amf-14.yaml create mode 100644 net/gnb/cu-amf-15.yaml create mode 100644 net/gnb/cu-amf-16.yaml create mode 100644 net/gnb/cu-amf-17.yaml create mode 100644 net/gnb/cu-amf-18.yaml create mode 100644 net/gnb/cu-amf-19.yaml create mode 100644 net/gnb/cu-amf-20.yaml create mode 100644 net/gnb/cu-amf-21.yaml create mode 100644 net/gnb/cu-du-04.yaml create mode 100644 net/gnb/cu-du-05.yaml create mode 100644 net/gnb/cu-du-06.yaml create mode 100644 net/gnb/cu-du-07.yaml create mode 100644 net/gnb/cu-du-08.yaml create mode 100644 net/gnb/cu-du-09.yaml create mode 100644 net/gnb/cu-du-10.yaml create mode 100644 net/gnb/cu-du-11.yaml create mode 100644 net/gnb/cu-du-12.yaml create mode 100644 net/gnb/cu-du-13.yaml create mode 100644 net/gnb/cu-du-14.yaml create mode 100644 net/gnb/cu-du-15.yaml create mode 100644 net/gnb/cu-du-16.yaml create mode 100644 net/gnb/cu-du-17.yaml create mode 100644 net/gnb/cu-du-18.yaml create mode 100644 net/gnb/cu-du-19.yaml create mode 100644 net/gnb/cu-du-20.yaml create mode 100644 net/gnb/cu-du-21.yaml create mode 100644 net/gnb/du-cu-04.yaml create mode 100644 net/gnb/du-cu-05.yaml create mode 100644 net/gnb/du-cu-06.yaml create mode 100644 net/gnb/du-cu-07.yaml create mode 100644 net/gnb/du-cu-08.yaml create mode 100644 net/gnb/du-cu-09.yaml create mode 100644 net/gnb/du-cu-10.yaml create mode 100644 net/gnb/du-cu-11.yaml create mode 100644 net/gnb/du-cu-12.yaml create mode 100644 net/gnb/du-cu-13.yaml create mode 100644 net/gnb/du-cu-14.yaml create mode 100644 net/gnb/du-cu-15.yaml create mode 100644 net/gnb/du-cu-16.yaml create mode 100644 net/gnb/du-cu-17.yaml create mode 100644 net/gnb/du-cu-18.yaml create mode 100644 net/gnb/du-cu-19.yaml create mode 100644 net/gnb/du-cu-20.yaml create mode 100644 net/gnb/du-cu-21.yaml create mode 100644 net/gnb/ue-du-04.yaml create mode 100644 net/gnb/ue-du-05.yaml create mode 100644 net/gnb/ue-du-06.yaml create mode 100644 net/gnb/ue-du-07.yaml create mode 100644 net/gnb/ue-du-08.yaml create mode 100644 net/gnb/ue-du-09.yaml create mode 100644 net/gnb/ue-du-10.yaml create mode 100644 net/gnb/ue-du-11.yaml create mode 100644 net/gnb/ue-du-12.yaml create mode 100644 net/gnb/ue-du-13.yaml create mode 100644 net/gnb/ue-du-14.yaml create mode 100644 net/gnb/ue-du-15.yaml create mode 100644 net/gnb/ue-du-16.yaml create mode 100644 net/gnb/ue-du-17.yaml create mode 100644 net/gnb/ue-du-18.yaml create mode 100644 net/gnb/ue-du-19.yaml create mode 100644 net/gnb/ue-du-20.yaml create mode 100644 net/gnb/ue-du-21.yaml create mode 100644 net/ue/ue-web-01.yaml create mode 100644 patch/revisionHistoryLimit.yaml diff --git a/deployments/CoreNetwork/basic-no-nrf/mysql-deployment.yaml b/deployments/CoreNetwork/basic-no-nrf/mysql-deployment.yaml index d84f49d..d9feb23 100644 --- a/deployments/CoreNetwork/basic-no-nrf/mysql-deployment.yaml +++ b/deployments/CoreNetwork/basic-no-nrf/mysql-deployment.yaml @@ -28,6 +28,8 @@ spec: io.kompose.service: mysql spec: serviceAccountName: oai-sa + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan containers: - env: - name: MYSQL_DATABASE diff --git a/deployments/CoreNetwork/basic-no-nrf/oai-amf-deployment.yaml b/deployments/CoreNetwork/basic-no-nrf/oai-amf-deployment.yaml index f35bf08..8b02d42 100644 --- a/deployments/CoreNetwork/basic-no-nrf/oai-amf-deployment.yaml +++ b/deployments/CoreNetwork/basic-no-nrf/oai-amf-deployment.yaml @@ -28,6 +28,8 @@ spec: io.kompose.service: oai-amf spec: serviceAccountName: oai-sa + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan containers: - env: - name: NRF_FQDN diff --git a/deployments/CoreNetwork/basic-no-nrf/oai-ausf-deployment.yaml b/deployments/CoreNetwork/basic-no-nrf/oai-ausf-deployment.yaml index 1ae7338..c569616 100644 --- a/deployments/CoreNetwork/basic-no-nrf/oai-ausf-deployment.yaml +++ b/deployments/CoreNetwork/basic-no-nrf/oai-ausf-deployment.yaml @@ -27,6 +27,8 @@ spec: io.kompose.service: oai-ausf spec: serviceAccountName: oai-sa + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan containers: - env: - name: AUSF_NAME diff --git a/deployments/CoreNetwork/basic-no-nrf/oai-ext-dn-deployment.yaml b/deployments/CoreNetwork/basic-no-nrf/oai-ext-dn-deployment.yaml index fe27260..991b496 100644 --- a/deployments/CoreNetwork/basic-no-nrf/oai-ext-dn-deployment.yaml +++ b/deployments/CoreNetwork/basic-no-nrf/oai-ext-dn-deployment.yaml @@ -27,6 +27,8 @@ spec: io.kompose.service: oai-ext-dn spec: serviceAccountName: oai-sa + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan containers: - args: - /bin/bash diff --git a/deployments/CoreNetwork/basic-no-nrf/oai-smf-deployment.yaml b/deployments/CoreNetwork/basic-no-nrf/oai-smf-deployment.yaml index a580f05..f870ea3 100644 --- a/deployments/CoreNetwork/basic-no-nrf/oai-smf-deployment.yaml +++ b/deployments/CoreNetwork/basic-no-nrf/oai-smf-deployment.yaml @@ -27,6 +27,8 @@ spec: io.kompose.service: oai-smf spec: serviceAccountName: oai-sa + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan containers: - env: - name: AMF_API_VERSION diff --git a/deployments/CoreNetwork/basic-no-nrf/oai-spgwu-deployment.yaml b/deployments/CoreNetwork/basic-no-nrf/oai-spgwu-deployment.yaml index 08d572c..0de2605 100644 --- a/deployments/CoreNetwork/basic-no-nrf/oai-spgwu-deployment.yaml +++ b/deployments/CoreNetwork/basic-no-nrf/oai-spgwu-deployment.yaml @@ -27,6 +27,8 @@ spec: io.kompose.service: oai-spgwu spec: serviceAccountName: oai-sa + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan containers: - env: - name: MCC diff --git a/deployments/CoreNetwork/basic-no-nrf/oai-udm-deployment.yaml b/deployments/CoreNetwork/basic-no-nrf/oai-udm-deployment.yaml index a883831..6d10f13 100644 --- a/deployments/CoreNetwork/basic-no-nrf/oai-udm-deployment.yaml +++ b/deployments/CoreNetwork/basic-no-nrf/oai-udm-deployment.yaml @@ -27,6 +27,8 @@ spec: io.kompose.service: oai-udm spec: serviceAccountName: oai-sa + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan containers: - env: - name: REGISTER_NRF diff --git a/deployments/CoreNetwork/basic-no-nrf/oai-udr-deployment.yaml b/deployments/CoreNetwork/basic-no-nrf/oai-udr-deployment.yaml index a7e7f63..a204d8e 100644 --- a/deployments/CoreNetwork/basic-no-nrf/oai-udr-deployment.yaml +++ b/deployments/CoreNetwork/basic-no-nrf/oai-udr-deployment.yaml @@ -27,6 +27,8 @@ spec: io.kompose.service: oai-udr spec: serviceAccountName: oai-sa + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan containers: - env: - name: MYSQL_DB diff --git a/deployments/forced/gnb-cu-01.yaml b/deployments/forced/gnb-cu-01.yaml new file mode 100644 index 0000000..6c107c1 --- /dev/null +++ b/deployments/forced/gnb-cu-01.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-01 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-01 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-01 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-01 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-01-net,oai-cu-du-01-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-01 + - name: GNB_ID + value: "e01" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.12" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.12" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.13" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.12" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/forced/gnb-du-01.yaml b/deployments/forced/gnb-du-01.yaml new file mode 100644 index 0000000..c53a407 --- /dev/null +++ b/deployments/forced/gnb-du-01.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-01"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-01"}]' + name: oai-du-01 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-01 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-01 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-01 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-01-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-01 + - name: GNB_ID + value: "e01" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.12" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.12" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.13" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.12" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/src/.gnb_access_deployment.yaml.swp b/deployments/src/.gnb_access_deployment.yaml.swp new file mode 100644 index 0000000000000000000000000000000000000000..7e8ffaefbed0b57715ef86e86ac93afcc18ae69d GIT binary patch literal 12288 zcmeI2Plzl>9mng%n8ZI%gJKj#E!V^IusyRgn-}&?4$ip$-r(EWVS6^9L7Lj`n%QEz zyV|bm**C;z4hrUp2)P(gLGd7ZQ!od4<{;?7gOWou9z2MWc+?;$f~eo>p6=;>Z)Z1x z2bFI4Y|qr6U;pY`zv^G@ZXK;X(chyRjW)scFd<(%eV6xz-+q96?v<-Vgk#}x-_)FY zMKZFaI=4w$`PsR_racSY=BPhx?ngYdkHuIwXDskl)8mmZX8{kjYO2_6PQoLHxh_}A zSyVMl+l!x8x2P4U6{sq3nXI>4Yo_eOD<7ioe8*w6y8c!xP%BU?P%BU?P%BU?P%BU? zP%H3%t$>a$k*6`j`{tuOo!>9rb)SE&Z?yuo0<{9Q0<{9Q0<{9Q0<{9Q0<{9Q0<{9Q z0{?>wFprRD;rDIx2LSy4KmYyzk8daB7vLx0dGPnQ5%MbdCAb5=555X~Fb1Cl*TGfr z9`Mi0guDWN4(@>Of@i>IfCoMf*1`M0{opTeCFEuBJh%-aa0GV2HDG}cf=l4fZz1F* z@MG{5@Ffs|eee-Lz^iXY8}LK$ZSZAq3pBtZ;2&=yyT< zz&F9O;M3p`G{Ga_Zx0gkD{u#V9ef^~02^!o3LXG|cmP_0?}6ul2K!(YJP3aOMnZlD zz6G8JPl6tJFZk>Ig!~%(2s{T8Fa!;78NBueLS6(v0Jp)T;N9RM@F&daZ@>%SJK&4J z%=0tgzwe^y<%Mb}ec{eJbkk3i=JAe*l_ptj_EXOy-l12nR0<=ek2@46NT$t@>!wb^ zQuVP^dT1IHWfl!t04r#3E!s|{p9Eax%@mKP!sR{Jl}V^OR5D>HR@k8FHD!JRLl$cA zBOWUe;O@(b<4PQ$nKUN8JYv3MN@S#k3>EeHl>4ipbfqujRV@NuF`7GfXm2~ct*!p3 zzdz{RaQ27hgI#G#>HPUC?bg-xl}cT1W~b$B9y(jjaQ|RbY4AEbZ(Y#2D||sFL7aa@G)nwd$AMn zp;dWCJ{5(5|AZgC3&ps=4;VPtkJhzzqxINEWBt)aYwc`J4~IJ!da+Wr(>mKuZ}0Wk zIlJ$`wtIcYwwDI?+1>UAo6e2x!S3jKWvUj7;@Y*P9hdZIuWc;pvbnjW%Mv|Cy=5JE zHCqVmKXFm#u>8!4fnFu-WR+?0zbNTXE;;MN|**&KlNRK-%i>kH@InB$I$7eqG zV8`z79p31T_76(+Je=k)Vwzr2ET+Qe6Yh1Wj+5#;lTwQgwnuo!?DYpFE2gJK?N8We z)G*I0KS6OfiG`kR%24y0x?Cj!HsQm>_w(e`^H14Km7ar46^M|T_xm2sE1Kr>JhlU$ z&u_R$T_r0fg_OEs7&I_xD9vNb5}j!kbLQ=bJ~HS%BIOfZ&3dL&mihL~1B&#Q8B;Qe zaRReLpSnd%Nq$-M3T2U|N#rrjA5TAvP-*7-)SA&L(x48Kn~zfw(O4#?iSjv*s5u21 zLgs4zwy5Qj+_t$}w0R`L<`GlJrE*sW0SimhmJbP5tuzGl@I&_1Cf4I(Ja^CUVnij` zcVp)AA&-UhYz`Y9M!vo__dvPF+)I2O59XVPF-v@H6~%e8%Dy3MTiH9r96H51kC0L@ zsffFaz&qJcjcKdlh61?bhLC1+b1LH#c-6(ne6TDGrA~vd7%jz&MA@EYq0M6Z;} z7mZy6jS1ZmwjyvXK*tc#o{lHrnqi8WaZB?c@-f}nXN5h{nEA?tcg&|k!NPT+w2Wsr zL?BR$!-l3R!j6u?|CB%VNke8+*3!;npxz!du^&x6-&GqDZ}ySY`0L1O`6A6Zo8rn0qt*J{Wr zk%Zvoq&&uKRu8fY$fuBOG@r~mWD(Vf$;L@?#A5_6S0Ufk*c0~cMN>W#D8VIFBa&+ T&yHFB_qa*2)v#3@vnT%ov7!ku literal 0 HcmV?d00001 diff --git a/deployments/src/.template_deployment.yaml.swp b/deployments/src/.template_deployment.yaml.swp new file mode 100644 index 0000000000000000000000000000000000000000..b3a38e011476a72f5be5c5bf6220dc8d8492d97f GIT binary patch literal 12288 zcmeI2UuYaf9LJ}&wMMP=4}x!9uhb~y?s7?6(*x<9`PZY#<;YzMBCWYnpKzC7IkcqHJNAgmcv{rvcfmAk~yADCDVHq8D+VBUx`Jc zK%zjO0)ecjr}mP`iQKpd*J?+K7-_AqClcRqClcRqClcRqClcRqCld+|6Kv; z?I6z~$=kw2X?Wjp%{}~@+!6&61rh}k1rh}k1rh}k1rh}k1rh}k1rh}k1#UqFs7c6| z_~n0X7lOzC|D)gkf8R&QCGb7?0*rt^?;+$Ta1p!(&VzH{dEkKpI0PO64}o9z!Z-K` zoCPIt3>*NrflGH2@*#K=oB=kdfmv`6jDX8`5%LvyAG`uMsDLT3AM63Y-ATv~;8SoO zyZ}sa0z3+Kf}ckS`3$@PHo-|S3HE`%?jYn_@E&*-c;Ezh4D15G>>=cH@D6whtbr%M z)!PaA23!DVfd^{fad02Fx|@&>z-!=T;DDz<9vlRFz~9jQGWZUB4BiH3fEte?H~@Bo zi#rMV1iTB*fpu^QOafK@I@kafSO$5J0wdrLjPDijWAsO!TX3GZ8goIr>cS9V0mrg z@IlfpQe`VHZBomot9Dbvo^M8XX-d^r&3RYdF5t%(_fwW#INzuW=zO%Ai}8)?Df!9@wXQwoPsa4ik}? zV1CmwSkW+e;9~l4YNZA3`p`7Xp-PWYR0v*|8`NhMiBs2LS!LXCSM%tB+1%@oRx;nQ zTq-d?7cqt5Lp>rY=Q+!c9s@1B9MyL___*wpAv!jfTpKQ=9}K$KI#t!ElkTGGpqsNQ zZ>LoWYR4;Q`!Q+NwVMJL(m*-negxp}}bsY<41imF()7+Kpl#DcuS~jU2K)N&p z#SgzOEC+X+H*`G5b*qtS*nE}Rx+>wGl1gZ{l5))D2DiCCCM{>{L|3Y_dU0l^R4Xl& ziwpWvMSZA}sOQc->_0V;J3N^hsEhQP%jwfA`ix##TCNQkK)6ou!yC_R)3{)Hx)JDR zP#D&KsiJaOo~_0upxl@NJjJ^~B-^^dLo*Q@M`=zk7Z+z^R0tEHPCX`s`SO!`d4BsK z5JPUDk7y{m4*rWcirb2@O&oAAG>+WSiA?UuRA%x}CO5vdrYn`XZKFu_`^jzXr?_|{ zeztB~u2zdBy;_Z(+*>zWEKlnTv*r2P@qwZ0JrqZe#x{&;F)==mBJo_6$VTOW@r545fiFUS4} zYv1ENH+{?4yiW~QVZO!9?nZ1f+BgVfjhTVX{BpSD)@fkNbhkK+YH+pf*bc0?NJUa# zMvGF>-k>efZY(@z^palZj>iSd7!FpY@Qa4Tprh2%buE+0n%r1te%c5v+XtGp@LHb| znPx6yxE3(#8H=kO#Rm7+q2Xu&p9|4qPFsm0I8Q3Q)XFd*qTLwk0InvYhX59BeR(mYrVQS>H@ZfnGNvkbHXZNLs_xfi`^~G^4 zU8rN}N+FD$i}*xZa*V*!r&H9kPGX8e=2RYEJTYkB%%#Rs>y~SxwxHzI)t0e7%Q6vwAXd=y$hrROpjK`vQ4PDoV@svIRLSmeXRNhO59Om@f4%DXeGnOUb+ zX#tfBNL-K*QW4yNL&bqRLL5L`;D9)QI8Y&uJI$#FP4lCjG(lLx-hC zPxz(nTD`QHaM9QcTc*@waimKDPa@fixiGq=#oHTV=91i#!($QAGn_!7Je-UhFMb07kbgE>$DN5PMW3Hc0s1YQNJ;4yGN zxO#|?Z^0$-7PtU9;1O^H{Bai{KZCEpMerhc9-IWnz&+siI|=y#d;;DBuK*vcf?04B z{B{s~1|NghfdUVM%Xbj+IrtD<03EOi=D{Iw`F27+0B?Zvpar(T0yqW;_!YW+5554G zz&qe&VD)?fxaJga3OEJ+w+c|2DA`tA>lMy|C=|TGeJKK6p~vUu2&Ia5Lmf)-WT=f) zy|pk7O@-o=3hlR;ooS@1%`0?%@u6|wj$mCDMr=2l7*R690_~k7z?rd1-`MmL7;H@r zpkEsWi*|2dLunv%T}GkbtI*{r)rPB6q0(l!9PPJ(r0h2q>=wM?@>En8-v zDb5f$6Fx6lW1+m1SFi?;WHPy5#1)5v8K}LE8v-w*s859vpICvS#dh`n_OBP8wZhWD zridV%QEA@A^kD6zLBQ*Ffh=m<-w&*wM$u?nwbq6-btDf?1QKg8YKaQF*m9c(e_L2{ zKUJaWElXke88cFKG?P-#i)6cr9BhT{Vmp$%ENa>wnOI>ojjV99Li#e2YSx5tJ}m3V z!wta?)zV>1J%wyNj!S{Nh!m9V9xYREnJyeJKRQ2Wn;n!LC1M$n@kZ>oE{kxl=t(cv zKay^zvD#c(S*dN;HaC{mnwxd|rI9nuTvWrP8Kg}=t>(r@uC`7!YU?{|OWT`Ux$*IQ znfOg1_oq+atS?WWHdCI=Fi0~@@r_1fsn%>Xwx>_4cEal~c4}vBt@+gIGt;NeRKr*g zW=~(bKfSizs7;@bMZe2X=J>t zd$@GI;0|nUv{})`ehpJ*RF#&Zeb&?c$vT`@BcoZpxke{U^wt$D5YC D!V@72 literal 0 HcmV?d00001 diff --git a/deployments/src/gnb_access_deployment.yaml b/deployments/src/gnb_access_deployment.yaml index 9544274..d268e71 100644 --- a/deployments/src/gnb_access_deployment.yaml +++ b/deployments/src/gnb_access_deployment.yaml @@ -1,4 +1,4 @@ -kind: DeploymentConfig +kind: Deployment apiVersion: apps.openshift.io/v1 metadata: annotations: diff --git a/deployments/src/template_deployment.yaml b/deployments/src/template_deployment.yaml index 57c44ff..e5a9cb9 100644 --- a/deployments/src/template_deployment.yaml +++ b/deployments/src/template_deployment.yaml @@ -1,67 +1,36 @@ -kind: DeploymentConfig -apiVersion: apps.openshift.io/v1 +kind: Deployment +apiVersion: apps/v1 metadata: annotations: app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"@part_type@","name":"@part_of@"},{"apiVersion":"apps/v1","kind":"@part_type@","name":"@part_of@"}]' name: oai-@trainee@ - generation: 28 namespace: infidel-test labels: - app: oai-@trainee@ app.kubernetes.io/part-of: trainee-@role@ spec: - strategy: - type: Rolling - rollingParams: - updatePeriodSeconds: 1 - intervalSeconds: 1 - timeoutSeconds: 600 - maxUnavailable: 0 - maxSurge: 1 - resources: {} - activeDeadlineSeconds: 21600 - triggers: - - type: ImageChange - imageChangeParams: - automatic: true - containerNames: - - inf-@mode@ - from: - kind: ImageStreamTag - namespace: infidel-test - name: 'oai-gnb-official:2023.w05' - - type: ConfigChange replicas: 1 - revisionHistoryLimit: 10 - test: false + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-@role@ template: metadata: - creationTimestamp: null labels: - app: oai-inf-@mode@-sa + app.kubernetes.io/part-of: trainee-@role@ + creationTimestamp: null annotations: - k8s.v1.cni.cncf.io/networks: @net@ + k8s.v1.cni.cncf.io/networks: '@net@' + kompose.cmd: kompose convert -f ../docker-compose.yaml spec: restartPolicy: Always serviceAccountName: oai-sa schedulerName: default-scheduler terminationGracePeriodSeconds: 30 securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan containers: - name: inf-@mode@ resources: {} - volumeMounts: - - name: dev-tun - readOnly: true - mountPath: /dev/net/tun - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - imagePullPolicy: Always - securityContext: - add: - - SYS_ADMIN - - NET_ADMIN - privileged: true env: - name: RFSIMULATOR value: server @@ -105,6 +74,15 @@ spec: value: "2153" - name: USE_ADDITIONAL_OPTIONS value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' serviceAccount: oai-sa volumes: - name: dev-tun @@ -112,4 +90,10 @@ spec: path: /dev/net/tun type: '' dnsPolicy: ClusterFirst - + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/src/template_ue_deployment.yaml b/deployments/src/template_ue_deployment.yaml index 0a472f2..f7b35e1 100644 --- a/deployments/src/template_ue_deployment.yaml +++ b/deployments/src/template_ue_deployment.yaml @@ -64,7 +64,7 @@ spec: readOnly: true mountPath: /dev/net/tun terminationMessagePolicy: File - image: 'oaisoftwarealliance/oai-nr-ue:develop' + image: '192.168.22.1:5000/oai-nr-ue' serviceAccount: oai-sa volumes: - name: dev-tun diff --git a/deployments/src/template_ueweb.yaml b/deployments/src/template_ueweb.yaml new file mode 100644 index 0000000..ec9888e --- /dev/null +++ b/deployments/src/template_ueweb.yaml @@ -0,0 +1,309 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + alpha.image.policy.openshift.io/resolve-names: '*' + app.openshift.io/connects-to: '[{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-du-01"}]' + app.openshift.io/route-disabled: 'false' + deployment.kubernetes.io/revision: '7' + image.openshift.io/triggers: >- + [{"from":{"kind":"ImageStreamTag","name":" + ueweb-oai-final:latest","namespace":"infidel-test"},"fieldPath":"spec.template.spec.containers[?(@.name==\" + oai-nr-ue-01\")].image","pause":"false"}] + openshift.io/generated-by: OpenShiftWebConsole + resourceVersion: '51680865' + name: oai-nr-ue-01 + uid: 17240e5e-99e1-4906-a780-d3833bdef547 + creationTimestamp: '2023-03-29T17:07:07Z' + generation: 8 + managedFields: + - manager: Mozilla + operation: Update + apiVersion: apps/v1 + time: '2023-03-29T17:43:59Z' + fieldsType: FieldsV1 + fieldsV1: + 'f:metadata': + 'f:annotations': + .: {} + 'f:alpha.image.policy.openshift.io/resolve-names': {} + 'f:app.openshift.io/connects-to': {} + 'f:app.openshift.io/route-disabled': {} + 'f:image.openshift.io/triggers': {} + 'f:openshift.io/generated-by': {} + 'f:labels': + .: {} + 'f:app': {} + 'f:app.kubernetes.io/component': {} + 'f:app.kubernetes.io/instance': {} + 'f:app.kubernetes.io/name': {} + 'f:app.kubernetes.io/part-of': {} + 'f:app.openshift.io/runtime-namespace': {} + 'f:spec': + 'f:progressDeadlineSeconds': {} + 'f:replicas': {} + 'f:revisionHistoryLimit': {} + 'f:selector': {} + 'f:strategy': + 'f:rollingUpdate': + .: {} + 'f:maxSurge': {} + 'f:maxUnavailable': {} + 'f:type': {} + 'f:template': + 'f:metadata': + 'f:annotations': + .: {} + 'f:k8s.v1.cni.cncf.io/networks': {} + 'f:openshift.io/generated-by': {} + 'f:openshift.openshift.io/restartedAt': {} + 'f:labels': + .: {} + 'f:app': {} + 'f:deployment': {} + 'f:spec': + 'f:volumes': + .: {} + 'k:{"name":"dev-tun"}': + .: {} + 'f:hostPath': + .: {} + 'f:path': {} + 'f:type': {} + 'f:name': {} + 'k:{"name":"ue-env"}': + .: {} + 'f:name': {} + 'f:persistentVolumeClaim': + .: {} + 'f:claimName': {} + 'f:containers': + 'k:{"name":"rfsim5g-oai-nr-ue"}': + 'f:image': {} + 'f:volumeMounts': + .: {} + 'k:{"mountPath":"/dev/net/tun"}': + .: {} + 'f:mountPath': {} + 'f:name': {} + 'f:readOnly': {} + 'f:terminationMessagePolicy': {} + .: {} + 'f:resources': {} + 'f:env': + .: {} + 'k:{"name":"DNN"}': + .: {} + 'f:name': {} + 'f:value': {} + 'k:{"name":"FULL_IMSI"}': + .: {} + 'f:name': {} + 'f:value': {} + 'k:{"name":"FULL_KEY"}': + .: {} + 'f:name': {} + 'f:value': {} + 'k:{"name":"NSSAI_SST"}': + .: {} + 'f:name': {} + 'f:value': {} + 'k:{"name":"OPC"}': + .: {} + 'f:name': {} + 'f:value': {} + 'k:{"name":"RFSIMULATOR"}': + .: {} + 'f:name': {} + 'f:value': {} + 'k:{"name":"USE_ADDITIONAL_OPTIONS"}': + .: {} + 'f:name': {} + 'f:value': {} + 'f:securityContext': + .: {} + 'f:privileged': {} + 'f:terminationMessagePath': {} + 'f:imagePullPolicy': {} + 'f:name': {} + 'k:{"name":"ue-web-oai"}': + 'f:image': {} + 'f:volumeMounts': + .: {} + 'k:{"mountPath":"/root/ueSimOAIWeb/env"}': + .: {} + 'f:mountPath': {} + 'f:name': {} + 'f:terminationMessagePolicy': {} + .: {} + 'f:resources': {} + 'f:securityContext': + .: {} + 'f:privileged': {} + 'f:terminationMessagePath': {} + 'f:imagePullPolicy': {} + 'f:ports': + .: {} + 'k:{"containerPort":4173,"protocol":"TCP"}': + .: {} + 'f:containerPort': {} + 'f:protocol': {} + 'k:{"containerPort":5000,"protocol":"TCP"}': + .: {} + 'f:containerPort': {} + 'f:protocol': {} + 'f:name': {} + 'f:dnsPolicy': {} + 'f:serviceAccount': {} + 'f:restartPolicy': {} + 'f:schedulerName': {} + 'f:terminationGracePeriodSeconds': {} + 'f:serviceAccountName': {} + 'f:securityContext': {} + - manager: kube-controller-manager + operation: Update + apiVersion: apps/v1 + time: '2023-03-29T20:22:10Z' + fieldsType: FieldsV1 + fieldsV1: + 'f:metadata': + 'f:annotations': + 'f:deployment.kubernetes.io/revision': {} + 'f:status': + 'f:availableReplicas': {} + 'f:conditions': + .: {} + 'k:{"type":"Available"}': + .: {} + 'f:lastTransitionTime': {} + 'f:lastUpdateTime': {} + 'f:message': {} + 'f:reason': {} + 'f:status': {} + 'f:type': {} + 'k:{"type":"Progressing"}': + .: {} + 'f:lastTransitionTime': {} + 'f:lastUpdateTime': {} + 'f:message': {} + 'f:reason': {} + 'f:status': {} + 'f:type': {} + 'f:observedGeneration': {} + 'f:readyReplicas': {} + 'f:replicas': {} + 'f:updatedReplicas': {} + subresource: status + namespace: infidel-test + labels: + app: oai-nr-ue-01 + app.kubernetes.io/component: oai-nr-ue-01 + app.kubernetes.io/instance: oai-nr-ue-01 + app.kubernetes.io/name: oai-nr-ue-01 + app.kubernetes.io/part-of: UE-Johan + app.openshift.io/runtime-namespace: infidel-test +spec: + replicas: 1 + selector: + matchLabels: + app: oai-nr-ue-01 + template: + metadata: + creationTimestamp: null + labels: + app: oai-nr-ue-01 + deployment: oai-nr-ue-01 + annotations: + k8s.v1.cni.cncf.io/networks: oai-ue-du-01-net + openshift.io/generated-by: OpenShiftWebConsole + openshift.openshift.io/restartedAt: '2023-03-29T17:41:34.100Z' + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000001' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.13 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + - resources: {} + terminationMessagePath: /dev/termination-log + name: ue-web-oai + securityContext: + privileged: true + ports: + - containerPort: 4173 + protocol: TCP + - containerPort: 5000 + protocol: TCP + imagePullPolicy: IfNotPresent + volumeMounts: + - name: ue-env + mountPath: /root/ueSimOAIWeb/env + terminationMessagePolicy: File + image: >- + image-registry.openshift-image-registry.svc:5000/infidel-test/ueweb-oai-final@sha256:70b3134da6dadd58fb0fd64688c4652c10a05e14cf1d20d39d9d3b14d5788acf + serviceAccount: oai-sa + volumes: + - name: ue-env + persistentVolumeClaim: + claimName: ueweb-vite + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 +status: + observedGeneration: 8 + replicas: 1 + updatedReplicas: 1 + readyReplicas: 1 + availableReplicas: 1 + conditions: + - type: Progressing + status: 'True' + lastUpdateTime: '2023-03-29T17:46:18Z' + lastTransitionTime: '2023-03-29T17:07:07Z' + reason: NewReplicaSetAvailable + message: ReplicaSet "oai-nr-ue-01-6d4cb5595c" has successfully progressed. + - type: Available + status: 'True' + lastUpdateTime: '2023-03-29T20:22:10Z' + lastTransitionTime: '2023-03-29T20:22:10Z' + reason: MinimumReplicasAvailable + message: Deployment has minimum availability. + diff --git a/deployments/trainee/gnb-cu-01.yaml b/deployments/trainee/gnb-cu-01.yaml index b8b6924..6c107c1 100644 --- a/deployments/trainee/gnb-cu-01.yaml +++ b/deployments/trainee/gnb-cu-01.yaml @@ -1,67 +1,36 @@ -kind: DeploymentConfig -apiVersion: apps.openshift.io/v1 +kind: Deployment +apiVersion: apps/v1 metadata: annotations: app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' name: oai-cu-01 - generation: 28 namespace: infidel-test labels: - app: oai-cu-01 app.kubernetes.io/part-of: trainee-01 spec: - strategy: - type: Rolling - rollingParams: - updatePeriodSeconds: 1 - intervalSeconds: 1 - timeoutSeconds: 600 - maxUnavailable: 0 - maxSurge: 1 - resources: {} - activeDeadlineSeconds: 21600 - triggers: - - type: ImageChange - imageChangeParams: - automatic: true - containerNames: - - inf-cu - from: - kind: ImageStreamTag - namespace: infidel-test - name: 'oai-gnb-official:2023.w05' - - type: ConfigChange replicas: 1 - revisionHistoryLimit: 10 - test: false + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-01 template: metadata: - creationTimestamp: null labels: - app: oai-inf-cu-sa + app.kubernetes.io/part-of: trainee-01 + creationTimestamp: null annotations: - k8s.v1.cni.cncf.io/networks: oai-cu-amf-01-net,oai-cu-du-01-net + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-01-net,oai-cu-du-01-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml spec: restartPolicy: Always serviceAccountName: oai-sa schedulerName: default-scheduler terminationGracePeriodSeconds: 30 securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan containers: - name: inf-cu resources: {} - volumeMounts: - - name: dev-tun - readOnly: true - mountPath: /dev/net/tun - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - imagePullPolicy: Always - securityContext: - add: - - SYS_ADMIN - - NET_ADMIN - privileged: true env: - name: RFSIMULATOR value: server @@ -105,6 +74,15 @@ spec: value: "2153" - name: USE_ADDITIONAL_OPTIONS value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' serviceAccount: oai-sa volumes: - name: dev-tun @@ -112,4 +90,10 @@ spec: path: /dev/net/tun type: '' dnsPolicy: ClusterFirst - + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-02.yaml b/deployments/trainee/gnb-cu-02.yaml index ef26cd2..76c44cd 100644 --- a/deployments/trainee/gnb-cu-02.yaml +++ b/deployments/trainee/gnb-cu-02.yaml @@ -1,67 +1,36 @@ -kind: DeploymentConfig -apiVersion: apps.openshift.io/v1 +kind: Deployment +apiVersion: apps/v1 metadata: annotations: app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' name: oai-cu-02 - generation: 28 namespace: infidel-test labels: - app: oai-cu-02 app.kubernetes.io/part-of: trainee-02 spec: - strategy: - type: Rolling - rollingParams: - updatePeriodSeconds: 1 - intervalSeconds: 1 - timeoutSeconds: 600 - maxUnavailable: 0 - maxSurge: 1 - resources: {} - activeDeadlineSeconds: 21600 - triggers: - - type: ImageChange - imageChangeParams: - automatic: true - containerNames: - - inf-cu - from: - kind: ImageStreamTag - namespace: infidel-test - name: 'oai-gnb-official:2023.w05' - - type: ConfigChange replicas: 1 - revisionHistoryLimit: 10 - test: false + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-02 template: metadata: - creationTimestamp: null labels: - app: oai-inf-cu-sa + app.kubernetes.io/part-of: trainee-02 + creationTimestamp: null annotations: - k8s.v1.cni.cncf.io/networks: oai-cu-amf-02-net,oai-cu-du-02-net + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-02-net,oai-cu-du-02-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml spec: restartPolicy: Always serviceAccountName: oai-sa schedulerName: default-scheduler terminationGracePeriodSeconds: 30 securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan containers: - name: inf-cu resources: {} - volumeMounts: - - name: dev-tun - readOnly: true - mountPath: /dev/net/tun - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - imagePullPolicy: Always - securityContext: - add: - - SYS_ADMIN - - NET_ADMIN - privileged: true env: - name: RFSIMULATOR value: server @@ -105,6 +74,15 @@ spec: value: "2153" - name: USE_ADDITIONAL_OPTIONS value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' serviceAccount: oai-sa volumes: - name: dev-tun @@ -112,4 +90,10 @@ spec: path: /dev/net/tun type: '' dnsPolicy: ClusterFirst - + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-03.yaml b/deployments/trainee/gnb-cu-03.yaml index 19a8e15..24ef934 100644 --- a/deployments/trainee/gnb-cu-03.yaml +++ b/deployments/trainee/gnb-cu-03.yaml @@ -1,67 +1,36 @@ -kind: DeploymentConfig -apiVersion: apps.openshift.io/v1 +kind: Deployment +apiVersion: apps/v1 metadata: annotations: app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' name: oai-cu-03 - generation: 28 namespace: infidel-test labels: - app: oai-cu-03 app.kubernetes.io/part-of: trainee-03 spec: - strategy: - type: Rolling - rollingParams: - updatePeriodSeconds: 1 - intervalSeconds: 1 - timeoutSeconds: 600 - maxUnavailable: 0 - maxSurge: 1 - resources: {} - activeDeadlineSeconds: 21600 - triggers: - - type: ImageChange - imageChangeParams: - automatic: true - containerNames: - - inf-cu - from: - kind: ImageStreamTag - namespace: infidel-test - name: 'oai-gnb-official:2023.w05' - - type: ConfigChange replicas: 1 - revisionHistoryLimit: 10 - test: false + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-03 template: metadata: - creationTimestamp: null labels: - app: oai-inf-cu-sa + app.kubernetes.io/part-of: trainee-03 + creationTimestamp: null annotations: - k8s.v1.cni.cncf.io/networks: oai-cu-amf-03-net,oai-cu-du-03-net + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-03-net,oai-cu-du-03-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml spec: restartPolicy: Always serviceAccountName: oai-sa schedulerName: default-scheduler terminationGracePeriodSeconds: 30 securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan containers: - name: inf-cu resources: {} - volumeMounts: - - name: dev-tun - readOnly: true - mountPath: /dev/net/tun - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - imagePullPolicy: Always - securityContext: - add: - - SYS_ADMIN - - NET_ADMIN - privileged: true env: - name: RFSIMULATOR value: server @@ -105,6 +74,15 @@ spec: value: "2153" - name: USE_ADDITIONAL_OPTIONS value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' serviceAccount: oai-sa volumes: - name: dev-tun @@ -112,4 +90,10 @@ spec: path: /dev/net/tun type: '' dnsPolicy: ClusterFirst - + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-04.yaml b/deployments/trainee/gnb-cu-04.yaml new file mode 100644 index 0000000..218e76c --- /dev/null +++ b/deployments/trainee/gnb-cu-04.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-04 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-04 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-04 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-04 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-04-net,oai-cu-du-04-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-04 + - name: GNB_ID + value: "e04" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.15" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.15" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.22" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.21" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-05.yaml b/deployments/trainee/gnb-cu-05.yaml new file mode 100644 index 0000000..9dfb336 --- /dev/null +++ b/deployments/trainee/gnb-cu-05.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-05 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-05 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-05 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-05 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-05-net,oai-cu-du-05-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-05 + - name: GNB_ID + value: "e05" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.16" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.16" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.25" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.24" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-06.yaml b/deployments/trainee/gnb-cu-06.yaml new file mode 100644 index 0000000..e03953c --- /dev/null +++ b/deployments/trainee/gnb-cu-06.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-06 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-06 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-06 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-06 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-06-net,oai-cu-du-06-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-06 + - name: GNB_ID + value: "e06" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.17" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.17" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.28" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.27" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-07.yaml b/deployments/trainee/gnb-cu-07.yaml new file mode 100644 index 0000000..78a9fed --- /dev/null +++ b/deployments/trainee/gnb-cu-07.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-07 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-07 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-07 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-07 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-07-net,oai-cu-du-07-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-07 + - name: GNB_ID + value: "e07" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.18" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.18" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.31" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.30" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-08.yaml b/deployments/trainee/gnb-cu-08.yaml new file mode 100644 index 0000000..9eb3023 --- /dev/null +++ b/deployments/trainee/gnb-cu-08.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-08 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-08 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-08 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-08 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-08-net,oai-cu-du-08-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-08 + - name: GNB_ID + value: "e08" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.19" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.19" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.34" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.33" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-09.yaml b/deployments/trainee/gnb-cu-09.yaml new file mode 100644 index 0000000..afe779e --- /dev/null +++ b/deployments/trainee/gnb-cu-09.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-09 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-09 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-09 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-09 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-09-net,oai-cu-du-09-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-09 + - name: GNB_ID + value: "e09" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.20" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.20" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.37" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.36" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-10.yaml b/deployments/trainee/gnb-cu-10.yaml new file mode 100644 index 0000000..d53a1f3 --- /dev/null +++ b/deployments/trainee/gnb-cu-10.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-10 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-10 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-10 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-10 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-10-net,oai-cu-du-10-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-10 + - name: GNB_ID + value: "e10" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.21" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.21" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.40" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.39" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-11.yaml b/deployments/trainee/gnb-cu-11.yaml new file mode 100644 index 0000000..889fc95 --- /dev/null +++ b/deployments/trainee/gnb-cu-11.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-11 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-11 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-11 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-11 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-11-net,oai-cu-du-11-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-11 + - name: GNB_ID + value: "e11" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.22" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.22" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.43" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.42" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-12.yaml b/deployments/trainee/gnb-cu-12.yaml new file mode 100644 index 0000000..b761a56 --- /dev/null +++ b/deployments/trainee/gnb-cu-12.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-12 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-12 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-12 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-12 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-12-net,oai-cu-du-12-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-12 + - name: GNB_ID + value: "e12" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.23" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.23" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.46" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.45" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-13.yaml b/deployments/trainee/gnb-cu-13.yaml new file mode 100644 index 0000000..81362f3 --- /dev/null +++ b/deployments/trainee/gnb-cu-13.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-13 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-13 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-13 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-13 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-13-net,oai-cu-du-13-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-13 + - name: GNB_ID + value: "e13" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.24" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.24" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.49" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.48" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-14.yaml b/deployments/trainee/gnb-cu-14.yaml new file mode 100644 index 0000000..52cc816 --- /dev/null +++ b/deployments/trainee/gnb-cu-14.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-14 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-14 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-14 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-14 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-14-net,oai-cu-du-14-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-14 + - name: GNB_ID + value: "e14" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.25" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.25" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.52" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.51" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-15.yaml b/deployments/trainee/gnb-cu-15.yaml new file mode 100644 index 0000000..c59c044 --- /dev/null +++ b/deployments/trainee/gnb-cu-15.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-15 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-15 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-15 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-15 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-15-net,oai-cu-du-15-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-15 + - name: GNB_ID + value: "e15" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.26" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.26" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.55" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.54" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-16.yaml b/deployments/trainee/gnb-cu-16.yaml new file mode 100644 index 0000000..e312149 --- /dev/null +++ b/deployments/trainee/gnb-cu-16.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-16 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-16 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-16 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-16 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-16-net,oai-cu-du-16-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-16 + - name: GNB_ID + value: "e16" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.27" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.27" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.58" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.57" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-17.yaml b/deployments/trainee/gnb-cu-17.yaml new file mode 100644 index 0000000..62fd3ba --- /dev/null +++ b/deployments/trainee/gnb-cu-17.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-17 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-17 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-17 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-17 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-17-net,oai-cu-du-17-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-17 + - name: GNB_ID + value: "e17" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.28" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.28" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.61" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.60" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-18.yaml b/deployments/trainee/gnb-cu-18.yaml new file mode 100644 index 0000000..36e2d50 --- /dev/null +++ b/deployments/trainee/gnb-cu-18.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-18 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-18 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-18 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-18 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-18-net,oai-cu-du-18-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-18 + - name: GNB_ID + value: "e18" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.29" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.29" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.64" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.63" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-19.yaml b/deployments/trainee/gnb-cu-19.yaml new file mode 100644 index 0000000..6177aaf --- /dev/null +++ b/deployments/trainee/gnb-cu-19.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-19 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-19 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-19 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-19 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-19-net,oai-cu-du-19-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-19 + - name: GNB_ID + value: "e19" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.30" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.30" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.67" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.66" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-20.yaml b/deployments/trainee/gnb-cu-20.yaml new file mode 100644 index 0000000..27f58f8 --- /dev/null +++ b/deployments/trainee/gnb-cu-20.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-20 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-20 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-20 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-20 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-20-net,oai-cu-du-20-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-20 + - name: GNB_ID + value: "e20" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.31" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.31" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.70" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.69" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-cu-21.yaml b/deployments/trainee/gnb-cu-21.yaml new file mode 100644 index 0000000..2f9fded --- /dev/null +++ b/deployments/trainee/gnb-cu-21.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]' + name: oai-cu-21 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-21 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-21 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-21 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-21-net,oai-cu-du-21-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-cu + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_CU + value: "1" + - name: GNB_NAME + value: gnb-cu-21 + - name: GNB_ID + value: "e21" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.32" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.32" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.73" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.72" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-01.yaml b/deployments/trainee/gnb-du-01.yaml index a189369..c53a407 100644 --- a/deployments/trainee/gnb-du-01.yaml +++ b/deployments/trainee/gnb-du-01.yaml @@ -1,67 +1,36 @@ -kind: DeploymentConfig -apiVersion: apps.openshift.io/v1 +kind: Deployment +apiVersion: apps/v1 metadata: annotations: app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-01"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-01"}]' name: oai-du-01 - generation: 28 namespace: infidel-test labels: - app: oai-du-01 app.kubernetes.io/part-of: trainee-01 spec: - strategy: - type: Rolling - rollingParams: - updatePeriodSeconds: 1 - intervalSeconds: 1 - timeoutSeconds: 600 - maxUnavailable: 0 - maxSurge: 1 - resources: {} - activeDeadlineSeconds: 21600 - triggers: - - type: ImageChange - imageChangeParams: - automatic: true - containerNames: - - inf-du - from: - kind: ImageStreamTag - namespace: infidel-test - name: 'oai-gnb-official:2023.w05' - - type: ConfigChange replicas: 1 - revisionHistoryLimit: 10 - test: false + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-01 template: metadata: - creationTimestamp: null labels: - app: oai-inf-du-sa + app.kubernetes.io/part-of: trainee-01 + creationTimestamp: null annotations: - k8s.v1.cni.cncf.io/networks: oai-du-cu-01-net + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-01-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml spec: restartPolicy: Always serviceAccountName: oai-sa schedulerName: default-scheduler terminationGracePeriodSeconds: 30 securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan containers: - name: inf-du resources: {} - volumeMounts: - - name: dev-tun - readOnly: true - mountPath: /dev/net/tun - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - imagePullPolicy: Always - securityContext: - add: - - SYS_ADMIN - - NET_ADMIN - privileged: true env: - name: RFSIMULATOR value: server @@ -105,6 +74,15 @@ spec: value: "2153" - name: USE_ADDITIONAL_OPTIONS value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' serviceAccount: oai-sa volumes: - name: dev-tun @@ -112,4 +90,10 @@ spec: path: /dev/net/tun type: '' dnsPolicy: ClusterFirst - + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-02.yaml b/deployments/trainee/gnb-du-02.yaml index 59d3371..6565a00 100644 --- a/deployments/trainee/gnb-du-02.yaml +++ b/deployments/trainee/gnb-du-02.yaml @@ -1,67 +1,36 @@ -kind: DeploymentConfig -apiVersion: apps.openshift.io/v1 +kind: Deployment +apiVersion: apps/v1 metadata: annotations: app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-02"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-02"}]' name: oai-du-02 - generation: 28 namespace: infidel-test labels: - app: oai-du-02 app.kubernetes.io/part-of: trainee-02 spec: - strategy: - type: Rolling - rollingParams: - updatePeriodSeconds: 1 - intervalSeconds: 1 - timeoutSeconds: 600 - maxUnavailable: 0 - maxSurge: 1 - resources: {} - activeDeadlineSeconds: 21600 - triggers: - - type: ImageChange - imageChangeParams: - automatic: true - containerNames: - - inf-du - from: - kind: ImageStreamTag - namespace: infidel-test - name: 'oai-gnb-official:2023.w05' - - type: ConfigChange replicas: 1 - revisionHistoryLimit: 10 - test: false + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-02 template: metadata: - creationTimestamp: null labels: - app: oai-inf-du-sa + app.kubernetes.io/part-of: trainee-02 + creationTimestamp: null annotations: - k8s.v1.cni.cncf.io/networks: oai-du-cu-02-net + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-02-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml spec: restartPolicy: Always serviceAccountName: oai-sa schedulerName: default-scheduler terminationGracePeriodSeconds: 30 securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan containers: - name: inf-du resources: {} - volumeMounts: - - name: dev-tun - readOnly: true - mountPath: /dev/net/tun - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - imagePullPolicy: Always - securityContext: - add: - - SYS_ADMIN - - NET_ADMIN - privileged: true env: - name: RFSIMULATOR value: server @@ -105,6 +74,15 @@ spec: value: "2153" - name: USE_ADDITIONAL_OPTIONS value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' serviceAccount: oai-sa volumes: - name: dev-tun @@ -112,4 +90,10 @@ spec: path: /dev/net/tun type: '' dnsPolicy: ClusterFirst - + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-03.yaml b/deployments/trainee/gnb-du-03.yaml index a7f1c4f..df47149 100644 --- a/deployments/trainee/gnb-du-03.yaml +++ b/deployments/trainee/gnb-du-03.yaml @@ -1,67 +1,36 @@ -kind: DeploymentConfig -apiVersion: apps.openshift.io/v1 +kind: Deployment +apiVersion: apps/v1 metadata: annotations: app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-03"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-03"}]' name: oai-du-03 - generation: 28 namespace: infidel-test labels: - app: oai-du-03 app.kubernetes.io/part-of: trainee-03 spec: - strategy: - type: Rolling - rollingParams: - updatePeriodSeconds: 1 - intervalSeconds: 1 - timeoutSeconds: 600 - maxUnavailable: 0 - maxSurge: 1 - resources: {} - activeDeadlineSeconds: 21600 - triggers: - - type: ImageChange - imageChangeParams: - automatic: true - containerNames: - - inf-du - from: - kind: ImageStreamTag - namespace: infidel-test - name: 'oai-gnb-official:2023.w05' - - type: ConfigChange replicas: 1 - revisionHistoryLimit: 10 - test: false + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-03 template: metadata: - creationTimestamp: null labels: - app: oai-inf-du-sa + app.kubernetes.io/part-of: trainee-03 + creationTimestamp: null annotations: - k8s.v1.cni.cncf.io/networks: oai-du-cu-03-net + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-03-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml spec: restartPolicy: Always serviceAccountName: oai-sa schedulerName: default-scheduler terminationGracePeriodSeconds: 30 securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan containers: - name: inf-du resources: {} - volumeMounts: - - name: dev-tun - readOnly: true - mountPath: /dev/net/tun - terminationMessagePath: /dev/termination-log - terminationMessagePolicy: File - imagePullPolicy: Always - securityContext: - add: - - SYS_ADMIN - - NET_ADMIN - privileged: true env: - name: RFSIMULATOR value: server @@ -105,6 +74,15 @@ spec: value: "2153" - name: USE_ADDITIONAL_OPTIONS value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' serviceAccount: oai-sa volumes: - name: dev-tun @@ -112,4 +90,10 @@ spec: path: /dev/net/tun type: '' dnsPolicy: ClusterFirst - + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-04.yaml b/deployments/trainee/gnb-du-04.yaml new file mode 100644 index 0000000..7fc1f21 --- /dev/null +++ b/deployments/trainee/gnb-du-04.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-04"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-04"}]' + name: oai-du-04 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-04 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-04 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-04 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-04-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-04 + - name: GNB_ID + value: "e04" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.15" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.15" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.22" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.21" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-05.yaml b/deployments/trainee/gnb-du-05.yaml new file mode 100644 index 0000000..b35f783 --- /dev/null +++ b/deployments/trainee/gnb-du-05.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-05"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-05"}]' + name: oai-du-05 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-05 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-05 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-05 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-05-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-05 + - name: GNB_ID + value: "e05" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.16" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.16" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.25" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.24" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-06.yaml b/deployments/trainee/gnb-du-06.yaml new file mode 100644 index 0000000..e4d8c17 --- /dev/null +++ b/deployments/trainee/gnb-du-06.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-06"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-06"}]' + name: oai-du-06 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-06 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-06 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-06 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-06-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-06 + - name: GNB_ID + value: "e06" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.17" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.17" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.28" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.27" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-07.yaml b/deployments/trainee/gnb-du-07.yaml new file mode 100644 index 0000000..2801cf5 --- /dev/null +++ b/deployments/trainee/gnb-du-07.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-07"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-07"}]' + name: oai-du-07 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-07 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-07 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-07 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-07-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-07 + - name: GNB_ID + value: "e07" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.18" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.18" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.31" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.30" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-08.yaml b/deployments/trainee/gnb-du-08.yaml new file mode 100644 index 0000000..dbf4c2b --- /dev/null +++ b/deployments/trainee/gnb-du-08.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-08"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-08"}]' + name: oai-du-08 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-08 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-08 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-08 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-08-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-08 + - name: GNB_ID + value: "e08" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.19" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.19" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.34" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.33" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-09.yaml b/deployments/trainee/gnb-du-09.yaml new file mode 100644 index 0000000..a7f321d --- /dev/null +++ b/deployments/trainee/gnb-du-09.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-09"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-09"}]' + name: oai-du-09 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-09 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-09 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-09 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-09-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-09 + - name: GNB_ID + value: "e09" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.20" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.20" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.37" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.36" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-10.yaml b/deployments/trainee/gnb-du-10.yaml new file mode 100644 index 0000000..bca2e54 --- /dev/null +++ b/deployments/trainee/gnb-du-10.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-10"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-10"}]' + name: oai-du-10 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-10 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-10 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-10 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-10-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-10 + - name: GNB_ID + value: "e10" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.21" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.21" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.40" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.39" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-11.yaml b/deployments/trainee/gnb-du-11.yaml new file mode 100644 index 0000000..6dfcc37 --- /dev/null +++ b/deployments/trainee/gnb-du-11.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-11"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-11"}]' + name: oai-du-11 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-11 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-11 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-11 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-11-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-11 + - name: GNB_ID + value: "e11" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.22" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.22" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.43" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.42" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-12.yaml b/deployments/trainee/gnb-du-12.yaml new file mode 100644 index 0000000..1d88309 --- /dev/null +++ b/deployments/trainee/gnb-du-12.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-12"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-12"}]' + name: oai-du-12 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-12 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-12 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-12 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-12-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-12 + - name: GNB_ID + value: "e12" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.23" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.23" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.46" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.45" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-13.yaml b/deployments/trainee/gnb-du-13.yaml new file mode 100644 index 0000000..623cc7c --- /dev/null +++ b/deployments/trainee/gnb-du-13.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-13"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-13"}]' + name: oai-du-13 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-13 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-13 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-13 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-13-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-13 + - name: GNB_ID + value: "e13" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.24" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.24" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.49" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.48" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-14.yaml b/deployments/trainee/gnb-du-14.yaml new file mode 100644 index 0000000..07b53c5 --- /dev/null +++ b/deployments/trainee/gnb-du-14.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-14"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-14"}]' + name: oai-du-14 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-14 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-14 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-14 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-14-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-14 + - name: GNB_ID + value: "e14" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.25" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.25" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.52" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.51" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-15.yaml b/deployments/trainee/gnb-du-15.yaml new file mode 100644 index 0000000..0af357f --- /dev/null +++ b/deployments/trainee/gnb-du-15.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-15"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-15"}]' + name: oai-du-15 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-15 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-15 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-15 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-15-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-15 + - name: GNB_ID + value: "e15" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.26" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.26" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.55" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.54" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-16.yaml b/deployments/trainee/gnb-du-16.yaml new file mode 100644 index 0000000..fe41bac --- /dev/null +++ b/deployments/trainee/gnb-du-16.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-16"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-16"}]' + name: oai-du-16 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-16 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-16 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-16 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-16-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-16 + - name: GNB_ID + value: "e16" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.27" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.27" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.58" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.57" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-17.yaml b/deployments/trainee/gnb-du-17.yaml new file mode 100644 index 0000000..07b9d34 --- /dev/null +++ b/deployments/trainee/gnb-du-17.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-17"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-17"}]' + name: oai-du-17 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-17 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-17 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-17 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-17-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-17 + - name: GNB_ID + value: "e17" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.28" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.28" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.61" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.60" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-18.yaml b/deployments/trainee/gnb-du-18.yaml new file mode 100644 index 0000000..5b35264 --- /dev/null +++ b/deployments/trainee/gnb-du-18.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-18"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-18"}]' + name: oai-du-18 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-18 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-18 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-18 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-18-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-18 + - name: GNB_ID + value: "e18" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.29" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.29" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.64" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.63" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-19.yaml b/deployments/trainee/gnb-du-19.yaml new file mode 100644 index 0000000..8b4e94c --- /dev/null +++ b/deployments/trainee/gnb-du-19.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-19"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-19"}]' + name: oai-du-19 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-19 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-19 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-19 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-19-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-19 + - name: GNB_ID + value: "e19" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.30" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.30" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.67" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.66" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-20.yaml b/deployments/trainee/gnb-du-20.yaml new file mode 100644 index 0000000..973011b --- /dev/null +++ b/deployments/trainee/gnb-du-20.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-20"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-20"}]' + name: oai-du-20 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-20 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-20 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-20 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-20-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-20 + - name: GNB_ID + value: "e20" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.31" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.31" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.70" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.69" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-du-21.yaml b/deployments/trainee/gnb-du-21.yaml new file mode 100644 index 0000000..92e6d9f --- /dev/null +++ b/deployments/trainee/gnb-du-21.yaml @@ -0,0 +1,99 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-21"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-21"}]' + name: oai-du-21 + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-21 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-21 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-21 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-du-cu-21-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + nodeSelector: + kubernetes.io/hostname: ocp-w-3.lab.ocp.lan + containers: + - name: inf-du + resources: {} + env: + - name: RFSIMULATOR + value: server + - name: USE_SA_TDD_DU + value: "1" + - name: GNB_NAME + value: gnb-du-21 + - name: GNB_ID + value: "e21" + - name: TAC + value: "1" + - name: MCC + value: "208" + - name: MNC + value: "99" + - name: MNC_LENGTH + value: "2" + - name: NSSAI_SST + value: "1" + - name: AMF_IP_ADDRESS + value: "192.168.34.11" + - name: UPF_IP_ADDRESS + value: "192.168.34.10" + - name: GNB_NGA_IF_NAME + value: net1 + - name: GNB_NGA_IP_ADDRESS + value: "192.168.34.32" + - name: GNB_NGU_IF_NAME + value: net1 + - name: GNB_NGU_IP_ADDRESS + value: "192.168.34.32" + - name: F1_IF_NAME + value: "net2" + - name: F1_DU_IP_ADDRESS + value: "192.168.35.73" + - name: F1_CU_IP_ADDRESS + value: "192.168.35.72" + - name: F1_DU_D_PORT + value: "2153" + - name: F1_CU_D_PORT + value: "2153" + - name: USE_ADDITIONAL_OPTIONS + value: --sa --rfsim --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-gnb' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-01.yaml b/deployments/trainee/gnb-ue-01.yaml index eb2bccb..dd2068a 100644 --- a/deployments/trainee/gnb-ue-01.yaml +++ b/deployments/trainee/gnb-ue-01.yaml @@ -64,7 +64,7 @@ spec: readOnly: true mountPath: /dev/net/tun terminationMessagePolicy: File - image: 'oaisoftwarealliance/oai-nr-ue:develop' + image: '192.168.22.1:5000/oai-nr-ue' serviceAccount: oai-sa volumes: - name: dev-tun diff --git a/deployments/trainee/gnb-ue-02.yaml b/deployments/trainee/gnb-ue-02.yaml index 9be423c..25ad795 100644 --- a/deployments/trainee/gnb-ue-02.yaml +++ b/deployments/trainee/gnb-ue-02.yaml @@ -64,7 +64,7 @@ spec: readOnly: true mountPath: /dev/net/tun terminationMessagePolicy: File - image: 'oaisoftwarealliance/oai-nr-ue:develop' + image: '192.168.22.1:5000/oai-nr-ue' serviceAccount: oai-sa volumes: - name: dev-tun diff --git a/deployments/trainee/gnb-ue-03.yaml b/deployments/trainee/gnb-ue-03.yaml index 7ead7ac..ed57055 100644 --- a/deployments/trainee/gnb-ue-03.yaml +++ b/deployments/trainee/gnb-ue-03.yaml @@ -64,7 +64,7 @@ spec: readOnly: true mountPath: /dev/net/tun terminationMessagePolicy: File - image: 'oaisoftwarealliance/oai-nr-ue:develop' + image: '192.168.22.1:5000/oai-nr-ue' serviceAccount: oai-sa volumes: - name: dev-tun diff --git a/deployments/trainee/gnb-ue-04.yaml b/deployments/trainee/gnb-ue-04.yaml new file mode 100644 index 0000000..f21d7b6 --- /dev/null +++ b/deployments/trainee/gnb-ue-04.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-04"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-04"}]' + name: oai-nr-ue-04 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-04 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-04 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-04 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-04-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000004' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.22 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-05.yaml b/deployments/trainee/gnb-ue-05.yaml new file mode 100644 index 0000000..f7e0679 --- /dev/null +++ b/deployments/trainee/gnb-ue-05.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-05"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-05"}]' + name: oai-nr-ue-05 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-05 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-05 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-05 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-05-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000005' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.25 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-06.yaml b/deployments/trainee/gnb-ue-06.yaml new file mode 100644 index 0000000..e3437c6 --- /dev/null +++ b/deployments/trainee/gnb-ue-06.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-06"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-06"}]' + name: oai-nr-ue-06 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-06 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-06 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-06 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-06-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000006' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.28 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-07.yaml b/deployments/trainee/gnb-ue-07.yaml new file mode 100644 index 0000000..b0f2a3d --- /dev/null +++ b/deployments/trainee/gnb-ue-07.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-07"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-07"}]' + name: oai-nr-ue-07 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-07 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-07 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-07 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-07-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000007' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.31 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-08.yaml b/deployments/trainee/gnb-ue-08.yaml new file mode 100644 index 0000000..73fcd91 --- /dev/null +++ b/deployments/trainee/gnb-ue-08.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-08"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-08"}]' + name: oai-nr-ue-08 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-08 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-08 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-08 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-08-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000008' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.34 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-09.yaml b/deployments/trainee/gnb-ue-09.yaml new file mode 100644 index 0000000..23da05c --- /dev/null +++ b/deployments/trainee/gnb-ue-09.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-09"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-09"}]' + name: oai-nr-ue-09 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-09 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-09 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-09 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-09-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000009' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.37 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-10.yaml b/deployments/trainee/gnb-ue-10.yaml new file mode 100644 index 0000000..b32641b --- /dev/null +++ b/deployments/trainee/gnb-ue-10.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-10"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-10"}]' + name: oai-nr-ue-10 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-10 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-10 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-10 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-10-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000010' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.40 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-11.yaml b/deployments/trainee/gnb-ue-11.yaml new file mode 100644 index 0000000..077c3ad --- /dev/null +++ b/deployments/trainee/gnb-ue-11.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-11"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-11"}]' + name: oai-nr-ue-11 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-11 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-11 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-11 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-11-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000011' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.43 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-12.yaml b/deployments/trainee/gnb-ue-12.yaml new file mode 100644 index 0000000..9d86c0c --- /dev/null +++ b/deployments/trainee/gnb-ue-12.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-12"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-12"}]' + name: oai-nr-ue-12 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-12 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-12 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-12 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-12-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000012' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.46 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-13.yaml b/deployments/trainee/gnb-ue-13.yaml new file mode 100644 index 0000000..566a53a --- /dev/null +++ b/deployments/trainee/gnb-ue-13.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-13"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-13"}]' + name: oai-nr-ue-13 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-13 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-13 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-13 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-13-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000013' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.49 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-14.yaml b/deployments/trainee/gnb-ue-14.yaml new file mode 100644 index 0000000..a7071a5 --- /dev/null +++ b/deployments/trainee/gnb-ue-14.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-14"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-14"}]' + name: oai-nr-ue-14 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-14 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-14 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-14 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-14-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000014' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.52 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-15.yaml b/deployments/trainee/gnb-ue-15.yaml new file mode 100644 index 0000000..04ff8b9 --- /dev/null +++ b/deployments/trainee/gnb-ue-15.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-15"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-15"}]' + name: oai-nr-ue-15 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-15 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-15 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-15 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-15-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000015' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.55 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-16.yaml b/deployments/trainee/gnb-ue-16.yaml new file mode 100644 index 0000000..bcfc7aa --- /dev/null +++ b/deployments/trainee/gnb-ue-16.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-16"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-16"}]' + name: oai-nr-ue-16 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-16 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-16 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-16 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-16-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000016' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.58 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-17.yaml b/deployments/trainee/gnb-ue-17.yaml new file mode 100644 index 0000000..0040ecf --- /dev/null +++ b/deployments/trainee/gnb-ue-17.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-17"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-17"}]' + name: oai-nr-ue-17 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-17 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-17 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-17 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-17-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000017' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.61 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-18.yaml b/deployments/trainee/gnb-ue-18.yaml new file mode 100644 index 0000000..ff440cc --- /dev/null +++ b/deployments/trainee/gnb-ue-18.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-18"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-18"}]' + name: oai-nr-ue-18 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-18 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-18 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-18 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-18-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000018' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.64 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-19.yaml b/deployments/trainee/gnb-ue-19.yaml new file mode 100644 index 0000000..a286edc --- /dev/null +++ b/deployments/trainee/gnb-ue-19.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-19"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-19"}]' + name: oai-nr-ue-19 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-19 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-19 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-19 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-19-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000019' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.67 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-20.yaml b/deployments/trainee/gnb-ue-20.yaml new file mode 100644 index 0000000..eef1ed4 --- /dev/null +++ b/deployments/trainee/gnb-ue-20.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-20"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-20"}]' + name: oai-nr-ue-20 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-20 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-20 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-20 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-20-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000020' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.70 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/deployments/trainee/gnb-ue-21.yaml b/deployments/trainee/gnb-ue-21.yaml new file mode 100644 index 0000000..104f327 --- /dev/null +++ b/deployments/trainee/gnb-ue-21.yaml @@ -0,0 +1,81 @@ +kind: Deployment +apiVersion: apps/v1 +metadata: + annotations: + app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-du-21"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-du-21"}]' + name: oai-nr-ue-21 + + namespace: infidel-test + labels: + app.kubernetes.io/part-of: trainee-21 +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/part-of: trainee-21 + template: + metadata: + labels: + app.kubernetes.io/part-of: trainee-21 + creationTimestamp: null + annotations: + k8s.v1.cni.cncf.io/networks: 'oai-ue-du-21-net' + kompose.cmd: kompose convert -f ../docker-compose.yaml + spec: + restartPolicy: Always + serviceAccountName: oai-sa + schedulerName: default-scheduler + terminationGracePeriodSeconds: 30 + securityContext: {} + containers: + - resources: {} + terminationMessagePath: /dev/termination-log + name: rfsim5g-oai-nr-ue + livenessProbe: + exec: + command: + - /bin/bash -c "pgrep nr-uesoftmodem" + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 5 + env: + - name: DNN + value: oai + - name: FULL_IMSI + value: '208990200000021' + - name: FULL_KEY + value: fec86ba6eb707ed08905757b1bb44b8f + - name: NSSAI_SST + value: '1' + - name: OPC + value: c42449363bbad02b66d16bc975d77cc1 + - name: RFSIMULATOR + value: 192.168.35.73 + - name: USE_ADDITIONAL_OPTIONS + value: >- + --sa --rfsim -r 106 --numerology 1 -C 3619200000 --nokrnmod + --log_config.global_log_options level,nocolor,time + securityContext: + privileged: true + imagePullPolicy: IfNotPresent + volumeMounts: + - name: dev-tun + readOnly: true + mountPath: /dev/net/tun + terminationMessagePolicy: File + image: '192.168.22.1:5000/oai-nr-ue' + serviceAccount: oai-sa + volumes: + - name: dev-tun + hostPath: + path: /dev/net/tun + type: '' + dnsPolicy: ClusterFirst + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600 diff --git a/input/imsi_data.csv b/input/imsi_data.csv index 6350077..68cf5a4 100644 --- a/input/imsi_data.csv +++ b/input/imsi_data.csv @@ -8,3 +8,14 @@ 08,208990200000008,fec86ba6eb707ed08905757b1bb44b8f,c42449363bbad02b66d16bc975d77cc1 09,208990200000009,fec86ba6eb707ed08905757b1bb44b8f,c42449363bbad02b66d16bc975d77cc1 10,208990200000010,fec86ba6eb707ed08905757b1bb44b8f,c42449363bbad02b66d16bc975d77cc1 +11,208990200000011,fec86ba6eb707ed08905757b1bb44b8f,c42449363bbad02b66d16bc975d77cc1 +12,208990200000012,fec86ba6eb707ed08905757b1bb44b8f,c42449363bbad02b66d16bc975d77cc1 +13,208990200000013,fec86ba6eb707ed08905757b1bb44b8f,c42449363bbad02b66d16bc975d77cc1 +14,208990200000014,fec86ba6eb707ed08905757b1bb44b8f,c42449363bbad02b66d16bc975d77cc1 +15,208990200000015,fec86ba6eb707ed08905757b1bb44b8f,c42449363bbad02b66d16bc975d77cc1 +16,208990200000016,fec86ba6eb707ed08905757b1bb44b8f,c42449363bbad02b66d16bc975d77cc1 +17,208990200000017,fec86ba6eb707ed08905757b1bb44b8f,c42449363bbad02b66d16bc975d77cc1 +18,208990200000018,fec86ba6eb707ed08905757b1bb44b8f,c42449363bbad02b66d16bc975d77cc1 +19,208990200000019,fec86ba6eb707ed08905757b1bb44b8f,c42449363bbad02b66d16bc975d77cc1 +20,208990200000020,fec86ba6eb707ed08905757b1bb44b8f,c42449363bbad02b66d16bc975d77cc1 +21,208990200000021,fec86ba6eb707ed08905757b1bb44b8f,c42449363bbad02b66d16bc975d77cc1 diff --git a/input/main_data.csv b/input/main_data.csv index ad629a7..3c1bfd6 100644 --- a/input/main_data.csv +++ b/input/main_data.csv @@ -1,3 +1,21 @@ 01,192.168.34.12,192.168.35.12,192.168.35.13,192.168.35.14 02,192.168.34.13,192.168.35.15,192.168.35.16,192.168.35.17 03,192.168.34.14,192.168.35.18,192.168.35.19,192.168.35.20 +04,192.168.34.15,192.168.35.21,192.168.35.22,192.168.35.23 +05,192.168.34.16,192.168.35.24,192.168.35.25,192.168.35.26 +06,192.168.34.17,192.168.35.27,192.168.35.28,192.168.35.29 +07,192.168.34.18,192.168.35.30,192.168.35.31,192.168.35.32 +08,192.168.34.19,192.168.35.33,192.168.35.34,192.168.35.35 +09,192.168.34.20,192.168.35.36,192.168.35.37,192.168.35.38 +10,192.168.34.21,192.168.35.39,192.168.35.40,192.168.35.41 +11,192.168.34.22,192.168.35.42,192.168.35.43,192.168.35.44 +12,192.168.34.23,192.168.35.45,192.168.35.46,192.168.35.47 +13,192.168.34.24,192.168.35.48,192.168.35.49,192.168.35.50 +14,192.168.34.25,192.168.35.51,192.168.35.52,192.168.35.53 +15,192.168.34.26,192.168.35.54,192.168.35.55,192.168.35.56 +16,192.168.34.27,192.168.35.57,192.168.35.58,192.168.35.59 +17,192.168.34.28,192.168.35.60,192.168.35.61,192.168.35.62 +18,192.168.34.29,192.168.35.63,192.168.35.64,192.168.35.65 +19,192.168.34.30,192.168.35.66,192.168.35.67,192.168.35.68 +20,192.168.34.31,192.168.35.69,192.168.35.70,192.168.35.71 +21,192.168.34.32,192.168.35.72,192.168.35.73,192.168.35.74 diff --git a/net/core/amf-n2.yaml b/net/core/amf-n2.yaml index c0c0d87..5ffbf77 100644 --- a/net/core/amf-n2.yaml +++ b/net/core/amf-n2.yaml @@ -5,6 +5,6 @@ metadata: namespace: infidel-test spec: config: '{ "cniVersion": "0.3.1", "name": "oai-amf-n2-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.11/24" + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.11/24" } ] } }' diff --git a/net/core/amf.yaml b/net/core/amf.yaml index 56349fd..806bfd6 100644 --- a/net/core/amf.yaml +++ b/net/core/amf.yaml @@ -5,6 +5,6 @@ metadata: namespace: infidel-test spec: config: '{ "cniVersion": "0.3.1", "name": "oai-amf-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.11/24" + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.11/24" } ] } }' diff --git a/net/core/ausf.yaml b/net/core/ausf.yaml index 4f9acf8..b32f564 100644 --- a/net/core/ausf.yaml +++ b/net/core/ausf.yaml @@ -5,6 +5,6 @@ metadata: namespace: infidel-test spec: config: '{ "cniVersion": "0.3.1", "name": "oai-ausf-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.18/24" + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.18/24" } ] } }' diff --git a/net/core/db.yaml b/net/core/db.yaml index 7cd6b15..80d625f 100644 --- a/net/core/db.yaml +++ b/net/core/db.yaml @@ -5,6 +5,6 @@ metadata: namespace: infidel-test spec: config: '{ "cniVersion": "0.3.1", "name": "oai-db-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.16/24" + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.16/24" } ] } }' diff --git a/net/core/dn.yaml b/net/core/dn.yaml index db65879..4fef4cd 100644 --- a/net/core/dn.yaml +++ b/net/core/dn.yaml @@ -5,6 +5,6 @@ metadata: namespace: infidel-test spec: config: '{ "cniVersion": "0.3.1", "name": "oai-dn-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.17/24" + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.17/24" } ] } }' diff --git a/net/core/nrf.yaml b/net/core/nrf.yaml index 31e9d70..bbd29c1 100644 --- a/net/core/nrf.yaml +++ b/net/core/nrf.yaml @@ -5,6 +5,6 @@ metadata: namespace: infidel-test spec: config: '{ "cniVersion": "0.3.1", "name": "oai-nrf-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.14/24" + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.14/24" } ] } }' diff --git a/net/core/smf.yaml b/net/core/smf.yaml index 0e66ca7..7954d50 100644 --- a/net/core/smf.yaml +++ b/net/core/smf.yaml @@ -5,6 +5,6 @@ metadata: namespace: infidel-test spec: config: '{ "cniVersion": "0.3.1", "name": "oai-smf-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.12/24" + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.12/24" } ] } }' diff --git a/net/core/udm.yaml b/net/core/udm.yaml index 3c4b976..7fe7ff5 100644 --- a/net/core/udm.yaml +++ b/net/core/udm.yaml @@ -5,6 +5,6 @@ metadata: namespace: infidel-test spec: config: '{ "cniVersion": "0.3.1", "name": "oai-udm-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.19/24" + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.19/24" } ] } }' diff --git a/net/core/udr.yaml b/net/core/udr.yaml index dd6eb73..e82a8e4 100644 --- a/net/core/udr.yaml +++ b/net/core/udr.yaml @@ -5,6 +5,6 @@ metadata: namespace: infidel-test spec: config: '{ "cniVersion": "0.3.1", "name": "oai-udr-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.20/24" + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.20/24" } ] } }' diff --git a/net/core/upf-n3.yaml b/net/core/upf-n3.yaml index 1d4f145..4ee59bf 100644 --- a/net/core/upf-n3.yaml +++ b/net/core/upf-n3.yaml @@ -5,6 +5,6 @@ metadata: namespace: infidel-test spec: config: '{ "cniVersion": "0.3.1", "name": "oai-upf-n3-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.10/24" + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.10/24" } ] } }' diff --git a/net/core/upf.yaml b/net/core/upf.yaml index 23617cb..bf5eefe 100644 --- a/net/core/upf.yaml +++ b/net/core/upf.yaml @@ -5,6 +5,6 @@ metadata: namespace: infidel-test spec: config: '{ "cniVersion": "0.3.1", "name": "oai-upf-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.15/24" + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.33.15/24" } ] } }' diff --git a/net/gnb/cu-amf-01.yaml b/net/gnb/cu-amf-01.yaml index 7a25e69..06f5325 100644 --- a/net/gnb/cu-amf-01.yaml +++ b/net/gnb/cu-amf-01.yaml @@ -4,7 +4,7 @@ metadata: name: oai-cu-amf-01-net namespace: infidel-test spec: - config: '{ "cniVersion": "0.3.1", "name": "oai-01-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.12/24" + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-01-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.12/24" } ] } }' diff --git a/net/gnb/cu-amf-02.yaml b/net/gnb/cu-amf-02.yaml index 0c37ad6..f1e3f26 100644 --- a/net/gnb/cu-amf-02.yaml +++ b/net/gnb/cu-amf-02.yaml @@ -4,7 +4,7 @@ metadata: name: oai-cu-amf-02-net namespace: infidel-test spec: - config: '{ "cniVersion": "0.3.1", "name": "oai-02-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.13/24" + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-02-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.13/24" } ] } }' diff --git a/net/gnb/cu-amf-03.yaml b/net/gnb/cu-amf-03.yaml index ed85cff..d353046 100644 --- a/net/gnb/cu-amf-03.yaml +++ b/net/gnb/cu-amf-03.yaml @@ -4,7 +4,7 @@ metadata: name: oai-cu-amf-03-net namespace: infidel-test spec: - config: '{ "cniVersion": "0.3.1", "name": "oai-03-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.14/24" + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-03-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.14/24" } ] } }' diff --git a/net/gnb/cu-amf-04.yaml b/net/gnb/cu-amf-04.yaml new file mode 100644 index 0000000..1e6e8e0 --- /dev/null +++ b/net/gnb/cu-amf-04.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-04-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-04-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.15/24" + } ] } }' + diff --git a/net/gnb/cu-amf-05.yaml b/net/gnb/cu-amf-05.yaml new file mode 100644 index 0000000..b41d654 --- /dev/null +++ b/net/gnb/cu-amf-05.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-05-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-05-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.16/24" + } ] } }' + diff --git a/net/gnb/cu-amf-06.yaml b/net/gnb/cu-amf-06.yaml new file mode 100644 index 0000000..4168ce4 --- /dev/null +++ b/net/gnb/cu-amf-06.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-06-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-06-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.17/24" + } ] } }' + diff --git a/net/gnb/cu-amf-07.yaml b/net/gnb/cu-amf-07.yaml new file mode 100644 index 0000000..becd025 --- /dev/null +++ b/net/gnb/cu-amf-07.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-07-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-07-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.18/24" + } ] } }' + diff --git a/net/gnb/cu-amf-08.yaml b/net/gnb/cu-amf-08.yaml new file mode 100644 index 0000000..b6b0d64 --- /dev/null +++ b/net/gnb/cu-amf-08.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-08-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-08-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.19/24" + } ] } }' + diff --git a/net/gnb/cu-amf-09.yaml b/net/gnb/cu-amf-09.yaml new file mode 100644 index 0000000..1636158 --- /dev/null +++ b/net/gnb/cu-amf-09.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-09-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-09-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.20/24" + } ] } }' + diff --git a/net/gnb/cu-amf-10.yaml b/net/gnb/cu-amf-10.yaml new file mode 100644 index 0000000..c1e675c --- /dev/null +++ b/net/gnb/cu-amf-10.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-10-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-10-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.21/24" + } ] } }' + diff --git a/net/gnb/cu-amf-11.yaml b/net/gnb/cu-amf-11.yaml new file mode 100644 index 0000000..cfbbe0b --- /dev/null +++ b/net/gnb/cu-amf-11.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-11-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-11-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.22/24" + } ] } }' + diff --git a/net/gnb/cu-amf-12.yaml b/net/gnb/cu-amf-12.yaml new file mode 100644 index 0000000..9ab574c --- /dev/null +++ b/net/gnb/cu-amf-12.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-12-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-12-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.23/24" + } ] } }' + diff --git a/net/gnb/cu-amf-13.yaml b/net/gnb/cu-amf-13.yaml new file mode 100644 index 0000000..d8a3f8c --- /dev/null +++ b/net/gnb/cu-amf-13.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-13-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-13-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.24/24" + } ] } }' + diff --git a/net/gnb/cu-amf-14.yaml b/net/gnb/cu-amf-14.yaml new file mode 100644 index 0000000..1ad7baa --- /dev/null +++ b/net/gnb/cu-amf-14.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-14-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-14-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.25/24" + } ] } }' + diff --git a/net/gnb/cu-amf-15.yaml b/net/gnb/cu-amf-15.yaml new file mode 100644 index 0000000..dddcda2 --- /dev/null +++ b/net/gnb/cu-amf-15.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-15-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-15-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.26/24" + } ] } }' + diff --git a/net/gnb/cu-amf-16.yaml b/net/gnb/cu-amf-16.yaml new file mode 100644 index 0000000..f29524f --- /dev/null +++ b/net/gnb/cu-amf-16.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-16-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-16-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.27/24" + } ] } }' + diff --git a/net/gnb/cu-amf-17.yaml b/net/gnb/cu-amf-17.yaml new file mode 100644 index 0000000..3ad855e --- /dev/null +++ b/net/gnb/cu-amf-17.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-17-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-17-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.28/24" + } ] } }' + diff --git a/net/gnb/cu-amf-18.yaml b/net/gnb/cu-amf-18.yaml new file mode 100644 index 0000000..11bd68a --- /dev/null +++ b/net/gnb/cu-amf-18.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-18-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-18-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.29/24" + } ] } }' + diff --git a/net/gnb/cu-amf-19.yaml b/net/gnb/cu-amf-19.yaml new file mode 100644 index 0000000..a0898dc --- /dev/null +++ b/net/gnb/cu-amf-19.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-19-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-19-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.30/24" + } ] } }' + diff --git a/net/gnb/cu-amf-20.yaml b/net/gnb/cu-amf-20.yaml new file mode 100644 index 0000000..14c604b --- /dev/null +++ b/net/gnb/cu-amf-20.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-20-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-20-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.31/24" + } ] } }' + diff --git a/net/gnb/cu-amf-21.yaml b/net/gnb/cu-amf-21.yaml new file mode 100644 index 0000000..e1c4e57 --- /dev/null +++ b/net/gnb/cu-amf-21.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-amf-21-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-amf-21-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.34.32/24" + } ] } }' + diff --git a/net/gnb/cu-du-01.yaml b/net/gnb/cu-du-01.yaml index 3262510..7ffe1b7 100644 --- a/net/gnb/cu-du-01.yaml +++ b/net/gnb/cu-du-01.yaml @@ -4,7 +4,7 @@ metadata: name: oai-cu-du-01-net namespace: infidel-test spec: - config: '{ "cniVersion": "0.3.1", "name": "oai-01-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.12/24" + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-01-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.12/24" } ] } }' diff --git a/net/gnb/cu-du-02.yaml b/net/gnb/cu-du-02.yaml index db5a00f..026c5c4 100644 --- a/net/gnb/cu-du-02.yaml +++ b/net/gnb/cu-du-02.yaml @@ -4,7 +4,7 @@ metadata: name: oai-cu-du-02-net namespace: infidel-test spec: - config: '{ "cniVersion": "0.3.1", "name": "oai-02-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.15/24" + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-02-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.15/24" } ] } }' diff --git a/net/gnb/cu-du-03.yaml b/net/gnb/cu-du-03.yaml index e400cab..6703b8b 100644 --- a/net/gnb/cu-du-03.yaml +++ b/net/gnb/cu-du-03.yaml @@ -4,7 +4,7 @@ metadata: name: oai-cu-du-03-net namespace: infidel-test spec: - config: '{ "cniVersion": "0.3.1", "name": "oai-03-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.18/24" + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-03-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.18/24" } ] } }' diff --git a/net/gnb/cu-du-04.yaml b/net/gnb/cu-du-04.yaml new file mode 100644 index 0000000..30f4771 --- /dev/null +++ b/net/gnb/cu-du-04.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-04-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-04-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.21/24" + } ] } }' + diff --git a/net/gnb/cu-du-05.yaml b/net/gnb/cu-du-05.yaml new file mode 100644 index 0000000..492ccd7 --- /dev/null +++ b/net/gnb/cu-du-05.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-05-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-05-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.24/24" + } ] } }' + diff --git a/net/gnb/cu-du-06.yaml b/net/gnb/cu-du-06.yaml new file mode 100644 index 0000000..b55202b --- /dev/null +++ b/net/gnb/cu-du-06.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-06-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-06-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.27/24" + } ] } }' + diff --git a/net/gnb/cu-du-07.yaml b/net/gnb/cu-du-07.yaml new file mode 100644 index 0000000..9b0a3b0 --- /dev/null +++ b/net/gnb/cu-du-07.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-07-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-07-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.30/24" + } ] } }' + diff --git a/net/gnb/cu-du-08.yaml b/net/gnb/cu-du-08.yaml new file mode 100644 index 0000000..5d3de6d --- /dev/null +++ b/net/gnb/cu-du-08.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-08-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-08-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.33/24" + } ] } }' + diff --git a/net/gnb/cu-du-09.yaml b/net/gnb/cu-du-09.yaml new file mode 100644 index 0000000..f6b945c --- /dev/null +++ b/net/gnb/cu-du-09.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-09-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-09-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.36/24" + } ] } }' + diff --git a/net/gnb/cu-du-10.yaml b/net/gnb/cu-du-10.yaml new file mode 100644 index 0000000..816cb72 --- /dev/null +++ b/net/gnb/cu-du-10.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-10-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-10-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.39/24" + } ] } }' + diff --git a/net/gnb/cu-du-11.yaml b/net/gnb/cu-du-11.yaml new file mode 100644 index 0000000..6378ffc --- /dev/null +++ b/net/gnb/cu-du-11.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-11-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-11-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.42/24" + } ] } }' + diff --git a/net/gnb/cu-du-12.yaml b/net/gnb/cu-du-12.yaml new file mode 100644 index 0000000..20a0d9e --- /dev/null +++ b/net/gnb/cu-du-12.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-12-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-12-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.45/24" + } ] } }' + diff --git a/net/gnb/cu-du-13.yaml b/net/gnb/cu-du-13.yaml new file mode 100644 index 0000000..ecf5b63 --- /dev/null +++ b/net/gnb/cu-du-13.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-13-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-13-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.48/24" + } ] } }' + diff --git a/net/gnb/cu-du-14.yaml b/net/gnb/cu-du-14.yaml new file mode 100644 index 0000000..ee11dab --- /dev/null +++ b/net/gnb/cu-du-14.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-14-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-14-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.51/24" + } ] } }' + diff --git a/net/gnb/cu-du-15.yaml b/net/gnb/cu-du-15.yaml new file mode 100644 index 0000000..37ef5fa --- /dev/null +++ b/net/gnb/cu-du-15.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-15-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-15-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.54/24" + } ] } }' + diff --git a/net/gnb/cu-du-16.yaml b/net/gnb/cu-du-16.yaml new file mode 100644 index 0000000..ad64086 --- /dev/null +++ b/net/gnb/cu-du-16.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-16-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-16-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.57/24" + } ] } }' + diff --git a/net/gnb/cu-du-17.yaml b/net/gnb/cu-du-17.yaml new file mode 100644 index 0000000..c1f224c --- /dev/null +++ b/net/gnb/cu-du-17.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-17-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-17-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.60/24" + } ] } }' + diff --git a/net/gnb/cu-du-18.yaml b/net/gnb/cu-du-18.yaml new file mode 100644 index 0000000..e759318 --- /dev/null +++ b/net/gnb/cu-du-18.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-18-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-18-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.63/24" + } ] } }' + diff --git a/net/gnb/cu-du-19.yaml b/net/gnb/cu-du-19.yaml new file mode 100644 index 0000000..8bc67b4 --- /dev/null +++ b/net/gnb/cu-du-19.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-19-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-19-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.66/24" + } ] } }' + diff --git a/net/gnb/cu-du-20.yaml b/net/gnb/cu-du-20.yaml new file mode 100644 index 0000000..3a7914f --- /dev/null +++ b/net/gnb/cu-du-20.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-20-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-20-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.69/24" + } ] } }' + diff --git a/net/gnb/cu-du-21.yaml b/net/gnb/cu-du-21.yaml new file mode 100644 index 0000000..9c7a208 --- /dev/null +++ b/net/gnb/cu-du-21.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-cu-du-21-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-cu-du-21-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.72/24" + } ] } }' + diff --git a/net/gnb/du-cu-01.yaml b/net/gnb/du-cu-01.yaml index 6f4d7b9..d641d16 100644 --- a/net/gnb/du-cu-01.yaml +++ b/net/gnb/du-cu-01.yaml @@ -4,7 +4,7 @@ metadata: name: oai-du-cu-01-net namespace: infidel-test spec: - config: '{ "cniVersion": "0.3.1", "name": "oai-01-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.13/24" + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-01-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.13/24" } ] } }' diff --git a/net/gnb/du-cu-02.yaml b/net/gnb/du-cu-02.yaml index 28bd5c3..01d3a18 100644 --- a/net/gnb/du-cu-02.yaml +++ b/net/gnb/du-cu-02.yaml @@ -4,7 +4,7 @@ metadata: name: oai-du-cu-02-net namespace: infidel-test spec: - config: '{ "cniVersion": "0.3.1", "name": "oai-02-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.16/24" + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-02-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.16/24" } ] } }' diff --git a/net/gnb/du-cu-03.yaml b/net/gnb/du-cu-03.yaml index 1050329..803fa7e 100644 --- a/net/gnb/du-cu-03.yaml +++ b/net/gnb/du-cu-03.yaml @@ -4,7 +4,7 @@ metadata: name: oai-du-cu-03-net namespace: infidel-test spec: - config: '{ "cniVersion": "0.3.1", "name": "oai-03-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.19/24" + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-03-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.19/24" } ] } }' diff --git a/net/gnb/du-cu-04.yaml b/net/gnb/du-cu-04.yaml new file mode 100644 index 0000000..44d5a99 --- /dev/null +++ b/net/gnb/du-cu-04.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-04-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-04-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.22/24" + } ] } }' + diff --git a/net/gnb/du-cu-05.yaml b/net/gnb/du-cu-05.yaml new file mode 100644 index 0000000..aef2fb9 --- /dev/null +++ b/net/gnb/du-cu-05.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-05-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-05-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.25/24" + } ] } }' + diff --git a/net/gnb/du-cu-06.yaml b/net/gnb/du-cu-06.yaml new file mode 100644 index 0000000..b5944ca --- /dev/null +++ b/net/gnb/du-cu-06.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-06-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-06-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.28/24" + } ] } }' + diff --git a/net/gnb/du-cu-07.yaml b/net/gnb/du-cu-07.yaml new file mode 100644 index 0000000..fdf30f3 --- /dev/null +++ b/net/gnb/du-cu-07.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-07-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-07-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.31/24" + } ] } }' + diff --git a/net/gnb/du-cu-08.yaml b/net/gnb/du-cu-08.yaml new file mode 100644 index 0000000..6436ad3 --- /dev/null +++ b/net/gnb/du-cu-08.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-08-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-08-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.34/24" + } ] } }' + diff --git a/net/gnb/du-cu-09.yaml b/net/gnb/du-cu-09.yaml new file mode 100644 index 0000000..15ba67c --- /dev/null +++ b/net/gnb/du-cu-09.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-09-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-09-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.37/24" + } ] } }' + diff --git a/net/gnb/du-cu-10.yaml b/net/gnb/du-cu-10.yaml new file mode 100644 index 0000000..c4ca36e --- /dev/null +++ b/net/gnb/du-cu-10.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-10-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-10-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.40/24" + } ] } }' + diff --git a/net/gnb/du-cu-11.yaml b/net/gnb/du-cu-11.yaml new file mode 100644 index 0000000..3bb926d --- /dev/null +++ b/net/gnb/du-cu-11.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-11-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-11-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.43/24" + } ] } }' + diff --git a/net/gnb/du-cu-12.yaml b/net/gnb/du-cu-12.yaml new file mode 100644 index 0000000..90a6750 --- /dev/null +++ b/net/gnb/du-cu-12.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-12-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-12-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.46/24" + } ] } }' + diff --git a/net/gnb/du-cu-13.yaml b/net/gnb/du-cu-13.yaml new file mode 100644 index 0000000..8400180 --- /dev/null +++ b/net/gnb/du-cu-13.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-13-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-13-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.49/24" + } ] } }' + diff --git a/net/gnb/du-cu-14.yaml b/net/gnb/du-cu-14.yaml new file mode 100644 index 0000000..4acd508 --- /dev/null +++ b/net/gnb/du-cu-14.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-14-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-14-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.52/24" + } ] } }' + diff --git a/net/gnb/du-cu-15.yaml b/net/gnb/du-cu-15.yaml new file mode 100644 index 0000000..c15b5f7 --- /dev/null +++ b/net/gnb/du-cu-15.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-15-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-15-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.55/24" + } ] } }' + diff --git a/net/gnb/du-cu-16.yaml b/net/gnb/du-cu-16.yaml new file mode 100644 index 0000000..5fd026b --- /dev/null +++ b/net/gnb/du-cu-16.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-16-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-16-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.58/24" + } ] } }' + diff --git a/net/gnb/du-cu-17.yaml b/net/gnb/du-cu-17.yaml new file mode 100644 index 0000000..63151c5 --- /dev/null +++ b/net/gnb/du-cu-17.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-17-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-17-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.61/24" + } ] } }' + diff --git a/net/gnb/du-cu-18.yaml b/net/gnb/du-cu-18.yaml new file mode 100644 index 0000000..8dfefe0 --- /dev/null +++ b/net/gnb/du-cu-18.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-18-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-18-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.64/24" + } ] } }' + diff --git a/net/gnb/du-cu-19.yaml b/net/gnb/du-cu-19.yaml new file mode 100644 index 0000000..7b0a9d5 --- /dev/null +++ b/net/gnb/du-cu-19.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-19-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-19-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.67/24" + } ] } }' + diff --git a/net/gnb/du-cu-20.yaml b/net/gnb/du-cu-20.yaml new file mode 100644 index 0000000..7502692 --- /dev/null +++ b/net/gnb/du-cu-20.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-20-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-20-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.70/24" + } ] } }' + diff --git a/net/gnb/du-cu-21.yaml b/net/gnb/du-cu-21.yaml new file mode 100644 index 0000000..ab49306 --- /dev/null +++ b/net/gnb/du-cu-21.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-du-cu-21-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-du-cu-21-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.73/24" + } ] } }' + diff --git a/net/gnb/ue-du-01.yaml b/net/gnb/ue-du-01.yaml index 62b69a5..7c99c85 100644 --- a/net/gnb/ue-du-01.yaml +++ b/net/gnb/ue-du-01.yaml @@ -4,7 +4,7 @@ metadata: name: oai-ue-du-01-net namespace: infidel-test spec: - config: '{ "cniVersion": "0.3.1", "name": "oai-01-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.14/24" + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-01-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.14/24" } ] } }' diff --git a/net/gnb/ue-du-02.yaml b/net/gnb/ue-du-02.yaml index 645cbb7..0bdacfe 100644 --- a/net/gnb/ue-du-02.yaml +++ b/net/gnb/ue-du-02.yaml @@ -4,7 +4,7 @@ metadata: name: oai-ue-du-02-net namespace: infidel-test spec: - config: '{ "cniVersion": "0.3.1", "name": "oai-02-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.17/24" + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-02-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.17/24" } ] } }' diff --git a/net/gnb/ue-du-03.yaml b/net/gnb/ue-du-03.yaml index 51d90f1..2f8a491 100644 --- a/net/gnb/ue-du-03.yaml +++ b/net/gnb/ue-du-03.yaml @@ -4,7 +4,7 @@ metadata: name: oai-ue-du-03-net namespace: infidel-test spec: - config: '{ "cniVersion": "0.3.1", "name": "oai-03-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.20/24" + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-03-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.20/24" } ] } }' diff --git a/net/gnb/ue-du-04.yaml b/net/gnb/ue-du-04.yaml new file mode 100644 index 0000000..ab0eeef --- /dev/null +++ b/net/gnb/ue-du-04.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-04-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-04-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.23/24" + } ] } }' + diff --git a/net/gnb/ue-du-05.yaml b/net/gnb/ue-du-05.yaml new file mode 100644 index 0000000..ae5ad22 --- /dev/null +++ b/net/gnb/ue-du-05.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-05-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-05-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.26/24" + } ] } }' + diff --git a/net/gnb/ue-du-06.yaml b/net/gnb/ue-du-06.yaml new file mode 100644 index 0000000..c9bc4e4 --- /dev/null +++ b/net/gnb/ue-du-06.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-06-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-06-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.29/24" + } ] } }' + diff --git a/net/gnb/ue-du-07.yaml b/net/gnb/ue-du-07.yaml new file mode 100644 index 0000000..ba4433a --- /dev/null +++ b/net/gnb/ue-du-07.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-07-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-07-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.32/24" + } ] } }' + diff --git a/net/gnb/ue-du-08.yaml b/net/gnb/ue-du-08.yaml new file mode 100644 index 0000000..98ecaca --- /dev/null +++ b/net/gnb/ue-du-08.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-08-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-08-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.35/24" + } ] } }' + diff --git a/net/gnb/ue-du-09.yaml b/net/gnb/ue-du-09.yaml new file mode 100644 index 0000000..dd81036 --- /dev/null +++ b/net/gnb/ue-du-09.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-09-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-09-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.38/24" + } ] } }' + diff --git a/net/gnb/ue-du-10.yaml b/net/gnb/ue-du-10.yaml new file mode 100644 index 0000000..aad6a49 --- /dev/null +++ b/net/gnb/ue-du-10.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-10-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-10-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.41/24" + } ] } }' + diff --git a/net/gnb/ue-du-11.yaml b/net/gnb/ue-du-11.yaml new file mode 100644 index 0000000..d2d41cc --- /dev/null +++ b/net/gnb/ue-du-11.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-11-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-11-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.44/24" + } ] } }' + diff --git a/net/gnb/ue-du-12.yaml b/net/gnb/ue-du-12.yaml new file mode 100644 index 0000000..420e34a --- /dev/null +++ b/net/gnb/ue-du-12.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-12-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-12-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.47/24" + } ] } }' + diff --git a/net/gnb/ue-du-13.yaml b/net/gnb/ue-du-13.yaml new file mode 100644 index 0000000..e98cff3 --- /dev/null +++ b/net/gnb/ue-du-13.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-13-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-13-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.50/24" + } ] } }' + diff --git a/net/gnb/ue-du-14.yaml b/net/gnb/ue-du-14.yaml new file mode 100644 index 0000000..5401568 --- /dev/null +++ b/net/gnb/ue-du-14.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-14-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-14-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.53/24" + } ] } }' + diff --git a/net/gnb/ue-du-15.yaml b/net/gnb/ue-du-15.yaml new file mode 100644 index 0000000..02b3ed6 --- /dev/null +++ b/net/gnb/ue-du-15.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-15-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-15-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.56/24" + } ] } }' + diff --git a/net/gnb/ue-du-16.yaml b/net/gnb/ue-du-16.yaml new file mode 100644 index 0000000..4b6eda5 --- /dev/null +++ b/net/gnb/ue-du-16.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-16-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-16-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.59/24" + } ] } }' + diff --git a/net/gnb/ue-du-17.yaml b/net/gnb/ue-du-17.yaml new file mode 100644 index 0000000..7f926a0 --- /dev/null +++ b/net/gnb/ue-du-17.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-17-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-17-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.62/24" + } ] } }' + diff --git a/net/gnb/ue-du-18.yaml b/net/gnb/ue-du-18.yaml new file mode 100644 index 0000000..3d861dc --- /dev/null +++ b/net/gnb/ue-du-18.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-18-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-18-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.65/24" + } ] } }' + diff --git a/net/gnb/ue-du-19.yaml b/net/gnb/ue-du-19.yaml new file mode 100644 index 0000000..7cd6419 --- /dev/null +++ b/net/gnb/ue-du-19.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-19-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-19-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.68/24" + } ] } }' + diff --git a/net/gnb/ue-du-20.yaml b/net/gnb/ue-du-20.yaml new file mode 100644 index 0000000..093b73b --- /dev/null +++ b/net/gnb/ue-du-20.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-20-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-20-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.71/24" + } ] } }' + diff --git a/net/gnb/ue-du-21.yaml b/net/gnb/ue-du-21.yaml new file mode 100644 index 0000000..a927b70 --- /dev/null +++ b/net/gnb/ue-du-21.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-du-21-net + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-ue-du-21-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.35.74/24" + } ] } }' + diff --git a/net/src/template_net.yaml b/net/src/template_net.yaml index a21d415..8e0f8e9 100644 --- a/net/src/template_net.yaml +++ b/net/src/template_net.yaml @@ -4,7 +4,7 @@ metadata: name: oai-@trainee@-net namespace: infidel-test spec: - config: '{ "cniVersion": "0.3.1", "name": "oai-@role@-net", "type": "macvlan", - "master": "ens8", "ipam": { "type": "static", "addresses": [ { "address": "@ip@" + config: '{ "cniVersion": "0.3.1", "name": "oai-@trainee@-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "@ip@" } ] } }' diff --git a/net/ue/ue-web-01.yaml b/net/ue/ue-web-01.yaml new file mode 100644 index 0000000..41006ac --- /dev/null +++ b/net/ue/ue-web-01.yaml @@ -0,0 +1,10 @@ +apiVersion: k8s.cni.cncf.io/v1 +kind: NetworkAttachmentDefinition +metadata: + name: oai-ue-web-01 + namespace: infidel-test +spec: + config: '{ "cniVersion": "0.3.1", "name": "oai-01-net", "type": "macvlan", + "master": "ens224", "ipam": { "type": "static", "addresses": [ { "address": "192.168.36.11/24" + } ] } }' + diff --git a/patch/revisionHistoryLimit.yaml b/patch/revisionHistoryLimit.yaml new file mode 100644 index 0000000..fd598b5 --- /dev/null +++ b/patch/revisionHistoryLimit.yaml @@ -0,0 +1,2 @@ +spec: + revisionHistoryLimit: 0 diff --git a/scripts/net_gen.sh b/scripts/net_gen.sh index af1ced5..ea91216 100755 --- a/scripts/net_gen.sh +++ b/scripts/net_gen.sh @@ -28,14 +28,14 @@ function create_from_path() { cu_confs=`ls -d ./*cu*` for x in `ls -d $cu_confs`; do oc create -f $x -n infidel-test; done echo "[CU Deployment] Delay, let the script breathe..." - sleep 5 - ue_confs=`ls -d ./*ue*` - for x in `ls -d $ue_confs`; do oc create -f $x -n infidel-test; done - echo "[UE Deployment] Delay, let the script breathe..." - sleep 2 + sleep 10 du_confs=`ls -d ./*du*` for x in `ls -d $du_confs`; do oc create -f $x -n infidel-test; done echo "[DU Deployment] Delay, let the script breathe..." + sleep 10 + ue_confs=`ls -d ./*ue*` + for x in `ls -d $ue_confs`; do oc create -f $x -n infidel-test; done + echo "[UE Deployment] Delay, let the script breathe..." else echo "Custom Mode" for x in `ls -d .`; do oc create -f $x -n infidel-test; done @@ -46,8 +46,8 @@ function create_from_path() { function clean_deployments(){ for x in $(oc get dc -n infidel-test -o jsonpath="{range .items[*]}{.metadata.name}{'\n'}{end}"); do oc delete dc $x -n infidel-test; done - for x in $(oc get deployments -n infidel-test -o jsonpath="{range .items[*]}{.metadata.name}{'\n'}{end}" | grep "0[0-9]"); do oc delete deployment $x -n infidel-test; done - for x in $(oc get network-attachment-definition -n infidel-test -o jsonpath="{range .items[*]}{.metadata.name}{'\n'}{end}" | grep "0[0-9]") ; do oc delete network-attachment-definition $x -n infidel-test; done + for x in $(oc get deployments -n infidel-test -o jsonpath="{range .items[*]}{.metadata.name}{'\n'}{end}" | grep "[0-9][2-9]"); do oc delete deployment $x -n infidel-test; done + for x in $(oc get network-attachment-definition -n infidel-test -o jsonpath="{range .items[*]}{.metadata.name}{'\n'}{end}" | grep "[0-9][2-9]") ; do oc delete network-attachment-definition $x -n infidel-test; done } @@ -380,6 +380,9 @@ do ;; "Dirty Reload") echo "Dirty Reload..." + rm deployments/trainee/*.yaml + rm net/gnb/*.yaml + net_gen clean_deployments 1 create_from_path net/gnb create_from_path deployments/trainee