def get_network(context, net_id, fields=None):
 session = context.session
 return session.query(BrocadeNetwork).filter_by(id=net_id).first()

def get_network ( context , net_id , fields = None ) : session = context . session return session . query ( BrocadeNetwork ) . filter_by ( id = net_id ) . first ( )
get brocade specific network .