demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 1 | ################################################################################ |
Martin Skorupski | e1e245b | 2024-09-23 16:34:31 +0200 | [diff] [blame] | 2 | # Copyright 2024 highstreet technologies |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 16 | x-common_env: &common_env |
| 17 | IPv6_ENABLED: ${IPv6_ENABLED} |
| 18 | SSH_CONNECTIONS: ${SSH_CONNECTIONS} |
Alex Stancu | 907218a | 2022-03-03 14:47:18 +0200 | [diff] [blame] | 19 | TLS_CONNECTIONS: ${TLS_CONNECTIONS} |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 20 | NTS_NF_MOUNT_POINT_ADDRESSING_METHOD: ${NTS_NF_MOUNT_POINT_ADDRESSING_METHOD} |
Alex Stancu | 907218a | 2022-03-03 14:47:18 +0200 | [diff] [blame] | 21 | |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 22 | NTS_HOST_IP: ${NTS_HOST_IP} |
| 23 | NTS_HOST_BASE_PORT: ${NTS_HOST_BASE_PORT} |
| 24 | NTS_HOST_NETCONF_SSH_BASE_PORT: ${NTS_HOST_NETCONF_SSH_BASE_PORT} |
| 25 | NTS_HOST_NETCONF_TLS_BASE_PORT: ${NTS_HOST_NETCONF_TLS_BASE_PORT} |
| 26 | NTS_HOST_TRANSFER_FTP_BASE_PORT: ${NTS_HOST_TRANSFER_FTP_BASE_PORT} |
| 27 | NTS_HOST_TRANSFER_SFTP_BASE_PORT: ${NTS_HOST_TRANSFER_SFTP_BASE_PORT} |
Alex Stancu | 907218a | 2022-03-03 14:47:18 +0200 | [diff] [blame] | 28 | |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 29 | SDN_CONTROLLER_PROTOCOL: ${SDN_CONTROLLER_PROTOCOL} |
Martin Skorupski | 470bbf5 | 2023-05-14 12:35:12 +0200 | [diff] [blame] | 30 | SDN_CONTROLLER_IP: ${SDNC_DCN_HOST} |
| 31 | SDN_CONTROLLER_CALLHOME_IP: ${SDNC_DCN_HOST} |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 32 | SDN_CONTROLLER_USERNAME: ${ADMIN_USERNAME} |
| 33 | SDN_CONTROLLER_PASSWORD: ${ADMIN_PASSWORD} |
Alex Stancu | 907218a | 2022-03-03 14:47:18 +0200 | [diff] [blame] | 34 | |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 35 | VES_COMMON_HEADER_VERSION: ${VES_COMMON_HEADER_VERSION} |
| 36 | VES_ENDPOINT_PROTOCOL: ${VES_ENDPOINT_PROTOCOL} |
Martin Skorupski | 470bbf5 | 2023-05-14 12:35:12 +0200 | [diff] [blame] | 37 | VES_ENDPOINT_IP: ${VES_COLLECTOR_DCN_HOST} |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 38 | VES_ENDPOINT_PORT: ${VES_ENDPOINT_PORT} |
| 39 | VES_ENDPOINT_AUTH_METHOD: ${VES_ENDPOINT_AUTH_METHOD} |
| 40 | VES_ENDPOINT_USERNAME: ${VES_ENDPOINT_USERNAME} |
| 41 | VES_ENDPOINT_PASSWORD: ${VES_ENDPOINT_PASSWORD} |
| 42 | |
| 43 | x-du_env: &du_env |
demx8as6 | 243ef37 | 2022-10-21 13:35:53 +0200 | [diff] [blame] | 44 | # NTS_NF_STANDALONE_START_FEATURES: "datastore-populate ves-heartbeat ves-file-ready ves-pnf-registration web-cut-through" |
| 45 | NTS_NF_STANDALONE_START_FEATURES: "datastore-populate ves-heartbeat ves-file-ready ves-pnf-registration ves-o1-pnf-registration web-cut-through" |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 46 | |
| 47 | x-ru-env: &ru_env |
| 48 | NTS_NF_STANDALONE_START_FEATURES: "datastore-populate netconf-call-home web-cut-through" |
| 49 | |
| 50 | x-topo-env: &topo_env |
| 51 | NTS_NF_STANDALONE_START_FEATURES: "datastore-populate netconf-call-home web-cut-through" |
| 52 | |
| 53 | x-nf: &common_nf |
| 54 | stop_grace_period: 5m |
Alex Stancu | 350e5f7 | 2023-03-21 16:35:14 +0200 | [diff] [blame] | 55 | extra_hosts: |
demx8as6 | 012475c | 2023-07-05 16:47:01 +0000 | [diff] [blame] | 56 | - "controller.dcn.${HTTP_DOMAIN}:${HOST_IP}" |
| 57 | - "ves-collector.dcn.${HTTP_DOMAIN}:${HOST_IP}" |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 58 | cap_add: |
| 59 | - SYS_ADMIN |
| 60 | - SYS_PTRACE |
| 61 | |
| 62 | services: |
| 63 | ntsim-ng-o-du-1122: |
| 64 | <<: *common_nf |
| 65 | image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-du:${NTS_BUILD_VERSION}" |
| 66 | container_name: ntsim-ng-o-du-1122 |
Alex Stancu | 80bfd37 | 2022-02-04 17:30:41 +0200 | [diff] [blame] | 67 | hostname: O-DU-1122 |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 68 | volumes: |
| 69 | - ./ntsim-ng-o-du/config.json:/opt/dev/ntsim-ng/config/config.json |
| 70 | - ./ntsim-ng-o-du/o-ran-sc-du-hello-world-running.xml:/opt/dev/deploy/data/o-ran-sc-du-hello-world-running.xml |
| 71 | - ./ntsim-ng-o-du/o-ran-sc-du-hello-world-operational.xml:/opt/dev/deploy/data/o-ran-sc-du-hello-world-operational.xml |
| 72 | environment: |
Martin Skorupski | dd52b07 | 2023-04-05 17:25:19 +0200 | [diff] [blame] | 73 | <<: [*common_env, *du_env] |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 74 | |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 75 | ntsim-ng-o-ru-11221: |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 76 | <<: *common_nf |
| 77 | image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-ru-fh:${NTS_BUILD_VERSION}" |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 78 | container_name: ntsim-ng-o-ru-11221 |
Alex Stancu | 80bfd37 | 2022-02-04 17:30:41 +0200 | [diff] [blame] | 79 | hostname: O-RU-11221 |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 80 | volumes: |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 81 | - ./ntsim-ng-o-ru/o-ru-11221/config.json:/opt/dev/ntsim-ng/config/config.json |
| 82 | - ./ntsim-ng-o-ru/o-ru-11221/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json |
| 83 | - ./ntsim-ng-o-ru/o-ru-11221/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json |
| 84 | - ./ntsim-ng-o-ru/o-ru-11221/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml |
| 85 | - ./ntsim-ng-o-ru/o-ru-11221/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 86 | environment: |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 87 | SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_SSH_PORT} |
Martin Skorupski | dd52b07 | 2023-04-05 17:25:19 +0200 | [diff] [blame] | 88 | <<: [*common_env, *ru_env] |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 89 | |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 90 | ntsim-ng-o-ru-11222: |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 91 | <<: *common_nf |
| 92 | image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-ru-fh:${NTS_BUILD_VERSION}" |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 93 | container_name: ntsim-ng-o-ru-11222 |
Alex Stancu | 80bfd37 | 2022-02-04 17:30:41 +0200 | [diff] [blame] | 94 | hostname: O-RU-11222 |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 95 | volumes: |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 96 | - ./ntsim-ng-o-ru/o-ru-11222/config.json:/opt/dev/ntsim-ng/config/config.json |
| 97 | - ./ntsim-ng-o-ru/o-ru-11222/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json |
| 98 | - ./ntsim-ng-o-ru/o-ru-11222/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json |
| 99 | - ./ntsim-ng-o-ru/o-ru-11222/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml |
| 100 | - ./ntsim-ng-o-ru/o-ru-11222/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 101 | environment: |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 102 | SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_SSH_PORT} |
Martin Skorupski | dd52b07 | 2023-04-05 17:25:19 +0200 | [diff] [blame] | 103 | <<: [*common_env, *ru_env] |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 104 | |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 105 | ntsim-ng-o-ru-11223: |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 106 | <<: *common_nf |
| 107 | image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-ru-fh:${NTS_BUILD_VERSION}" |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 108 | container_name: ntsim-ng-o-ru-11223 |
Alex Stancu | 80bfd37 | 2022-02-04 17:30:41 +0200 | [diff] [blame] | 109 | hostname: O-RU-11223 |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 110 | volumes: |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 111 | - ./ntsim-ng-o-ru/o-ru-11223/config.json:/opt/dev/ntsim-ng/config/config.json |
| 112 | - ./ntsim-ng-o-ru/o-ru-11223/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json |
| 113 | - ./ntsim-ng-o-ru/o-ru-11223/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json |
| 114 | - ./ntsim-ng-o-ru/o-ru-11223/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml |
| 115 | - ./ntsim-ng-o-ru/o-ru-11223/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 116 | environment: |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 117 | SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_TLS_PORT} |
| 118 | <<: [*common_env, *ru_env] |
| 119 | |
| 120 | ntsim-ng-o-ru-11224: |
| 121 | <<: *common_nf |
| 122 | image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-ru-fh:${NTS_BUILD_VERSION}" |
| 123 | container_name: ntsim-ng-o-ru-11224 |
| 124 | hostname: O-RU-11224 |
| 125 | volumes: |
| 126 | - ./ntsim-ng-o-ru/o-ru-11223/config.json:/opt/dev/ntsim-ng/config/config.json |
| 127 | - ./ntsim-ng-o-ru/o-ru-11223/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json |
| 128 | - ./ntsim-ng-o-ru/o-ru-11223/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json |
| 129 | - ./ntsim-ng-o-ru/o-ru-11223/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml |
| 130 | - ./ntsim-ng-o-ru/o-ru-11223/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml |
| 131 | environment: |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 132 | SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_TLS_PORT} |
Martin Skorupski | dd52b07 | 2023-04-05 17:25:19 +0200 | [diff] [blame] | 133 | <<: [*common_env, *ru_env] |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 134 | |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 135 | networks: |
| 136 | default: |
Martin Skorupski | 470bbf5 | 2023-05-14 12:35:12 +0200 | [diff] [blame] | 137 | driver: bridge |
| 138 | name: network |
| 139 | enable_ipv6: true |
| 140 | ipam: |
| 141 | driver: default |
| 142 | config: |
| 143 | - subnet: ${NETWORK_SUBNET_DCN_IPv6} |