def collect_quantum_ports(bridges, root_helper):
 ports = []
 for bridge in bridges:
  ovs = ovs_lib.OVSBridge(bridge, root_helper)
  ports += [port.port_name for port in ovs.get_vif_ports()]
 return ports

def collect_quantum_ports ( bridges , root_helper ) : ports = [ ] for bridge in bridges : ovs = ovs_lib . OVSBridge ( bridge , root_helper ) ports += [ port . port_name for port in ovs . get_vif_ports ( ) ] return ports
collect ports created by quantum from ovs .