Zack:
Thanks. Those examples shows the specific nova extensions that OpenStack
happened to support.
What if an openstack implementation have an specific extension and how do
I bind to it and use it?.
For example, in nova we have:
ExtensionApi extApi=novaApi.getExtensionApiForZone("....");
Set<? extends Extension> exts=extApi.list();
Extension ext1=....;
String alias1=ext1.getAlias();
Q: How do I construct an extension domain class from that "alias1"?.
Is there any helper classes or boilerplate code that one could use?.
I just want to make sure that I don't reinvent the wheel.
Thanks,
BK
On Mon, Sep 30, 2013 at 2:48 PM, Zack Shoylev <[email protected]>wrote:
> The openstack server api is called nova. You can use nova to talk to an
> openstack nova service.
>
> Some sample code I used recently (nova-based) is here:
> https://gist.github.com/zack-shoylev/6542561
>
> More here:
> https://github.com/jclouds/jclouds-examples/tree/master/compute-basics
> ------------------------------
> *From:* Bk Lau [[email protected]]
> *Sent:* Thursday, September 26, 2013 3:35 PM
> *To:* [email protected]
> *Subject:* How to bind and work with OpenStack extensions
>
> Hi:
>
> Assuming that I have an OpenStack extension, for say,
> ServerAPI, my question is do JCloud have some standard
> classes/utilities way to allow me to bind to it and start using it or do I
> have to write my own JSON calls??.
>
> Sample code would be nice :)
>
> Thanks,
> BK
>