jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asanka sanjaya Herath <angal...@gmail.com>
Subject Specifying a zone,pod,cluster and host when adding an instance in cloudtack
Date Tue, 23 Sep 2014 18:11:04 GMT
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

Mime
View raw message