Search in sources :

Example 1 with OpenStackComputeService

use of com.att.cdp.openstack.v2.OpenStackComputeService in project AJSC by att.

the class TestOpenStackContext method testKeepAlive.

/**
 * @throws ZoneException
 */
@SuppressWarnings("nls")
@Test
@Ignore
public void testKeepAlive() throws ZoneException {
    OpenStackContext context = login();
    OpenStackComputeService compute = (OpenStackComputeService) context.getComputeService();
    List<Server> ext = compute.getServers();
    System.out.println("Exts: " + ext.size());
}
Also used : Server(com.att.cdp.zones.model.Server) OpenStackComputeService(com.att.cdp.openstack.v2.OpenStackComputeService) Ignore(org.junit.Ignore) Test(org.junit.Test)

Aggregations

OpenStackComputeService (com.att.cdp.openstack.v2.OpenStackComputeService)1 Server (com.att.cdp.zones.model.Server)1 Ignore (org.junit.Ignore)1 Test (org.junit.Test)1