blob: a07b98d1d673380e3b4b1a40a88057537cefc704 [file] [log] [blame]
demx8as6a93cb372021-06-06 16:05:58 +02001################################################################################
2# Copyright 2021 highstreet technologies GmbH
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#
16version: '3.8'
17
18x-common_env: &common_env
19 IPv6_ENABLED: ${IPv6_ENABLED}
20 SSH_CONNECTIONS: ${SSH_CONNECTIONS}
21 TLS_CONNECTIONS: ${TLS_CONNECTIONS}
22 NTS_NF_MOUNT_POINT_ADDRESSING_METHOD: ${NTS_NF_MOUNT_POINT_ADDRESSING_METHOD}
23
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}
30
31 SDN_CONTROLLER_PROTOCOL: ${SDN_CONTROLLER_PROTOCOL}
32 SDN_CONTROLLER_IP: ${SDNC_OAM_IPv6}
33 SDN_CONTROLLER_PORT: ${SDNC_REST_PORT}
34 SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_PORT}
35 SDN_CONTROLLER_USERNAME: ${ADMIN_USERNAME}
36 SDN_CONTROLLER_PASSWORD: ${ADMIN_PASSWORD}
37
38 VES_COMMON_HEADER_VERSION: ${VES_COMMON_HEADER_VERSION}
39 VES_ENDPOINT_PROTOCOL: ${VES_ENDPOINT_PROTOCOL}
40 VES_ENDPOINT_IP: ${VES_COLLECTOR_OAM_IPv6}
41 VES_ENDPOINT_PORT: ${VES_ENDPOINT_PORT}
42 VES_ENDPOINT_AUTH_METHOD: ${VES_ENDPOINT_AUTH_METHOD}
43 VES_ENDPOINT_USERNAME: ${VES_ENDPOINT_USERNAME}
44 VES_ENDPOINT_PASSWORD: ${VES_ENDPOINT_PASSWORD}
45
46x-du_env: &du_env
47 NTS_NF_STANDALONE_START_FEATURES: "datastore-populate ves-heartbeat ves-file-ready ves-pnf-registration web-cut-through"
48
49x-ru-env: &ru_env
50 NTS_NF_STANDALONE_START_FEATURES: "datastore-populate netconf-call-home web-cut-through"
51
52x-topo-env: &topo_env
53 NTS_NF_STANDALONE_START_FEATURES: "datastore-populate netconf-call-home web-cut-through"
54
55x-nf: &common_nf
56 stop_grace_period: 5m
57 cap_add:
58 - SYS_ADMIN
59 - SYS_PTRACE
60
61services:
62 ntsim-ng-o-du-1122:
63 <<: *common_nf
64 image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-du:${NTS_BUILD_VERSION}"
65 container_name: ntsim-ng-o-du-1122
66 hostname: highstreet-O-DU-1122
67 volumes:
68 - ./ntsim-ng-o-du/config.json:/opt/dev/ntsim-ng/config/config.json
69 - ./ntsim-ng-o-du/o-ran-sc-du-hello-world-running.xml:/opt/dev/deploy/data/o-ran-sc-du-hello-world-running.xml
70 - ./ntsim-ng-o-du/o-ran-sc-du-hello-world-operational.xml:/opt/dev/deploy/data/o-ran-sc-du-hello-world-operational.xml
71 environment:
72 <<: *common_env
73 <<: *du_env
74
75 ntsim-ng-o-ru-fh-11221:
76 <<: *common_nf
77 image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-ru-fh:${NTS_BUILD_VERSION}"
78 container_name: ntsim-ng-o-ru-fh-11221
79 hostname: highstreet-O-RU-11221
80 volumes:
81 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-1/config.json:/opt/dev/ntsim-ng/config/config.json
82 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-1/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json
83 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-1/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json
84 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-1/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml
85 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-1/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml
86 environment:
87 <<: *common_env
88 <<: *ru_env
89
90 ntsim-ng-o-ru-fh-11222:
91 <<: *common_nf
92 image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-ru-fh:${NTS_BUILD_VERSION}"
93 container_name: ntsim-ng-o-ru-fh-11222
94 hostname: highstreet-O-RU-11222
95 volumes:
96 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-2/config.json:/opt/dev/ntsim-ng/config/config.json
97 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-2/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json
98 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-2/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json
99 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-2/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml
100 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-2/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml
101 environment:
102 <<: *common_env
103 <<: *ru_env
104
105 ntsim-ng-o-ru-fh-11223:
106 <<: *common_nf
107 image: "${NEXUS3_DOCKER_REPO}nts-ng-o-ran-ru-fh:${NTS_BUILD_VERSION}"
108 container_name: ntsim-ng-o-ru-fh-11223
109 hostname: highstreet-O-RU-11223
110 volumes:
111 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-3/config.json:/opt/dev/ntsim-ng/config/config.json
112 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-3/ietf-hardware-operational.json:/opt/dev/deploy/data/ietf-hardware-operational.json
113 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-3/ietf-hardware-running.json:/opt/dev/deploy/data/ietf-hardware-running.json
114 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-3/ietf-interfaces-operational.xml:/opt/dev/deploy/data/ietf-interfaces-operational.xml
115 - ./ntsim-ng-o-ru/ntsim-ng-o-ru-fh-3/ietf-interfaces-running.xml:/opt/dev/deploy/data/ietf-interfaces-running.xml
116 environment:
117 <<: *common_env
118 <<: *ru_env
119
120 ntsim-ng-topology-server:
121 <<: *common_nf
122 image: "${PUBLIC_DOCKER_REPO}smo-nts-ng-topology-server:${NTS_BUILD_VERSION}"
123 container_name: ntsim-ng-topology-server
124 hostname: highstreet-TAPI-topology-server
125 volumes:
126 - ./ntsim-ng-topology-server/config.json:/opt/dev/ntsim-ng/config/config.json
127 - ./ntsim-ng-topology-server/tapi-common-operational.xml:/opt/dev/deploy/data/tapi-common-operational.xml
128 - ./ntsim-ng-topology-server/tapi-common-running.xml:/opt/dev/deploy/data/tapi-common-running.xml
129 environment:
130 <<: *common_env
131 <<: *topo_env
132 SSH_CONNECTIONS: 1
133 TLS_CONNECTIONS: 0
134networks:
135 default:
136 external:
137 name: oam