Hi Andrew,
Thank you for the pointers on how ServerApi is implemented. I'm still having trouble understanding how each of the methods defined in ServerApi class is translated into Rest calls to the underline OpenStack. Take the ServerApi.create() method as an example. How is the invocation to this method mapped into a Rest call in RestAnnotationProcessor? I know what the request and response for this particular Rest API looks like based on the test code. However, I don't really see the connection between ServerApi and RestAnnotationProcessor. It looks like ContextBuilder is also involved. Could you or someone on the @Dev mailing list shed some lights on this? Thanks, -Jeffrey On 2/27/14 2:52 PM, "Jeffrey Nguyen (jeffrngu)" <[email protected]> wrote: >Thanks Andrew for the quick reply. > >JCLOUDS-416 seems to deal with the ability to assign a list of private >network UUIDs to a template via the networks() method. I'm aware of this >new enhancement in 1.7.1 and already using it. > >What I'm trying to do is be able to specify a private IP address for each >of those network UUIDs. What I observe now is for each of the network >UUIDs I specify, when I create a new node, OpenStack assigns a random IP >for that particular network. I want to be able to tell jCloud/OpenStack >to use a fixed private IP address. > >It looks like jClouds currently does not support this, so I'm trying to >see what's involved to add that feature. > >Any pointer on how to go about doing that? > >Thanks, >-Jeffrey > > >On 2/27/14 2:27 PM, "Andrew Phillips" <[email protected]> wrote: > >>> I'm trying to see if it's possible to modify the create() method so >>> that I can inject the list of private IP addresses instead of taking >>> random values assigned by OpenStack. >> >>I think JCLOUDS-416 [1] might help you, if I am understanding your >>question correctly..? >> >>ap >> >>[1] https://issues.apache.org/jira/browse/JCLOUDS-416 >
