blob: 3b83067c2e4c418a2537581873179c590fbeedb4 [file] [log] [blame]
Wei-Yu Chenad55cb82022-02-15 20:07:01 +08001# SPDX-FileCopyrightText: 2020 The Magma Authors.
2# SPDX-FileCopyrightText: 2022 Open Networking Foundation <support@opennetworking.org>
3#
4# SPDX-License-Identifier: BSD-3-Clause
Wei-Yu Chen49950b92021-11-08 19:19:18 +08005
6class ParameterName():
7 # Top-level objects
8 DEVICE = 'Device'
9 FAP_SERVICE = 'FAPService'
10
11 # Device info parameters
12 GPS_STATUS = 'GPS status'
13 PTP_STATUS = 'PTP status'
14 MME_STATUS = 'MME status'
15 REM_STATUS = 'REM status'
16
17 LOCAL_GATEWAY_ENABLE = 'Local gateway enable'
18 GPS_ENABLE = 'GPS enable'
19 GPS_LAT = 'GPS lat'
20 GPS_LONG = 'GPS long'
21 SW_VERSION = 'SW version'
22
23 SERIAL_NUMBER = 'Serial number'
24 CELL_ID = 'Cell ID'
Wei-Yu Chen678f0a52021-12-21 13:50:52 +080025 IP_ADDRESS = "ip_address"
Wei-Yu Chen49950b92021-11-08 19:19:18 +080026
27 # Capabilities
28 DUPLEX_MODE_CAPABILITY = 'Duplex mode capability'
29 BAND_CAPABILITY = 'Band capability'
30
31 # RF-related parameters
Wei-Yu Chen678f0a52021-12-21 13:50:52 +080032 EARFCNDL = 'earfcndl1'
33 EARFCNUL = 'earfcnul1'
34 EARFCNDL2 = 'earfcndl2'
35 EARFCNUL2 = 'earfcnul2'
36 EARFCNDL_LIST = 'earfcndl_list'
37 EARFCNUL_LIST = 'earfcnul_list'
38
39 FREQ_BAND_1 = "freq_band_1"
40 FREQ_BAND_2 = "freq_band_2"
41 FREQ_BAND_LIST = "freq_band_list"
42
Wei-Yu Chen49950b92021-11-08 19:19:18 +080043 BAND = 'Band'
44 PCI = 'PCI'
45 DL_BANDWIDTH = 'DL bandwidth'
46 UL_BANDWIDTH = 'UL bandwidth'
Wei-Yu Chen678f0a52021-12-21 13:50:52 +080047 TX_POWER = "tx_power"
48 TUNNEL_TYPE = "tunnel_type"
49
50 # Radio Resource Management (RRM) parameters
51 CARRIER_AGG_ENABLE = "carrier_agg_enable"
52 CARRIER_NUMBER = "carrier_number"
53 CONTIGUOUS_CC = "contiguous_cc"
Wei-Yu Chen49950b92021-11-08 19:19:18 +080054
55 # Other LTE parameters
56 ADMIN_STATE = 'Admin state'
57 OP_STATE = 'Opstate'
58 RF_TX_STATUS = 'RF TX status'
59
60 # RAN parameters
61 CELL_RESERVED = 'Cell reserved'
62 CELL_BARRED = 'Cell barred'
Wei-Yu Chen678f0a52021-12-21 13:50:52 +080063 PRIM_SOURCE = "prim_source"
Wei-Yu Chen49950b92021-11-08 19:19:18 +080064
Wei-Yu Chenad55cb82022-02-15 20:07:01 +080065 # Cell parameters
66 CELL_ENABLE64QAM = "cell_enable64qam"
67 SPECIAL_SUBFRAME_PATTERN = 'special_subframe_pattern'
68 SUBFRAME_ASSIGNMENT = 'subframe_assignment'
69
Wei-Yu Chen49950b92021-11-08 19:19:18 +080070 # Core network parameters
71 MME_IP = 'MME IP'
72 MME_PORT = 'MME port'
73 NUM_PLMNS = 'Num PLMNs'
74 PLMN = 'PLMN'
75 PLMN_LIST = 'PLMN List'
76
77 # PLMN parameters
78 PLMN_N = 'PLMN %d'
79 PLMN_N_CELL_RESERVED = 'PLMN %d cell reserved'
80 PLMN_N_ENABLE = 'PLMN %d enable'
81 PLMN_N_PRIMARY = 'PLMN %d primary'
82 PLMN_N_PLMNID = 'PLMN %d PLMNID'
83
84 # PLMN arrays are added below
Wei-Yu Chen678f0a52021-12-21 13:50:52 +080085 TAC = 'tac'
86 TAC2 = 'tac2'
Wei-Yu Chen49950b92021-11-08 19:19:18 +080087 IP_SEC_ENABLE = 'IPSec enable'
88 MME_POOL_ENABLE = 'MME pool enable'
89
90 # Management server parameters
91 PERIODIC_INFORM_ENABLE = 'Periodic inform enable'
92 PERIODIC_INFORM_INTERVAL = 'Periodic inform interval'
Wei-Yu Chen678f0a52021-12-21 13:50:52 +080093 ENABLE_CWMP = "enable_cwmp"
Wei-Yu Chen49950b92021-11-08 19:19:18 +080094
95 # Performance management parameters
96 PERF_MGMT_ENABLE = 'Perf mgmt enable'
97 PERF_MGMT_UPLOAD_INTERVAL = 'Perf mgmt upload interval'
98 PERF_MGMT_UPLOAD_URL = 'Perf mgmt upload URL'
99 PERF_MGMT_USER = 'Perf mgmt username'
100 PERF_MGMT_PASSWORD = 'Perf mgmt password'
101
Wei-Yu Chen678f0a52021-12-21 13:50:52 +0800102 SAS_ENABLE = "sas_enabled"
103 SAS_SERVER_URL = "sas_server_url"
104 SAS_UID = "sas_uid"
105 SAS_CATEGORY = "sas_category"
106 SAS_CHANNEL_TYPE = "sas_channel_type"
107 SAS_CERT_SUBJECT = "sas_cert_subject"
108 SAS_IC_GROUP_ID = "sas_icg_group_id"
109 SAS_LOCATION = "sas_location"
110 SAS_HEIGHT_TYPE = "sas_height_type"
111 SAS_FCCID = "sas_fccid"
112 SAS_MEAS_CAPS = "sas_measure_capability"
113 SAS_MANU_ENABLE = "sas_manufacturer_prefix_enable"
114
115 SAS_CPI_ENABLE = "sas_cpi_enable"
116 SAS_CPI_IPE = "sas_cpi_ipe"
117 SAS_CPI_NAME = "sas_cpi_name"
118 SAS_CPI_ID = "sas_cpi_id"
119 SAS_CPI_DATA = "sas_cpi_signature_data"
120 SAS_ANTA_AZIMUTH = "sas_antenna_azimuth"
121 SAS_ANTA_DOWNTILT = "sas_antenna_downtilt"
122 SAS_ANTA_GAIN = "sas_antenna_gain"
123 SAS_ANTA_BEAMWIDTH = "sas_antenna_beamwidth"
124
125 FIRMWARE_VERSION = "firmware_version"
126 FIRMWARE_URL = "firmware_url"
127 FIRMWARE_SIZE = "firmware_size"
128
Wei-Yu Chen49950b92021-11-08 19:19:18 +0800129
130class TrParameterType():
131 BOOLEAN = 'boolean'
132 STRING = 'string'
133 INT = 'int'
134 UNSIGNED_INT = 'unsignedInt'
135 OBJECT = 'object'