use of org.ovirt.engine.api.model.IscsiBond in project ovirt-engine by oVirt.
the class BackendIscsiBondsResource method mapCollection.
private IscsiBonds mapCollection(List<org.ovirt.engine.core.common.businessentities.IscsiBond> entities) {
IscsiBonds iscsiBonds = new IscsiBonds();
for (org.ovirt.engine.core.common.businessentities.IscsiBond entity : entities) {
IscsiBond iscsiBond = IscsiBondMapper.map(entity, null);
iscsiBonds.getIscsiBonds().add(addLinks(populate(iscsiBond, entity)));
}
return iscsiBonds;
}
Aggregations