@GET @Path("/ostenants") @Produces({MediaType.APPLICATION_XML,MediaType.APPLICATION_JSON}) @CheckPermission(roles={Role.SECURITY_ADMIN}) public OSTenantListRestRep listCoprhdOsTenants(){
  _log.debug("Keystone Service - listCoprhdOsTenants");
  List<OSTenant> tenants=getOsTenantsFromCoprhdDb();
  return map(tenants);
}

@ GET @ Path ( "/ostenants" ) @ Produces ( { MediaType . APPLICATION_XML , MediaType . APPLICATION_JSON } ) @ CheckPermission ( roles = { Role . SECURITY_ADMIN } ) public OSTenantListRestRep listCoprhdOsTenants ( ) { _log . debug ( "Keystone Service - listCoprhdOsTenants" ) ; List < OSTenant > tenants = getOsTenantsFromCoprhdDb ( ) ; return map ( tenants ) ; }
gets a list of coprhd representation of openstack tenants ( ostenant ) .
