def __init__(self): """Start Mellanox Quantum Plugin.""" db.initialize() self._parse_network_vlan_ranges() db.sync_network_states(self.network_vlan_ranges) self._set_tenant_network_type() self.vnic_type = cfg.CONF.ESWITCH.vnic_type self._setup_rpc() LOG.debug(_("Mellanox Embedded Switch Plugin initialisation complete"))
def __init__(self): """ @note: Start Mellanox Quantum Plugin. """ db.initialize() self._parse_network_vlan_ranges() db.sync_network_states(self.network_vlan_ranges) self._set_tenant_network_type() self.agent_rpc = cfg.CONF.AGENT.rpc self._setup_rpc() LOG.debug("Mellanox Embedded Switch Plugin initialisation complete")
def setUp(self): super(SegmentationIdAllocationTest, self).setUp() mlnx_db.initialize() mlnx_db.sync_network_states(VLAN_RANGES) self.session = db.get_session() self.addCleanup(db.clear_db)
def setUp(self): super(NetworkBindingsTest, self).setUp() mlnx_db.initialize() self.session = db.get_session()
def setUp(self): mlnx_db.initialize() mlnx_db.sync_network_states(VLAN_RANGES) self.session = db.get_session()
def setUp(self): mlnx_db.initialize() self.session = db.get_session()