Hi Andrea, Thank you very much for the clarification! Yes definitely, will create a JIRA for this.
Thanks Imesh On Sat, Mar 8, 2014 at 4:30 PM, Andrea Turli <andrea.tu...@gmail.com> wrote: > No problem Ignasi! > > There are still things that we are adding, so probably we will need some > more time before merging it. > > > > > On Sat, Mar 8, 2014 at 9:36 PM, Ignasi Barrera <n...@apache.org> wrote: > > > Thanks Andrea! > > > > I'll complete the review this weekend so we can merge it and take carr of > > this too. > > El 08/03/2014 18:51, "Andrea Turli" <andrea.tu...@gmail.com> escribió: > > > > > Hi Imesh, > > > > > > as a general information, jclouds already supports userData through > > > TemplateOptions [1] so there is no need to extend TemplateOptions into > > > SoftLayerTemplateOptions for that. > > > > > > Unfortunately looking at the current implementation (1.7.1) of > softlayer, > > > even it you passed the userData they will be ignored because > > > VirtualGuestToNodemetadata doesn't consider them at the moment. > > > > > > The good news is that we are in the middle of a big refactoring for > > > softlayer so we'd really appreciate if you could open a jira ticket > with > > > your request so that we don't forget to add this feature in 1.8.0 > > > > > > Hope this helps, > > > Andrea > > > > > > [1]: > > > > > > > > > http://javadocs.jclouds.cloudbees.net/org/jclouds/compute/options/TemplateOptions.Builder.html > > > > > > Andrea Turli > > > Il 08/mar/2014 17:17 "Imesh Gunaratne" <im...@apache.org> ha scritto: > > > > > > > Hi, > > > > > > > > I'm from Apache Stratos (incubating) team and trying to use jclouds > > > > Softlayer implementation. > > > > > > > > Is it possible to set User Data in SoftLayerTemplateOptions? > > > > > > > > I could see this functionality in Softlayer API: > > > > > > > > userData.value > > > > Arbitrary data to be made available to the server. > > > > > > > > - *Optional* > > > > - *Type* - string > > > > - *Description* - The userData property is an array with a single > > > > attribute< > > > > > > > > > > https://sldn.softlayer.com/reference/datatypes/SoftLayer_Hardware_Attribute/ > > > > > > > > > structure > > > > with the value property set to an arbitrary value. > > > > - This value can be retrieved via the > > > > getUserMetadata< > > > > > > > > > > https://sldn.softlayer.com/reference/services/SoftLayer_Resource_Metadata/getUserMetadata/ > > > > > > > > > method > > > > from a request originating from the server. This is primarily > useful > > > for > > > > providing data to software that may be on the server and > configured > > to > > > > execute upon first boot. > > > > > > > > > > -- Imesh Gunaratne Technical Lead, WSO2 Committer & PPMC Member, Apache Stratos