def get_networks(context, filters=None, fields=None):
 session = context.session
 try:
  nets = session.query(BrocadeNetwork).all()
  return nets
 except sa.exc.SQLAlchemyError:
  return None

def get_networks ( context , filters = None , fields = None ) : session = context . session try : nets = session . query ( BrocadeNetwork ) . all ( ) return nets except sa . exc . SQLAlchemyError : return None
get all brocade specific networks .