def get_all_qoss(tenant_id):
 LOG.debug(_('get_all_qoss() called'))
 session = db.get_session()
 try:
  qoss = session.query(l2network_models.QoS).filter_by(tenant_id=tenant_id).all()
  return qoss
 except exc.NoResultFound:
  return []

def get_all_qoss ( tenant_id ) : LOG . debug ( _ ( 'get_all_qoss() called' ) ) session = db . get_session ( ) try : qoss = session . query ( l2network_models . QoS ) . filter_by ( tenant_id = tenant_id ) . all ( ) return qoss except exc . NoResultFound : return [ ]
lists all the qos to tenant associations .