Ejemplo n.º 1
0
 def _get_switchports_by_ids(self, ids):
     return list(db.get_switchports_by_ids(ids))
Ejemplo n.º 2
0
 def _get_switchports_by_ids(self, ids):
     return list(db.get_switchports_by_ids(ids))
Ejemplo n.º 3
0
    def _get_switchports(self, neutron_port):
        switchports = neutron_port.get("switch:ports", [])
        switchport_ids = [sp["id"] for sp in switchports]

        return list(db.get_switchports_by_ids(switchport_ids))
Ejemplo n.º 4
0
    def _get_switchports(self, neutron_port):
        switchports = neutron_port.get("switch:ports", [])
        switchport_ids = [sp["id"] for sp in switchports]

        return list(db.get_switchports_by_ids(switchport_ids))