I plan to use JClouds to access Softlayer’s CCI service. I’ve checked SoftLayerTemplateOptions class but found not reference to any of both options needed (specific IP and key pair id).

You're right, they don't seem to be supported via the options (yet - would make an excellent pull request candidate, if you're interested in contributing [1] ;-)).

You may be able to set the primary ID on the virtual guest [2] object when creating a new server via the virtual guest API. But that would indeed mean programming directly against the SoftLayer APIs, which we're trying to avoid here.

ap

[1] https://wiki.apache.org/jclouds/How%20to%20Contribute
[2] http://javadocs.jclouds.cloudbees.net/org/jclouds/softlayer/domain/VirtualGuest.html [3] http://javadocs.jclouds.cloudbees.net/org/jclouds/softlayer/features/VirtualGuestApi.html

Reply via email to