use of org.ovirt.engine.core.common.businessentities.IscsiBond in project ovirt-engine by oVirt.
the class BackendIscsiBondStorageConnectionResource method get.
@Override
public StorageConnection get() {
IscsiBond iscsiBond = parent.getIscsiBond();
if (!iscsiBond.getStorageConnectionIds().contains(guid.toString())) {
return notFound();
}
StorageServerConnections entity = getEntity(org.ovirt.engine.core.common.businessentities.StorageServerConnections.class, QueryType.GetStorageServerConnectionById, new StorageServerConnectionQueryParametersBase(guid), guid.toString());
if (entity == null) {
return notFound();
}
return addLinks(map(entity));
}
Aggregations