use of com.woorea.openstack.cinder.model.ConnectionInfo in project ovirt-engine by oVirt.
the class OpenStackVolumeProviderProxy method initializeConnectionForVolume.
public CinderConnectionInfo initializeConnectionForVolume(String volumeId, ConnectionForInitialize connectionForInitialize) {
ConnectionInfo connectionInfo = getClient(getTenantId()).volumes().initializeConnection(volumeId, connectionForInitialize).execute();
CinderConnectionInfo cinderConnectionInfo = new CinderConnectionInfo();
cinderConnectionInfo.setDriverVolumeType(connectionInfo.getDriverVolumeType());
cinderConnectionInfo.setData(connectionInfo.getData());
return cinderConnectionInfo;
}
Aggregations