I'm using cloudstack as my Iaas provider for testing jclouds. I use this code for create instance in cloudstack.
Template template = templateBuilder
.os64Bit(true)
.osDescriptionMatches(os)
.osVersionMatches(osVersion)
.minRam(ram)
.build();
Set<? extends NodeMetadata> nodes =
compute.createNodesInGroup(groupName,count, template);
This works fine. So now I need to add an instance by specifying a
zone,pod,cluster and a host. How can I do that?
--
Thanks,
Regards,
ASH
