def __init__(self, datapath, config) -> None:
    self._datapath = datapath
    self._uplink = config['nat_iface']
    self._downlink = config['enodeb_iface']
    self._max_rate = config['qos']['max_rate']
    self._gbr_rate = config['qos'].get('gbr_rate', DEFAULT_RATE)
    self._enable_pyroute2 = config['qos'].get('enable_pyroute2', False)
    (self._start_idx, self._max_idx) = (config['qos']['linux_tc']['min_idx'], config['qos']['linux_tc']['max_idx'])
    self._id_manager = IdManager(self._start_idx, self._max_idx)
    self._initialized = True
    LOG.info('Init LinuxTC module uplink:%s downlink:%s', config['nat_iface'], config['enodeb_iface'])
def __init__(self, datapath, config) -> None:
    self._datapath = datapath
    self._uplink = config['nat_iface']
    self._downlink = config['enodeb_iface']
    self._max_rate = config['qos']['max_rate']
    self._gbr_rate = config['qos'].get('gbr_rate', DEFAULT_RATE)
    self._enable_pyroute2 = config['qos'].get('enable_pyroute2', False)
    (self._start_idx, self._max_idx) = (config['qos']['linux_tc']['min_idx'], config['qos']['linux_tc']['max_idx'])
    self._id_manager = IdManager(self._start_idx, self._max_idx)
    self._initialized = True
    LOG.info('Init LinuxTC module uplink:%s downlink:%s', config['nat_iface'], config['enodeb_iface'])