blob: 80f7b6e68ca1025dd4c4e392d39bb862a3baced5 [file] [log] [blame]
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +02001# osmo_gsm_tester: base classes to share code among eNodeB subclasses.
2#
3# Copyright (C) 2020 by sysmocom - s.f.m.c. GmbH
4#
5# Author: Pau Espin Pedrol <pespin@sysmocom.de>
6#
7# This program is free software: you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as
9# published by the Free Software Foundation, either version 3 of the
10# License, or (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19
20from abc import ABCMeta, abstractmethod
Pau Espin Pedrole1a58bd2020-04-10 20:46:07 +020021from ..core import log, config
Pau Espin Pedrolea8c3d42020-05-04 12:05:05 +020022from ..core import schema
Pau Espin Pedrol1abff4e2020-05-26 12:32:19 +020023from . import run_node
Pau Espin Pedrolfbb86112020-10-16 16:55:23 +020024from .gnuradio_zmq_broker import GrBroker
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +020025
Pau Espin Pedrolea8c3d42020-05-04 12:05:05 +020026def on_register_schemas():
27 resource_schema = {
28 'label': schema.STR,
29 'type': schema.STR,
Pau Espin Pedrolea8c3d42020-05-04 12:05:05 +020030 'gtp_bind_addr': schema.IPV4,
31 'id': schema.UINT,
32 'num_prb': schema.UINT,
Andre Puschmannd0682ba2020-10-15 15:46:29 +020033 'duplex': schema.STR,
34 'tdd_uldl_config': schema.UINT,
35 'tdd_special_subframe_pattern': schema.UINT,
Pau Espin Pedrolea8c3d42020-05-04 12:05:05 +020036 'transmission_mode': schema.LTE_TRANSMISSION_MODE,
37 'tx_gain': schema.UINT,
38 'rx_gain': schema.UINT,
39 'rf_dev_type': schema.STR,
40 'rf_dev_args': schema.STR,
Andre Puschmannc489f192020-10-09 14:46:38 +020041 'rf_dev_sync': schema.STR,
Pau Espin Pedrole592de82020-06-15 17:01:16 +020042 'additional_args[]': schema.STR,
Andre Puschmann0cfc0842020-08-26 18:19:15 +020043 'inactivity_timer': schema.INT,
Pau Espin Pedrolea8c3d42020-05-04 12:05:05 +020044 'enable_measurements': schema.BOOL_STR,
Andre Puschmann955249d2020-07-01 15:44:09 +020045 'enable_dl_awgn': schema.BOOL_STR,
46 'dl_awgn_snr': schema.INT,
Nils Fürstea8180152020-12-03 14:14:31 +010047 'cipher_list[]': schema.CIPHER_4G,
48 'integrity_list[]': schema.INTEGRITY_4G,
Pau Espin Pedrolea8c3d42020-05-04 12:05:05 +020049 'a1_report_type': schema.STR,
50 'a1_report_value': schema.INT,
51 'a1_hysteresis': schema.INT,
52 'a1_time_to_trigger': schema.INT,
53 'a2_report_type': schema.STR,
54 'a2_report_value': schema.INT,
55 'a2_hysteresis': schema.INT,
56 'a2_time_to_trigger': schema.INT,
57 'a3_report_type': schema.STR,
58 'a3_report_value': schema.INT,
59 'a3_hysteresis': schema.INT,
60 'a3_time_to_trigger': schema.INT,
61 'num_cells': schema.UINT,
62 'cell_list[].cell_id': schema.UINT,
Andre Puschmann549826d2020-04-21 21:14:30 +020063 'cell_list[].rf_port': schema.UINT,
Pau Espin Pedrolea8c3d42020-05-04 12:05:05 +020064 'cell_list[].pci': schema.UINT,
Pau Espin Pedrolef7256a2020-11-09 18:52:05 +010065 'cell_list[].ncell_list[].enb_id': schema.UINT,
66 'cell_list[].ncell_list[].cell_id': schema.UINT,
67 'cell_list[].ncell_list[].pci': schema.UINT,
68 'cell_list[].ncell_list[].dl_earfcn': schema.UINT,
Pau Espin Pedrolea8c3d42020-05-04 12:05:05 +020069 'cell_list[].scell_list[]': schema.UINT,
70 'cell_list[].dl_earfcn': schema.UINT,
Andre Puschmanna7fd3942020-11-06 16:24:38 +010071 'cell_list[].root_seq_idx': schema.UINT,
72 'cell_list[].tac': schema.UINT,
Pau Espin Pedrolea8c3d42020-05-04 12:05:05 +020073 'cell_list[].dl_rfemu.type': schema.STR,
74 'cell_list[].dl_rfemu.addr': schema.IPV4,
75 'cell_list[].dl_rfemu.ports[]': schema.UINT,
76 }
Pau Espin Pedrol1abff4e2020-05-26 12:32:19 +020077 for key, val in run_node.RunNode.schema().items():
78 resource_schema['run_node.%s' % key] = val
Pau Espin Pedrolea8c3d42020-05-04 12:05:05 +020079 schema.register_resource_schema('enb', resource_schema)
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +020080
81class eNodeB(log.Origin, metaclass=ABCMeta):
82
83##############
84# PROTECTED
85##############
Pau Espin Pedrola442cb82020-05-05 12:54:37 +020086 def __init__(self, testenv, conf, name):
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +020087 super().__init__(log.C_RUN, '%s' % name)
88 self._conf = conf
Pau Espin Pedrol1abff4e2020-05-26 12:32:19 +020089 self._run_node = run_node.RunNode.from_conf(conf.get('run_node', {}))
Andre Puschmann4b5a09a2020-04-14 22:24:00 +020090 self._gtp_bind_addr = conf.get('gtp_bind_addr', None)
91 if self._gtp_bind_addr is None:
Pau Espin Pedrol1abff4e2020-05-26 12:32:19 +020092 self._gtp_bind_addr = self._run_node.run_addr()
Pau Espin Pedrola2d4e2f2020-10-22 15:46:42 +020093 label = conf.get('label', None)
Andre Puschmannbfd3fe62020-12-09 21:40:46 +010094 if label is not None:
95 self.set_name('%s_%s_%s' % (name, label, self._run_node.run_addr()))
96 else:
97 self.set_name('%s_%s' % (name, self._run_node.run_addr()))
Pau Espin Pedrole44e76a2020-03-31 12:35:19 +020098 self._txmode = 0
Pau Espin Pedrol491f77c2020-04-20 14:20:43 +020099 self._id = None
Andre Puschmannd0682ba2020-10-15 15:46:29 +0200100 self._duplex = None
Pau Espin Pedrole44e76a2020-03-31 12:35:19 +0200101 self._num_prb = 0
Pau Espin Pedrolf46ae222020-04-17 16:23:54 +0200102 self._num_cells = None
Pau Espin Pedrole44e76a2020-03-31 12:35:19 +0200103 self._epc = None
Pau Espin Pedrol41091232020-10-05 19:23:38 +0200104 self.gen_conf = None
Pau Espin Pedrolfbb86112020-10-16 16:55:23 +0200105 self.gr_broker = GrBroker.ref()
106 self.gr_broker.register_enb(self)
107 self._use_gr_broker = False
Pau Espin Pedrol41091232020-10-05 19:23:38 +0200108
109 def using_grbroker(self, cfg_values):
110 # whether we are to use Grbroker in between ENB and UE.
111 # Initial checks:
112 if cfg_values['enb'].get('rf_dev_type') != 'zmq':
113 return False
114 cell_list = cfg_values['enb']['cell_list']
115 use_match = False
116 notuse_match = False
117 for cell in cell_list:
118 if cell.get('dl_rfemu', False) and cell['dl_rfemu'].get('type', None) == 'gnuradio_zmq':
119 use_match = True
120 else:
121 notuse_match = True
122 if use_match and notuse_match:
123 raise log.Error('Some Cells are configured to use gnuradio_zmq and some are not, unsupported')
124 return use_match
125
126 def calc_required_zmq_ports(self, cfg_values):
127 cell_list = cfg_values['enb']['cell_list']
128 return len(cell_list) * self.num_ports() # *2 if MIMO
129
130 def calc_required_zmq_ports_joined_earfcn(self, cfg_values):
131 #gr_broker will join the earfcns, so we need to count uniqe earfcns:
132 cell_list = cfg_values['enb']['cell_list']
133 earfcn_li = []
134 [earfcn_li.append(int(cell['dl_earfcn'])) for cell in cell_list if int(cell['dl_earfcn']) not in earfcn_li]
135 return len(earfcn_li) * self.num_ports() # *2 if MIMO
136
137
138 def assign_enb_zmq_ports(self, cfg_values, port_name, base_port):
139 port_offset = 0
140 cell_list = cfg_values['enb']['cell_list']
141 for cell in cell_list:
142 cell[port_name] = base_port + port_offset
143 port_offset += self.num_ports()
144 # TODO: do we need to assign cell_list back?
145
146 def assign_enb_zmq_ports_joined_earfcn(self, cfg_values, port_name, base_port):
147 # TODO: Set in cell one bind port per unique earfcn, this is where UE will connect to when we use grbroker.
148 cell_list = cfg_values['enb']['cell_list']
149 earfcn_li = []
150 [earfcn_li.append(int(cell['dl_earfcn'])) for cell in cell_list if int(cell['dl_earfcn']) not in earfcn_li]
151 for cell in cell_list:
152 cell[port_name] = base_port + earfcn_li.index(int(cell['dl_earfcn'])) * self.num_ports()
Pau Espin Pedrole44e76a2020-03-31 12:35:19 +0200153
Pau Espin Pedrolc04528c2020-04-01 13:55:51 +0200154 def configure(self, config_specifics_li):
Pau Espin Pedrole44e76a2020-03-31 12:35:19 +0200155 values = dict(enb=config.get_defaults('enb'))
Pau Espin Pedrolc04528c2020-04-01 13:55:51 +0200156 for config_specifics in config_specifics_li:
157 config.overlay(values, dict(enb=config.get_defaults(config_specifics)))
Pau Espin Pedrola442cb82020-05-05 12:54:37 +0200158 config.overlay(values, dict(enb=self.testenv.suite().config().get('enb', {})))
Pau Espin Pedrolc04528c2020-04-01 13:55:51 +0200159 for config_specifics in config_specifics_li:
Pau Espin Pedrola442cb82020-05-05 12:54:37 +0200160 config.overlay(values, dict(enb=self.testenv.suite().config().get(config_specifics, {})))
Pau Espin Pedrole44e76a2020-03-31 12:35:19 +0200161 config.overlay(values, dict(enb=self._conf))
Pau Espin Pedrol491f77c2020-04-20 14:20:43 +0200162 self._id = int(values['enb'].get('id', None))
163 assert self._id is not None
Andre Puschmannd0682ba2020-10-15 15:46:29 +0200164 self._duplex = values['enb'].get('duplex', None)
165 assert self._duplex
Pau Espin Pedrole44e76a2020-03-31 12:35:19 +0200166 self._num_prb = int(values['enb'].get('num_prb', None))
167 assert self._num_prb
168 self._txmode = int(values['enb'].get('transmission_mode', None))
169 assert self._txmode
170 config.overlay(values, dict(enb={ 'num_ports': self.num_ports() }))
Andre Puschmann0cfc0842020-08-26 18:19:15 +0200171 self._inactivity_timer = int(values['enb'].get('inactivity_timer', None))
172 assert self._inactivity_timer
Pau Espin Pedrole44e76a2020-03-31 12:35:19 +0200173 assert self._epc is not None
Pau Espin Pedrol1abff4e2020-05-26 12:32:19 +0200174 config.overlay(values, dict(enb={ 'addr': self.addr() }))
Pau Espin Pedrole44e76a2020-03-31 12:35:19 +0200175 config.overlay(values, dict(enb={ 'mme_addr': self._epc.addr() }))
Andre Puschmann4b5a09a2020-04-14 22:24:00 +0200176 config.overlay(values, dict(enb={ 'gtp_bind_addr': self._gtp_bind_addr }))
Pau Espin Pedrolf46ae222020-04-17 16:23:54 +0200177 self._num_cells = int(values['enb'].get('num_cells', None))
178 assert self._num_cells
179
180 # adjust cell_list to num_cells length:
181 len_cell_list = len(values['enb']['cell_list'])
182 if len_cell_list >= self._num_cells:
183 values['enb']['cell_list'] = values['enb']['cell_list'][:self._num_cells]
184 else:
185 raise log.Error('enb.cell_list items (%d) < enb.num_cells (%d) attribute!' % (len_cell_list, self._num_cells))
186 # adjust scell list (to only contain values available in cell_list):
187 cell_id_list = [c['cell_id'] for c in values['enb']['cell_list']]
188 for i in range(len(values['enb']['cell_list'])):
189 scell_list_old = values['enb']['cell_list'][i]['scell_list']
190 scell_list_new = []
191 for scell_id in scell_list_old:
192 if scell_id in cell_id_list:
193 scell_list_new.append(scell_id)
194 values['enb']['cell_list'][i]['scell_list'] = scell_list_new
195
Pau Espin Pedrol41091232020-10-05 19:23:38 +0200196 # Assign ZMQ ports to each Cell/EARFCN.
197 if values['enb'].get('rf_dev_type') == 'zmq':
198 resourcep = self.testenv.suite().resource_pool()
199 num_ports = self.calc_required_zmq_ports(values)
200 num_ports_joined_earfcn = self.calc_required_zmq_ports_joined_earfcn(values)
201 ue_bind_port = self.ue.zmq_base_bind_port()
202 enb_bind_port = resourcep.next_zmq_port_range(self, num_ports)
203 self.assign_enb_zmq_ports(values, 'zmq_enb_bind_port', enb_bind_port)
204 # If we are to use a GrBroker, then initialize here to have remote zmq ports available:
Pau Espin Pedrolfbb86112020-10-16 16:55:23 +0200205 self._use_gr_broker = self.using_grbroker(values)
206 if self._use_gr_broker:
Pau Espin Pedrol41091232020-10-05 19:23:38 +0200207 zmq_enb_peer_port = resourcep.next_zmq_port_range(self, num_ports)
208 self.assign_enb_zmq_ports(values, 'zmq_enb_peer_port', zmq_enb_peer_port) # These are actually bound to GrBroker
209 self.assign_enb_zmq_ports_joined_earfcn(values, 'zmq_ue_bind_port', ue_bind_port) # This is were GrBroker binds on the UE side
210 zmq_ue_peer_port = resourcep.next_zmq_port_range(self, num_ports_joined_earfcn)
211 self.assign_enb_zmq_ports_joined_earfcn(values, 'zmq_ue_peer_port', zmq_ue_peer_port) # This is were GrBroker binds on the UE side
212 # Already set gen_conf here in advance since gr_broker needs the cell list
213 self.gen_conf = values
Pau Espin Pedrolfbb86112020-10-16 16:55:23 +0200214 self.gr_broker.start()
Pau Espin Pedrol41091232020-10-05 19:23:38 +0200215 else:
216 self.assign_enb_zmq_ports(values, 'zmq_enb_peer_port', ue_bind_port)
217 self.assign_enb_zmq_ports(values, 'zmq_ue_bind_port', ue_bind_port) #If no broker we need to match amount of ports
218 self.assign_enb_zmq_ports(values, 'zmq_ue_peer_port', enb_bind_port)
219
Pau Espin Pedrole44e76a2020-03-31 12:35:19 +0200220 return values
221
Pau Espin Pedrol491f77c2020-04-20 14:20:43 +0200222 def id(self):
223 return self._id
224
Pau Espin Pedrole44e76a2020-03-31 12:35:19 +0200225 def num_ports(self):
226 if self._txmode == 1:
227 return 1
228 return 2
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +0200229
Andre Puschmann0957e9e2020-06-16 16:29:27 +0200230 def num_cells(self):
231 return self._num_cells
232
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +0200233########################
234# PUBLIC - INTERNAL API
235########################
236 def cleanup(self):
237 'Nothing to do by default. Subclass can override if required.'
Pau Espin Pedrol41091232020-10-05 19:23:38 +0200238 if self.gr_broker:
Pau Espin Pedrolfbb86112020-10-16 16:55:23 +0200239 self.gr_broker.unregister_enb(self)
Pau Espin Pedrol41091232020-10-05 19:23:38 +0200240 GrBroker.unref()
241 self.gr_broker = None
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +0200242
Pau Espin Pedrole44e76a2020-03-31 12:35:19 +0200243 def num_prb(self):
244 return self._num_prb
245
Andre Puschmanne2a6da62020-04-20 20:39:34 +0200246 #reference: srsLTE.git srslte_symbol_sz()
247 def num_prb2symbol_sz(self, num_prb):
Andre Puschmann0a501102020-06-02 22:35:27 +0200248 if num_prb == 6:
Andre Puschmanne2a6da62020-04-20 20:39:34 +0200249 return 128
Andre Puschmann0a501102020-06-02 22:35:27 +0200250 if num_prb == 50:
Andre Puschmanne2a6da62020-04-20 20:39:34 +0200251 return 768
Andre Puschmann0a501102020-06-02 22:35:27 +0200252 if num_prb == 75:
Andre Puschmanne2a6da62020-04-20 20:39:34 +0200253 return 1024
Andre Puschmann0a501102020-06-02 22:35:27 +0200254 return 1536
255
Andre Puschmanne2a6da62020-04-20 20:39:34 +0200256 raise log.Error('invalid num_prb %r', num_prb)
257
258 def num_prb2base_srate(self, num_prb):
259 return self.num_prb2symbol_sz(num_prb) * 15 * 1000
260
Pau Espin Pedrol41091232020-10-05 19:23:38 +0200261 def get_zmq_rf_dev_args(self, cfg_values):
Andre Puschmanne2a6da62020-04-20 20:39:34 +0200262 base_srate = self.num_prb2base_srate(self.num_prb())
Pau Espin Pedrol41091232020-10-05 19:23:38 +0200263
Pau Espin Pedrolfbb86112020-10-16 16:55:23 +0200264 if self._use_gr_broker:
Pau Espin Pedrol4acb45a2020-10-23 13:51:03 +0200265 ul_rem_addr = self.gr_broker.addr()
Pau Espin Pedrol41091232020-10-05 19:23:38 +0200266 else:
267 ul_rem_addr = self.ue.addr()
268
Andre Puschmannf69b9482021-03-14 15:38:58 +0100269 rf_dev_args = 'fail_on_disconnect=true,log_trx_timeout=true,trx_timeout_ms=8000'
Pau Espin Pedrol41091232020-10-05 19:23:38 +0200270 idx = 0
271 cell_list = cfg_values['enb']['cell_list']
Andre Puschmanne2a6da62020-04-20 20:39:34 +0200272 # Define all 8 possible RF ports (2x CA with 2x2 MIMO)
Pau Espin Pedrol41091232020-10-05 19:23:38 +0200273 for cell in cell_list:
274 rf_dev_args += ',tx_port%u=tcp://%s:%u' %(idx, self.addr(), cell['zmq_enb_bind_port'] + 0)
275 if self.num_ports() > 1:
276 rf_dev_args += ',tx_port%u=tcp://%s:%u' %(idx + 1, self.addr(), cell['zmq_enb_bind_port'] + 1)
277 rf_dev_args += ',rx_port%u=tcp://%s:%u' %(idx, ul_rem_addr, cell['zmq_enb_peer_port'] + 0)
278 if self.num_ports() > 1:
279 rf_dev_args += ',rx_port%u=tcp://%s:%u' %(idx + 1, ul_rem_addr, cell['zmq_enb_peer_port'] + 1)
280 idx += self.num_ports()
Andre Puschmanne2a6da62020-04-20 20:39:34 +0200281
Andre Puschmanne2a6da62020-04-20 20:39:34 +0200282 rf_dev_args += ',id=enb,base_srate=' + str(base_srate)
Pau Espin Pedrol41091232020-10-05 19:23:38 +0200283 return rf_dev_args
Andre Puschmanne2a6da62020-04-20 20:39:34 +0200284
Pau Espin Pedrol41091232020-10-05 19:23:38 +0200285 def get_zmq_rf_dev_args_for_ue(self, ue):
286 cell_list = self.gen_conf['enb']['cell_list']
287 rf_dev_args = ''
288 idx = 0
289 earfcns_done = []
290 for cell in cell_list:
Pau Espin Pedrolfbb86112020-10-16 16:55:23 +0200291 if self._use_gr_broker:
Pau Espin Pedrol41091232020-10-05 19:23:38 +0200292 if cell['dl_earfcn'] in earfcns_done:
293 continue
294 earfcns_done.append(cell['dl_earfcn'])
295 rf_dev_args += ',tx_port%u=tcp://%s:%u' %(idx, ue.addr(), cell['zmq_ue_bind_port'] + 0)
296 if self.num_ports() > 1:
297 rf_dev_args += ',tx_port%u=tcp://%s:%u' %(idx + 1, ue.addr(), cell['zmq_ue_bind_port'] + 1)
298 rf_dev_args += ',rx_port%u=tcp://%s:%u' %(idx, self.addr(), cell['zmq_ue_peer_port'] + 0)
299 if self.num_ports() > 1:
300 rf_dev_args += ',rx_port%u=tcp://%s:%u' %(idx + 1, self.addr(), cell['zmq_ue_peer_port'] + 1)
301 idx += self.num_ports()
302 # remove trailing comma:
303 if rf_dev_args[0] == ',':
304 return rf_dev_args[1:]
Andre Puschmanne2a6da62020-04-20 20:39:34 +0200305 return rf_dev_args
306
Pau Espin Pedrola442cb82020-05-05 12:54:37 +0200307 def get_instance_by_type(testenv, conf):
Pau Espin Pedrol1ee5ec52020-05-04 17:16:39 +0200308 """Allocate a ENB child class based on type. Opts are passed to the newly created object."""
309 enb_type = conf.get('type')
310 if enb_type is None:
311 raise RuntimeError('ENB type is not defined!')
312
313 if enb_type == 'amarisoftenb':
314 from .enb_amarisoft import AmarisoftENB
315 enb_class = AmarisoftENB
316 elif enb_type == 'srsenb':
317 from .enb_srs import srsENB
318 enb_class = srsENB
319 else:
320 raise log.Error('ENB type not supported:', enb_type)
Pau Espin Pedrola442cb82020-05-05 12:54:37 +0200321 return enb_class(testenv, conf)
Pau Espin Pedrol1ee5ec52020-05-04 17:16:39 +0200322
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +0200323###################
324# PUBLIC (test API included)
325###################
326 @abstractmethod
327 def start(self, epc):
328 'Starts ENB, it will connect to "epc"'
329 pass
330
331 @abstractmethod
Andre Puschmann215bec22021-01-08 12:34:48 +0100332 def stop(self):
333 pass
334
335 @abstractmethod
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +0200336 def ue_add(self, ue):
337 pass
338
339 @abstractmethod
340 def running(self):
341 pass
342
343 @abstractmethod
Andre Puschmann7d3b83e2020-09-02 22:17:54 +0200344 def ue_max_rate(self, downlink=True, num_carriers=1):
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +0200345 pass
346
Pau Espin Pedrold4404d52020-04-20 13:29:31 +0200347 @abstractmethod
348 def get_rfemu(self, cell=0, dl=True):
349 'Get rfemu.RFemulation subclass implementation object for given cell index and direction.'
350 pass
351
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +0200352 def addr(self):
Pau Espin Pedrol1abff4e2020-05-26 12:32:19 +0200353 return self._run_node.run_addr()
Pau Espin Pedrol786a6bc2020-03-30 13:51:21 +0200354
Andre Puschmannf249a022021-01-05 14:14:48 +0100355 @abstractmethod
356 def get_counter(self, counter_name):
357 pass
358
Andre Puschmann3ce67252021-01-29 17:45:18 +0100359 @abstractmethod
360 def get_kpis(self):
361 pass
362
363# vim: expandtab tabstop=4 shiftwidth=4