Hi, Please let me know how to create instance with private image using computeService for sotlayer.
Regards, Subhadip ------------------------------------------------------------------------------------------------------------------- On Wed, Sep 16, 2015 at 12:23 AM, Subhadip Bagui <i.ba...@gmail.com> wrote: > Hi All, > > I tried to list out all the images with compute *listImages *for > softlayer. It always listing the public images only. As per the below jira > the same has been included. > > https://issues.apache.org/jira/browse/JCLOUDS-751 > > I can though get the private images using AccountApi of softlayer adapter. > But the Set<VirtualGuestBlockDeviceTemplateGroup> which I get from here > always gives me 2 values for each private image. > > SoftLayerApi softApi = computeServiceContext.unwrapApi(SoftLayerApi.class); > Set<VirtualGuestBlockDeviceTemplateGroup> templates = > softApi.getAccountApi().getBlockDeviceTemplateGroups(); > > When I tried passing the VirtualGuestBlockDeviceTemplateGroup id as image > id in TemplateBuilder and calling *createNodesInGroup, *is failing. > > Please let me know how can I list the private images along with public > images and create instance out of a private image ? > > > Regards, > Subhadip > > > ------------------------------------------------------------------------------------------------------------------- >