/** * Retrieves all or part of the Images in the pool. * * @param client XML-RPC Client. * @param filter Filter flag to use. Possible values: * <ul> * <li>{@link Pool#ALL}: All Images * <li>{@link Pool#MINE}: Connected user's Images * <li>{@link Pool#MINE_GROUP}: Connected user's Images, and the ones in his group * <li>>= 0: UID User's Images * </ul> * * @return If successful the message contains the string with the information returned by * OpenNebula. */ public static OneResponse info(Client client, int filter) { return Pool.info(client, INFO_METHOD, filter, -1, -1); }
/** * Retrieves all the hosts in the pool. * * @param client XML-RPC Client. * @return If successful the message contains the string with the information returned by * OpenNebula. */ public static OneResponse info(Client client) { return Pool.info(client, INFO_METHOD); }
/** * Retrieves all or part of the Images in the pool. The Images to retrieve can be also filtered by * Id, specifying the first and last Id to include. * * @param client XML-RPC Client. * @param filter Filter flag to use. Possible values: * <ul> * <li>{@link Pool#ALL}: All Images * <li>{@link Pool#MINE}: Connected user's Images * <li>{@link Pool#MINE_GROUP}: Connected user's Images, and the ones in his group * <li>>= 0: UID User's Images * </ul> * * @param startId Lowest Id to retrieve * @param endId Biggest Id to retrieve * @return If successful the message contains the string with the information returned by * OpenNebula. */ public static OneResponse info(Client client, int filter, int startId, int endId) { return Pool.info(client, INFO_METHOD, filter, startId, endId); }