jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Everett Toews <everett.to...@RACKSPACE.COM>
Subject Re: openstack/nova-api define network
Date Mon, 18 Nov 2013 15:00:24 GMT
Have you tried passing in networks to CreateServerOptions [1] for ServerApi.create(String name,
String imageRef, String flavorRef, CreateServerOptions... options)?

If this turns out to be a bug or feature request, see [2]

Thanks,
Everett


[1] https://github.com/jclouds/jclouds/blob/master/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/options/CreateServerOptions.java#L475
[2] http://jclouds.apache.org/documentation/userguide/bug-report/



On Oct 31, 2013, at 8:38 AM, Molnár Mihály László wrote:

Finally I got it working (still cant define network). Details here<https://groups.google.com/d/msg/brooklyn-users/yE9rmSAPQqg/wVjSMLGUFEQJ>

Thank you guys for the information.


Rusty


On Thu, Oct 31, 2013 at 8:52 AM, Sujan Deshpande (sujadesh) <sujadesh@cisco.com<mailto:sujadesh@cisco.com>>
wrote:
The same issue also exists with Rackspace.

Hope this will get resolved soon.

Regards,
Sujan Deshpande

From: Molnár Mihály László [mailto:lacikaaa@gmail.com<mailto:lacikaaa@gmail.com>]
Sent: Wednesday, October 30, 2013 7:40 PM

To: user@jclouds.incubator.apache.org<mailto:user@jclouds.incubator.apache.org>
Subject: openstack/nova-api define network


Hi all!
I'm using jcloud through brooklyn<http://brooklyncentral.github.io/index.html> and I
have a little problem. Openstack doesnt work well, when I create an instance without sending
network parameter in restapi calls. Details<http://openstack.markmail.org/thread/k6jc4sli5hsdalze>.
My question is that if jclouds supports defining the network for the instance? I mean to send
restapi calls like this:
{"server": {"name": "Ubuntu", "imageRef": "a8c46c40-e0f8-4904-a21f-46901be91f4f", "key_name":
"key", "flavorRef": "2", "max_count": 1, "min_count": 1, "networks": [{"uuid": "ff74b46a-1ab4-4a97-91c7-21c95485aa34"},
{"uuid": "49aa37da-29c8-4314-b575-d705771b5361"}], "security_groups": [{"name": "default"}]}}
Its interesting because both brooklyn and jcloud is a huge project and it takes a lot of time
to get familiar with the code and maybe add this functionality or a workaround.
Any help appreciated!
Thanks!

Rusty



Mime
View raw message