blob: 6476f7d12d6339a1f0c004610e1ba5a3691e8df2 [file] [log] [blame]
Hyunsun Mooned19c092019-07-10 15:24:45 -06001{{/*
2Copyright 2019-present Open Networking Foundation
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/}}
16
Hyunsun Moon43eadcc2019-08-20 16:16:08 -060017{{- $plmn := tuple .Values.config.plmn.mcc .Values.config.plmn.mnc | include "oaisim.plmn" | quote -}}
Hyunsun Mooned19c092019-07-10 15:24:45 -060018---
19apiVersion: v1
20kind: ConfigMap
21metadata:
Hyunsun Moon43eadcc2019-08-20 16:16:08 -060022 name: {{ .Values.config.ue.name }}
Hyunsun Mooned19c092019-07-10 15:24:45 -060023data:
24 ue_comac_test.conf: |
25 PLMN: {
26 PLMN0: {
Hyunsun Moon43eadcc2019-08-20 16:16:08 -060027 FULLNAME={{ .Values.config.plmn.name | quote }};
28 SHORTNAME={{ .Values.config.plmn.short_name | quote }};
29 MCC={{ .Values.config.plmn.mcc | quote }};
30 MNC={{ .Values.config.plmn.mnc | quote }};
Hyunsun Mooned19c092019-07-10 15:24:45 -060031 };
32 };
33 UE0: {
34 USER: {
35 IMEI="356113022094149";
36 MANUFACTURER="OAISIM";
37 MODEL="OAISIM";
38 PIN="0000";
39 };
40 SIM: {
Hyunsun Moon43eadcc2019-08-20 16:16:08 -060041 MSIN={{ .Values.config.ue.sim.msin | quote }};
42 USIM_API_K={{ .Values.config.ue.sim.api_key | quote }};
43 OPC={{ .Values.config.ue.sim.opc | quote }};
44 MSISDN={{ .Values.config.ue.sim.msisdn | quote }};
Hyunsun Mooned19c092019-07-10 15:24:45 -060045 };
46 HPLMN= {{ $plmn }};
47 UCPLMN_LIST = ();
48 OPLMN_LIST = ({{ $plmn }});
49 OCPLMN_LIST = ();
50 FPLMN_LIST = ();
51 EHPLMN_LIST= ();
52 };
53 nfapi.conf: |
54 log_config = {
55 global_log_level ="info";
56 global_log_verbosity ="medium";
57 hw_log_level ="info";
58 hw_log_verbosity ="medium";
59 phy_log_level ="info";
60 phy_log_verbosity ="medium";
61 mac_log_level ="info";
62 mac_log_verbosity ="medium";
63 rlc_log_level ="info";
64 rlc_log_verbosity ="medium";
65 pdcp_log_level ="info";
66 pdcp_log_verbosity ="medium";
67 rrc_log_level ="info";
68 rrc_log_verbosity ="full";
69 };
70
71 L1s = (
72 {
73 num_cc = 1;
74 tr_n_preference = "nfapi";
75 local_n_if_name = "lo";
76 remote_n_address = "127.0.0.2";
77 local_n_address = "127.0.0.1";
78 local_n_portc = 50000;
79 remote_n_portc = 50001;
80 local_n_portd = 50010;
81 remote_n_portd = 50011;
82 }
83 );
84
85 RUs = (
86 {
87 local_rf = "yes"
88 nb_tx = 1
89 nb_rx = 1
90 att_tx = 90
91 att_rx = 0;
92 bands = [7,38,42,43];
93 max_pdschReferenceSignalPower = -27;
94 max_rxgain = 125;
95 }
96 );
97 ue-gen-usim.sh: |
98{{ tuple "bin/_ue-gen-usim.sh.tpl" . | include "oaisim.template" | indent 4 }}
99 ue-init.sh: |
100{{ tuple "bin/_ue-init.sh.tpl" . | include "oaisim.template" | indent 4 }}
101 ue-run.sh: |
102{{ tuple "bin/_ue-run.sh.tpl" . | include "oaisim.template" | indent 4 }}