blob: 25ff1b0ac9445f5d387865ee33f62153cc27d26e [file] [log] [blame]
demx8as6a93cb372021-06-06 16:05:58 +02001################################################################################
Martin Skorupski990de722023-02-03 12:30:55 +01002# Copyright 2023 highstreet technologies GmbH
demx8as6a93cb372021-06-06 16:05:58 +02003#
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#
16version: '3.8'
17
18x-common_env: &common_env
19 IPv6_ENABLED: ${IPv6_ENABLED}
20 SSH_CONNECTIONS: ${SSH_CONNECTIONS}
Alex Stancu907218a2022-03-03 14:47:18 +020021 TLS_CONNECTIONS: ${TLS_CONNECTIONS}
demx8as6a93cb372021-06-06 16:05:58 +020022 NTS_NF_MOUNT_POINT_ADDRESSING_METHOD: ${NTS_NF_MOUNT_POINT_ADDRESSING_METHOD}
Alex Stancu907218a2022-03-03 14:47:18 +020023
demx8as6a93cb372021-06-06 16:05:58 +020024 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 Stancu907218a2022-03-03 14:47:18 +020030
demx8as6a93cb372021-06-06 16:05:58 +020031 SDN_CONTROLLER_PROTOCOL: ${SDN_CONTROLLER_PROTOCOL}
Martin Skorupski990de722023-02-03 12:30:55 +010032 SDN_CONTROLLER_IP: ${SDNC_OAM_HOST}
33 # SDN_CONTROLLER_PORT: ${SDNC_REST_PORT}
demx8as6b9d92cc2021-12-13 08:28:14 +010034 SDN_CONTROLLER_CALLHOME_IP: ${SDNC_OAM_IPv6}
demx8as6a93cb372021-06-06 16:05:58 +020035 SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_PORT}
36 SDN_CONTROLLER_USERNAME: ${ADMIN_USERNAME}
37 SDN_CONTROLLER_PASSWORD: ${ADMIN_PASSWORD}
Alex Stancu907218a2022-03-03 14:47:18 +020038
demx8as6a93cb372021-06-06 16:05:58 +020039 VES_COMMON_HEADER_VERSION: ${VES_COMMON_HEADER_VERSION}
40 VES_ENDPOINT_PROTOCOL: ${VES_ENDPOINT_PROTOCOL}
Martin Skorupski990de722023-02-03 12:30:55 +010041 VES_ENDPOINT_IP: ${VES_COLLECTOR_OAM_HOST}
demx8as6a93cb372021-06-06 16:05:58 +020042 VES_ENDPOINT_PORT: ${VES_ENDPOINT_PORT}
43 VES_ENDPOINT_AUTH_METHOD: ${VES_ENDPOINT_AUTH_METHOD}
44 VES_ENDPOINT_USERNAME: ${VES_ENDPOINT_USERNAME}
45 VES_ENDPOINT_PASSWORD: ${VES_ENDPOINT_PASSWORD}
46
47x-du_env: &du_env
demx8as6243ef372022-10-21 13:35:53 +020048 # NTS_NF_STANDALONE_START_FEATURES: "datastore-populate ves-heartbeat ves-file-ready ves-pnf-registration web-cut-through"
49 NTS_NF_STANDALONE_START_FEATURES: "datastore-populate ves-heartbeat ves-file-ready ves-pnf-registration ves-o1-pnf-registration web-cut-through"
demx8as6a93cb372021-06-06 16:05:58 +020050
51x-ru-env: &ru_env
52 NTS_NF_STANDALONE_START_FEATURES: "datastore-populate netconf-call-home web-cut-through"
53
54x-topo-env: &topo_env
55 NTS_NF_STANDALONE_START_FEATURES: "datastore-populate netconf-call-home web-cut-through"
56
57x-nf: &common_nf
58 stop_grace_period: 5m
Alex Stancu350e5f72023-03-21 16:35:14 +020059 extra_hosts:
60 - "identity.smo.o-ran-sc.org:${HOST_IP}"
61 - "controller.oam.smo.o-ran-sc.org:${HOST_IP}"
62 - "ves-collector.oam.smo.o-ran-sc.org:${HOST_IP}"
demx8as6a93cb372021-06-06 16:05:58 +020063 cap_add:
64 - SYS_ADMIN
65 - SYS_PTRACE
66
67services:
68 ntsim-ng-o-du-1122:
69 <<: *common_nf
70 image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-du:${NTS_BUILD_VERSION}"
71 container_name: ntsim-ng-o-du-1122
Alex Stancu80bfd372022-02-04 17:30:41 +020072 hostname: O-DU-1122
demx8as6a93cb372021-06-06 16:05:58 +020073 volumes:
74 - ./ntsim-ng-o-du/config.json:/opt/dev/ntsim-ng/config/config.json
75 - ./ntsim-ng-o-du/o-ran-sc-du-hello-world-running.xml:/opt/dev/deploy/data/o-ran-sc-du-hello-world-running.xml
76 - ./ntsim-ng-o-du/o-ran-sc-du-hello-world-operational.xml:/opt/dev/deploy/data/o-ran-sc-du-hello-world-operational.xml
77 environment:
Martin Skorupskidd52b072023-04-05 17:25:19 +020078 <<: [*common_env, *du_env]
demx8as6a93cb372021-06-06 16:05:58 +020079
80 ntsim-ng-o-ru-fh-11221:
81 <<: *common_nf
82 image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-ru-fh:${NTS_BUILD_VERSION}"
83 container_name: ntsim-ng-o-ru-fh-11221
Alex Stancu80bfd372022-02-04 17:30:41 +020084 hostname: O-RU-11221
demx8as6a93cb372021-06-06 16:05:58 +020085 volumes:
86 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-1/config.json:/opt/dev/ntsim-ng/config/config.json
87 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-1/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json
88 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-1/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json
89 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-1/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml
90 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-1/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml
91 environment:
Martin Skorupskidd52b072023-04-05 17:25:19 +020092 <<: [*common_env, *ru_env]
demx8as6a93cb372021-06-06 16:05:58 +020093
94 ntsim-ng-o-ru-fh-11222:
95 <<: *common_nf
96 image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-ru-fh:${NTS_BUILD_VERSION}"
97 container_name: ntsim-ng-o-ru-fh-11222
Alex Stancu80bfd372022-02-04 17:30:41 +020098 hostname: O-RU-11222
demx8as6a93cb372021-06-06 16:05:58 +020099 volumes:
100 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-2/config.json:/opt/dev/ntsim-ng/config/config.json
101 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-2/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json
102 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-2/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json
103 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-2/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml
104 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-2/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml
105 environment:
Martin Skorupskidd52b072023-04-05 17:25:19 +0200106 <<: [*common_env, *ru_env]
demx8as6a93cb372021-06-06 16:05:58 +0200107
108 ntsim-ng-o-ru-fh-11223:
109 <<: *common_nf
110 image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-ru-fh:${NTS_BUILD_VERSION}"
111 container_name: ntsim-ng-o-ru-fh-11223
Alex Stancu80bfd372022-02-04 17:30:41 +0200112 hostname: O-RU-11223
demx8as6a93cb372021-06-06 16:05:58 +0200113 volumes:
114 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-3/config.json:/opt/dev/ntsim-ng/config/config.json
115 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-3/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json
116 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-3/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json
117 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-3/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml
118 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-3/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml
119 environment:
Martin Skorupskidd52b072023-04-05 17:25:19 +0200120 <<: [*common_env, *ru_env]
demx8as6a93cb372021-06-06 16:05:58 +0200121
demx8as6a93cb372021-06-06 16:05:58 +0200122networks:
123 default:
Martin Skorupskidd52b072023-04-05 17:25:19 +0200124 name: oam
125 external: true
126