> + // multi-disk option
> + options.blockDevices(ImmutableList.of(100, 400, 400));
> +
> + Set<? extends NodeMetadata> nodes =
> context.getComputeService().createNodesInGroup(name, numNodes, template);
> + assertEquals(numNodes, nodes.size(), "wrong number of nodes");
> + for (NodeMetadata node : nodes) {
> + logger.debug("Created Node: %s", node);
> + SshClient client = context.utils().sshForNode().apply(node);
> + client.connect();
> + ExecResponse hello = client.exec("mount");
> + System.out.println(hello.getOutput().trim());
> +
> + VirtualGuest virtualGuest =
> context.unwrapApi(SoftLayerApi.class).getVirtualGuestApi()
> + .getObject(Long.parseLong(node.getId()));
> + for (VirtualGuestBlockDevice blockDevice :
> virtualGuest.getVirtualGuestBlockDevices()) {
> + System.out.println(blockDevice);
Same here. Use the logger.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/296/files#r11139608