use of com.woorea.openstack.cinder.Cinder in project ovirt-engine by oVirt.
the class OpenStackVolumeProviderProxy method getClient.
protected Cinder getClient(String tenantId) {
if (client == null) {
client = new Cinder(getProvider().getUrl().concat(API_VERSION).concat(tenantId));
client.setTokenProvider(getTokenProvider());
}
return client;
}
use of com.woorea.openstack.cinder.Cinder in project AJSC by att.
the class TestCinderConnector method testCinderConnector.
@Test
@Ignore
public void testCinderConnector() throws ZoneException {
OpenStackContext context = login();
CinderConnector connector = context.getCinderConnector();
assertNotNull(connector);
Access access = connector.getAccess();
assertNotNull(access);
Cinder client = connector.getClient();
assertNotNull(client);
logout(context);
}
Aggregations