Add new tests to validate O1
[it/dep.git] / smo-install / oran_oom / du-simulator / templates / configmapenv.yaml
1 # Copyright © 2021-2022 AT&T Intellectual Property
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 {{- range $i, $du := .Values.dus }}
16 ---
17 apiVersion: v1
18 kind: ConfigMap
19 metadata:
20   name: {{ $du.name }}-configmapenv
21   labels:
22     sim-name: {{ $du.name }}-env
23     release: {{ $.Release.Name }}
24     chart: {{ $.Chart.Name }}
25 data:
26   IPv6_ENABLED: {{ $.Values.ntsimNg.ipV6Enabled | quote }}
27   SSH_CONNECTIONS: {{ $.Values.ntsimNg.sshConnections | quote }}
28   TLS_CONNECTIONS: {{ $.Values.ntsimNg.tlsConnections | quote }}
29   NTS_HOST_IP: {{ $du.name }}.{{ $.Release.Namespace }}
30   NTS_HOST_BASE_PORT: {{ $.Values.ntsimNg.ntsHostBasePort | quote }}
31   NTS_HOST_NETCONF_SSH_BASE_PORT: {{ $.Values.ntsimNg.ntsHostNetconfSshBasePort | quote }}
32   NTS_HOST_NETCONF_TLS_BASE_PORT: {{ $.Values.ntsimNg.ntsHostNetconfTlsBasePort | quote }}
33   NTS_HOST_TRANSFER_FTP_BASE_PORT: {{ $.Values.ntsimNg.ntsHostTransferFtpBasePort | quote }}
34   NTS_HOST_TRANSFER_SFTP_BASE_PORT: {{ $.Values.ntsimNg.ntsHostTransferSftpBasePort | quote }}
35   NTS_NF_MOUNT_POINT_ADDRESSING_METHOD: {{ $.Values.ntsimNg.ntsNfMountPointAddressingMethod | quote }}
36
37   SDN_CONTROLLER_USERNAME: {{ $.Values.ntsimNg.sdnControllerUsername | quote }}
38   SDN_CONTROLLER_PASSWORD: {{ $.Values.ntsimNg.sdnControllerPassword | quote }} 
39   SDN_CONTROLLER_PROTOCOL: {{ $.Values.ntsimNg.sdnControllerProtocol | quote }}
40   SDN_CONTROLLER_CALLHOME_IP: {{ $.Values.ntsimNg.sdnControllerCallHomeAddress | quote }}
41   SDN_CONTROLLER_CALLHOME_PORT: {{ $.Values.ntsimNg.sdnControllerCallHomePort | quote }}
42   SDN_CONTROLLER_IP: {{ $.Values.ntsimNg.sdnControllerAddress | quote }}
43   SDN_CONTROLLER_PORT: {{ $.Values.ntsimNg.sdnControllerPort | quote }}
44
45   VES_COMMON_HEADER_VERSION: {{ $.Values.ntsimNg.vesCommonHeaderVersion | quote }}
46   VES_ENDPOINT_PROTOCOL: {{ $.Values.ntsimNg.vesEndpointProtocol | quote }}
47   VES_ENDPOINT_IP: {{ $.Values.ntsimNg.vesEndpointAddress | quote }}
48   VES_ENDPOINT_PORT: {{ $.Values.ntsimNg.vesEndpointPort | quote }}
49   VES_ENDPOINT_AUTH_METHOD: {{ $.Values.ntsimNg.vesEndpointAuthMethod | quote }}
50   VES_ENDPOINT_USERNAME: {{ $.Values.ntsimNg.vesEndpointUsername | quote }}
51   VES_ENDPOINT_PASSWORD: {{ $.Values.ntsimNg.vesEndpointPassword | quote }}
52
53   NTS_NF_STANDALONE_START_FEATURES: {{ $.Values.ntsimNg.ntsNfStandaloneStartFeatures | quote }}
54
55 {{- end }}