Hyunsun Moon | ed19c09 | 2019-07-10 15:24:45 -0600 | [diff] [blame] | 1 | {{/* |
| 2 | Copyright 2019-present Open Networking Foundation |
| 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 | |
| 17 | {{- $plmn := tuple .Values.conf.plmn.mcc .Values.conf.plmn.mnc | include "oaisim.plmn" | quote -}} |
| 18 | --- |
| 19 | apiVersion: v1 |
| 20 | kind: ConfigMap |
| 21 | metadata: |
| 22 | name: {{ .Values.conf.ue.name }} |
| 23 | data: |
| 24 | ue_comac_test.conf: | |
| 25 | PLMN: { |
| 26 | PLMN0: { |
| 27 | FULLNAME={{ .Values.conf.plmn.name | quote }}; |
| 28 | SHORTNAME={{ .Values.conf.plmn.short_name | quote }}; |
| 29 | MCC={{ .Values.conf.plmn.mcc | quote }}; |
| 30 | MNC={{ .Values.conf.plmn.mnc | quote }}; |
| 31 | }; |
| 32 | }; |
| 33 | UE0: { |
| 34 | USER: { |
| 35 | IMEI="356113022094149"; |
| 36 | MANUFACTURER="OAISIM"; |
| 37 | MODEL="OAISIM"; |
| 38 | PIN="0000"; |
| 39 | }; |
| 40 | SIM: { |
| 41 | MSIN={{ .Values.conf.ue.sim.msin | quote }}; |
| 42 | USIM_API_K={{ .Values.conf.ue.sim.api_key | quote }}; |
| 43 | OPC={{ .Values.conf.ue.sim.opc | quote }}; |
| 44 | MSISDN={{ .Values.conf.ue.sim.msisdn | quote }}; |
| 45 | }; |
| 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 }} |