def get_instance_type_access_by_flavor_id(flavorid, ctxt=None):
 if (ctxt is None):
  ctxt = context.get_admin_context()
 return db.instance_type_access_get_by_flavor_id(ctxt, flavorid)

def get_instance_type_access_by_flavor_id ( flavorid , ctxt = None ) : if ( ctxt is None ) : ctxt = context . get_admin_context ( ) return db . instance_type_access_get_by_flavor_id ( ctxt , flavorid )
retrieve instance type access list by flavor id .