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 | |
Hyunsun Moon | 43eadcc | 2019-08-20 16:16:08 -0600 | [diff] [blame] | 17 | {{- $plmn := tuple .Values.config.plmn.mcc .Values.config.plmn.mnc | include "oaisim.plmn" | quote -}} |
Hyunsun Moon | ed19c09 | 2019-07-10 15:24:45 -0600 | [diff] [blame] | 18 | --- |
| 19 | apiVersion: v1 |
| 20 | kind: ConfigMap |
| 21 | metadata: |
Hyunsun Moon | 1015230 | 2019-10-24 20:23:35 -0500 | [diff] [blame] | 22 | name: ue |
| 23 | labels: |
| 24 | {{ tuple "ue" . | include "oaisim.metadata_labels" | indent 4 }} |
Hyunsun Moon | ed19c09 | 2019-07-10 15:24:45 -0600 | [diff] [blame] | 25 | data: |
| 26 | ue_comac_test.conf: | |
| 27 | PLMN: { |
| 28 | PLMN0: { |
Hyunsun Moon | 43eadcc | 2019-08-20 16:16:08 -0600 | [diff] [blame] | 29 | FULLNAME={{ .Values.config.plmn.name | quote }}; |
| 30 | SHORTNAME={{ .Values.config.plmn.short_name | quote }}; |
| 31 | MCC={{ .Values.config.plmn.mcc | quote }}; |
| 32 | MNC={{ .Values.config.plmn.mnc | quote }}; |
Hyunsun Moon | ed19c09 | 2019-07-10 15:24:45 -0600 | [diff] [blame] | 33 | }; |
| 34 | }; |
| 35 | UE0: { |
| 36 | USER: { |
| 37 | IMEI="356113022094149"; |
| 38 | MANUFACTURER="OAISIM"; |
| 39 | MODEL="OAISIM"; |
| 40 | PIN="0000"; |
| 41 | }; |
| 42 | SIM: { |
Hyunsun Moon | 43eadcc | 2019-08-20 16:16:08 -0600 | [diff] [blame] | 43 | MSIN={{ .Values.config.ue.sim.msin | quote }}; |
| 44 | USIM_API_K={{ .Values.config.ue.sim.api_key | quote }}; |
| 45 | OPC={{ .Values.config.ue.sim.opc | quote }}; |
| 46 | MSISDN={{ .Values.config.ue.sim.msisdn | quote }}; |
Hyunsun Moon | ed19c09 | 2019-07-10 15:24:45 -0600 | [diff] [blame] | 47 | }; |
| 48 | HPLMN= {{ $plmn }}; |
| 49 | UCPLMN_LIST = (); |
| 50 | OPLMN_LIST = ({{ $plmn }}); |
| 51 | OCPLMN_LIST = (); |
| 52 | FPLMN_LIST = (); |
| 53 | EHPLMN_LIST= (); |
| 54 | }; |
| 55 | nfapi.conf: | |
| 56 | log_config = { |
| 57 | global_log_level ="info"; |
| 58 | global_log_verbosity ="medium"; |
| 59 | hw_log_level ="info"; |
| 60 | hw_log_verbosity ="medium"; |
| 61 | phy_log_level ="info"; |
| 62 | phy_log_verbosity ="medium"; |
| 63 | mac_log_level ="info"; |
| 64 | mac_log_verbosity ="medium"; |
| 65 | rlc_log_level ="info"; |
| 66 | rlc_log_verbosity ="medium"; |
| 67 | pdcp_log_level ="info"; |
| 68 | pdcp_log_verbosity ="medium"; |
| 69 | rrc_log_level ="info"; |
| 70 | rrc_log_verbosity ="full"; |
| 71 | }; |
| 72 | |
| 73 | L1s = ( |
| 74 | { |
| 75 | num_cc = 1; |
| 76 | tr_n_preference = "nfapi"; |
| 77 | local_n_if_name = "lo"; |
| 78 | remote_n_address = "127.0.0.2"; |
| 79 | local_n_address = "127.0.0.1"; |
| 80 | local_n_portc = 50000; |
| 81 | remote_n_portc = 50001; |
| 82 | local_n_portd = 50010; |
| 83 | remote_n_portd = 50011; |
| 84 | } |
| 85 | ); |
| 86 | |
| 87 | RUs = ( |
| 88 | { |
| 89 | local_rf = "yes" |
| 90 | nb_tx = 1 |
| 91 | nb_rx = 1 |
| 92 | att_tx = 90 |
| 93 | att_rx = 0; |
| 94 | bands = [7,38,42,43]; |
| 95 | max_pdschReferenceSignalPower = -27; |
| 96 | max_rxgain = 125; |
| 97 | } |
| 98 | ); |
| 99 | ue-gen-usim.sh: | |
| 100 | {{ tuple "bin/_ue-gen-usim.sh.tpl" . | include "oaisim.template" | indent 4 }} |
| 101 | ue-init.sh: | |
| 102 | {{ tuple "bin/_ue-init.sh.tpl" . | include "oaisim.template" | indent 4 }} |
| 103 | ue-run.sh: | |
| 104 | {{ tuple "bin/_ue-run.sh.tpl" . | include "oaisim.template" | indent 4 }} |