demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 1 | ################################################################################ |
Martin Skorupski | 990de72 | 2023-02-03 12:30:55 +0100 | [diff] [blame] | 2 | # Copyright 2023 highstreet technologies GmbH |
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 | # |
| 16 | version: '3.8' |
| 17 | |
| 18 | x-common_env: &common_env |
| 19 | IPv6_ENABLED: ${IPv6_ENABLED} |
| 20 | SSH_CONNECTIONS: ${SSH_CONNECTIONS} |
Alex Stancu | 907218a | 2022-03-03 14:47:18 +0200 | [diff] [blame] | 21 | TLS_CONNECTIONS: ${TLS_CONNECTIONS} |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 22 | NTS_NF_MOUNT_POINT_ADDRESSING_METHOD: ${NTS_NF_MOUNT_POINT_ADDRESSING_METHOD} |
Alex Stancu | 907218a | 2022-03-03 14:47:18 +0200 | [diff] [blame] | 23 | |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 24 | NTS_HOST_IP: ${NTS_HOST_IP} |
| 25 | NTS_HOST_BASE_PORT: ${NTS_HOST_BASE_PORT} |
| 26 | NTS_HOST_NETCONF_SSH_BASE_PORT: ${NTS_HOST_NETCONF_SSH_BASE_PORT} |
| 27 | NTS_HOST_NETCONF_TLS_BASE_PORT: ${NTS_HOST_NETCONF_TLS_BASE_PORT} |
| 28 | NTS_HOST_TRANSFER_FTP_BASE_PORT: ${NTS_HOST_TRANSFER_FTP_BASE_PORT} |
| 29 | NTS_HOST_TRANSFER_SFTP_BASE_PORT: ${NTS_HOST_TRANSFER_SFTP_BASE_PORT} |
Alex Stancu | 907218a | 2022-03-03 14:47:18 +0200 | [diff] [blame] | 30 | |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 31 | SDN_CONTROLLER_PROTOCOL: ${SDN_CONTROLLER_PROTOCOL} |
Martin Skorupski | 470bbf5 | 2023-05-14 12:35:12 +0200 | [diff] [blame] | 32 | SDN_CONTROLLER_IP: ${SDNC_DCN_HOST} |
| 33 | SDN_CONTROLLER_CALLHOME_IP: ${SDNC_DCN_HOST} |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 34 | SDN_CONTROLLER_USERNAME: ${ADMIN_USERNAME} |
| 35 | SDN_CONTROLLER_PASSWORD: ${ADMIN_PASSWORD} |
Alex Stancu | 907218a | 2022-03-03 14:47:18 +0200 | [diff] [blame] | 36 | |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 37 | VES_COMMON_HEADER_VERSION: ${VES_COMMON_HEADER_VERSION} |
| 38 | VES_ENDPOINT_PROTOCOL: ${VES_ENDPOINT_PROTOCOL} |
Martin Skorupski | 470bbf5 | 2023-05-14 12:35:12 +0200 | [diff] [blame] | 39 | VES_ENDPOINT_IP: ${VES_COLLECTOR_DCN_HOST} |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 40 | VES_ENDPOINT_PORT: ${VES_ENDPOINT_PORT} |
| 41 | VES_ENDPOINT_AUTH_METHOD: ${VES_ENDPOINT_AUTH_METHOD} |
| 42 | VES_ENDPOINT_USERNAME: ${VES_ENDPOINT_USERNAME} |
| 43 | VES_ENDPOINT_PASSWORD: ${VES_ENDPOINT_PASSWORD} |
| 44 | |
| 45 | x-du_env: &du_env |
demx8as6 | 243ef37 | 2022-10-21 13:35:53 +0200 | [diff] [blame] | 46 | # NTS_NF_STANDALONE_START_FEATURES: "datastore-populate ves-heartbeat ves-file-ready ves-pnf-registration web-cut-through" |
| 47 | 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] | 48 | |
| 49 | x-ru-env: &ru_env |
| 50 | NTS_NF_STANDALONE_START_FEATURES: "datastore-populate netconf-call-home web-cut-through" |
| 51 | |
| 52 | x-topo-env: &topo_env |
| 53 | NTS_NF_STANDALONE_START_FEATURES: "datastore-populate netconf-call-home web-cut-through" |
| 54 | |
| 55 | x-nf: &common_nf |
| 56 | stop_grace_period: 5m |
Alex Stancu | 350e5f7 | 2023-03-21 16:35:14 +0200 | [diff] [blame] | 57 | extra_hosts: |
demx8as6 | 012475c | 2023-07-05 16:47:01 +0000 | [diff] [blame^] | 58 | - "controller.dcn.${HTTP_DOMAIN}:${HOST_IP}" |
| 59 | - "ves-collector.dcn.${HTTP_DOMAIN}:${HOST_IP}" |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 60 | cap_add: |
| 61 | - SYS_ADMIN |
| 62 | - SYS_PTRACE |
| 63 | |
| 64 | services: |
| 65 | ntsim-ng-o-du-1122: |
| 66 | <<: *common_nf |
| 67 | image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-du:${NTS_BUILD_VERSION}" |
| 68 | container_name: ntsim-ng-o-du-1122 |
Alex Stancu | 80bfd37 | 2022-02-04 17:30:41 +0200 | [diff] [blame] | 69 | hostname: O-DU-1122 |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 70 | volumes: |
| 71 | - ./ntsim-ng-o-du/config.json:/opt/dev/ntsim-ng/config/config.json |
| 72 | - ./ntsim-ng-o-du/o-ran-sc-du-hello-world-running.xml:/opt/dev/deploy/data/o-ran-sc-du-hello-world-running.xml |
| 73 | - ./ntsim-ng-o-du/o-ran-sc-du-hello-world-operational.xml:/opt/dev/deploy/data/o-ran-sc-du-hello-world-operational.xml |
| 74 | environment: |
Martin Skorupski | dd52b07 | 2023-04-05 17:25:19 +0200 | [diff] [blame] | 75 | <<: [*common_env, *du_env] |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 76 | |
Alex Stancu | f7494d0 | 2023-04-06 16:30:23 +0300 | [diff] [blame] | 77 | ntsim-ng-o-du-1123: |
Alex Stancu | 0eef052 | 2023-04-05 21:17:52 +0300 | [diff] [blame] | 78 | <<: *common_nf |
| 79 | image: "${LOCAL_DOCKER_REPO}nts-ng-o-ran-du-rel-18:${NTS_BUILD_VERSION}" |
Alex Stancu | f7494d0 | 2023-04-06 16:30:23 +0300 | [diff] [blame] | 80 | container_name: ntsim-ng-o-du-1123 |
| 81 | hostname: O-DU-1123 |
Alex Stancu | 0eef052 | 2023-04-05 21:17:52 +0300 | [diff] [blame] | 82 | volumes: |
| 83 | - ./ntsim-ng-o-du-rel-18/config.json:/opt/dev/ntsim-ng/config/config.json |
| 84 | - ./ntsim-ng-o-du-rel-18/_3gpp-common-managed-element-running.xml:/opt/dev/deploy/data/_3gpp-common-managed-element-running.xml |
| 85 | - ./ntsim-ng-o-du-rel-18/_3gpp-common-managed-element-operational.xml:/opt/dev/deploy/data/_3gpp-common-managed-element-operational.xml |
| 86 | environment: |
Alex Stancu | f7494d0 | 2023-04-06 16:30:23 +0300 | [diff] [blame] | 87 | <<: [*common_env, *du_env] |
Alex Stancu | 0eef052 | 2023-04-05 21:17:52 +0300 | [diff] [blame] | 88 | |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 89 | ntsim-ng-o-ru-11221: |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 90 | <<: *common_nf |
| 91 | 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] | 92 | container_name: ntsim-ng-o-ru-11221 |
Alex Stancu | 80bfd37 | 2022-02-04 17:30:41 +0200 | [diff] [blame] | 93 | hostname: O-RU-11221 |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 94 | volumes: |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 95 | - ./ntsim-ng-o-ru/o-ru-11221/config.json:/opt/dev/ntsim-ng/config/config.json |
| 96 | - ./ntsim-ng-o-ru/o-ru-11221/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json |
| 97 | - ./ntsim-ng-o-ru/o-ru-11221/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json |
| 98 | - ./ntsim-ng-o-ru/o-ru-11221/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml |
| 99 | - ./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] | 100 | environment: |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 101 | SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_SSH_PORT} |
Martin Skorupski | dd52b07 | 2023-04-05 17:25:19 +0200 | [diff] [blame] | 102 | <<: [*common_env, *ru_env] |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 103 | |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 104 | ntsim-ng-o-ru-11222: |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 105 | <<: *common_nf |
| 106 | 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] | 107 | container_name: ntsim-ng-o-ru-11222 |
Alex Stancu | 80bfd37 | 2022-02-04 17:30:41 +0200 | [diff] [blame] | 108 | hostname: O-RU-11222 |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 109 | volumes: |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 110 | - ./ntsim-ng-o-ru/o-ru-11222/config.json:/opt/dev/ntsim-ng/config/config.json |
| 111 | - ./ntsim-ng-o-ru/o-ru-11222/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json |
| 112 | - ./ntsim-ng-o-ru/o-ru-11222/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json |
| 113 | - ./ntsim-ng-o-ru/o-ru-11222/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml |
| 114 | - ./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] | 115 | environment: |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 116 | SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_SSH_PORT} |
Martin Skorupski | dd52b07 | 2023-04-05 17:25:19 +0200 | [diff] [blame] | 117 | <<: [*common_env, *ru_env] |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 118 | |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 119 | ntsim-ng-o-ru-11223: |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 120 | <<: *common_nf |
| 121 | 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] | 122 | container_name: ntsim-ng-o-ru-11223 |
Alex Stancu | 80bfd37 | 2022-02-04 17:30:41 +0200 | [diff] [blame] | 123 | hostname: O-RU-11223 |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 124 | volumes: |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 125 | - ./ntsim-ng-o-ru/o-ru-11223/config.json:/opt/dev/ntsim-ng/config/config.json |
| 126 | - ./ntsim-ng-o-ru/o-ru-11223/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json |
| 127 | - ./ntsim-ng-o-ru/o-ru-11223/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json |
| 128 | - ./ntsim-ng-o-ru/o-ru-11223/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml |
| 129 | - ./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] | 130 | environment: |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 131 | SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_TLS_PORT} |
| 132 | <<: [*common_env, *ru_env] |
| 133 | |
| 134 | ntsim-ng-o-ru-11224: |
| 135 | <<: *common_nf |
| 136 | image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-ru-fh:${NTS_BUILD_VERSION}" |
| 137 | container_name: ntsim-ng-o-ru-11224 |
| 138 | hostname: O-RU-11224 |
| 139 | volumes: |
| 140 | - ./ntsim-ng-o-ru/o-ru-11223/config.json:/opt/dev/ntsim-ng/config/config.json |
| 141 | - ./ntsim-ng-o-ru/o-ru-11223/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json |
| 142 | - ./ntsim-ng-o-ru/o-ru-11223/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json |
| 143 | - ./ntsim-ng-o-ru/o-ru-11223/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml |
| 144 | - ./ntsim-ng-o-ru/o-ru-11223/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml |
| 145 | environment: |
Martin Skorupski | 298afba | 2023-04-28 13:50:52 +0200 | [diff] [blame] | 146 | SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_TLS_PORT} |
Martin Skorupski | dd52b07 | 2023-04-05 17:25:19 +0200 | [diff] [blame] | 147 | <<: [*common_env, *ru_env] |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 148 | |
demx8as6 | a93cb37 | 2021-06-06 16:05:58 +0200 | [diff] [blame] | 149 | networks: |
| 150 | default: |
Martin Skorupski | 470bbf5 | 2023-05-14 12:35:12 +0200 | [diff] [blame] | 151 | driver: bridge |
| 152 | name: network |
| 153 | enable_ipv6: true |
| 154 | ipam: |
| 155 | driver: default |
| 156 | config: |
| 157 | - subnet: ${NETWORK_SUBNET_DCN_IPv6} |