* > http://community.abiquo.com/display/ABI20/DatacenterResource#
* DatacenterResource- Retrievealistofremotemachineinformation</a>
*/
public Iterable<Machine> discoverMultipleMachines(final String ipFrom, final String ipTo,
final HypervisorType hypervisorType, final String user, final String password, final int port) {
MachinesDto dto = context
.getApi()
.getInfrastructureApi()
.discoverMultipleMachines(target, ipFrom, ipTo, hypervisorType, user, password,
MachineOptions.builder().port(port).build());
// Credentials are not returned by the API
for (MachineDto machine : dto.getCollection()) {
machine.setUser(user);
machine.setPassword(password);
}
return wrap(context, Machine.class, dto.getCollection());
}