blob: 27df4d93128f965321069536a24fb1870e0ffef4 [file] [log] [blame]
Wei-Yu Chen49950b92021-11-08 19:19:18 +08001"""
2Copyright 2020 The Magma Authors.
3
4This source code is licensed under the BSD-style license found in the
5LICENSE file in the root directory of this source tree.
6
7Unless required by applicable law or agreed to in writing, software
8distributed under the License is distributed on an "AS IS" BASIS,
9WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10See the License for the specific language governing permissions and
11limitations under the License.
12"""
13
14
15class ParameterName():
16 # Top-level objects
17 DEVICE = 'Device'
18 FAP_SERVICE = 'FAPService'
19
20 # Device info parameters
21 GPS_STATUS = 'GPS status'
22 PTP_STATUS = 'PTP status'
23 MME_STATUS = 'MME status'
24 REM_STATUS = 'REM status'
25
26 LOCAL_GATEWAY_ENABLE = 'Local gateway enable'
27 GPS_ENABLE = 'GPS enable'
28 GPS_LAT = 'GPS lat'
29 GPS_LONG = 'GPS long'
30 SW_VERSION = 'SW version'
31
32 SERIAL_NUMBER = 'Serial number'
33 CELL_ID = 'Cell ID'
34
35 # Capabilities
36 DUPLEX_MODE_CAPABILITY = 'Duplex mode capability'
37 BAND_CAPABILITY = 'Band capability'
38
39 # RF-related parameters
40 EARFCNDL = 'EARFCNDL'
41 EARFCNUL = 'EARFCNUL'
42 BAND = 'Band'
43 PCI = 'PCI'
44 DL_BANDWIDTH = 'DL bandwidth'
45 UL_BANDWIDTH = 'UL bandwidth'
46 SUBFRAME_ASSIGNMENT = 'Subframe assignment'
47 SPECIAL_SUBFRAME_PATTERN = 'Special subframe pattern'
48
49 # Other LTE parameters
50 ADMIN_STATE = 'Admin state'
51 OP_STATE = 'Opstate'
52 RF_TX_STATUS = 'RF TX status'
53
54 # RAN parameters
55 CELL_RESERVED = 'Cell reserved'
56 CELL_BARRED = 'Cell barred'
57
58 # Core network parameters
59 MME_IP = 'MME IP'
60 MME_PORT = 'MME port'
61 NUM_PLMNS = 'Num PLMNs'
62 PLMN = 'PLMN'
63 PLMN_LIST = 'PLMN List'
64
65 # PLMN parameters
66 PLMN_N = 'PLMN %d'
67 PLMN_N_CELL_RESERVED = 'PLMN %d cell reserved'
68 PLMN_N_ENABLE = 'PLMN %d enable'
69 PLMN_N_PRIMARY = 'PLMN %d primary'
70 PLMN_N_PLMNID = 'PLMN %d PLMNID'
71
72 # PLMN arrays are added below
73 TAC = 'TAC'
74 IP_SEC_ENABLE = 'IPSec enable'
75 MME_POOL_ENABLE = 'MME pool enable'
76
77 # Management server parameters
78 PERIODIC_INFORM_ENABLE = 'Periodic inform enable'
79 PERIODIC_INFORM_INTERVAL = 'Periodic inform interval'
80
81 # Performance management parameters
82 PERF_MGMT_ENABLE = 'Perf mgmt enable'
83 PERF_MGMT_UPLOAD_INTERVAL = 'Perf mgmt upload interval'
84 PERF_MGMT_UPLOAD_URL = 'Perf mgmt upload URL'
85 PERF_MGMT_USER = 'Perf mgmt username'
86 PERF_MGMT_PASSWORD = 'Perf mgmt password'
87
88
89class TrParameterType():
90 BOOLEAN = 'boolean'
91 STRING = 'string'
92 INT = 'int'
93 UNSIGNED_INT = 'unsignedInt'
94 OBJECT = 'object'