You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jclouds.apache.org by Everett Toews <ev...@RACKSPACE.COM> on 2013/11/18 16:00:24 UTC

Re: openstack/nova-api define network

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) <su...@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<ma...@gmail.com>]
Sent: Wednesday, October 30, 2013 7:40 PM

To: user@jclouds.incubator.apache.org<ma...@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



Re: openstack/nova-api define network

Posted by Molnár Mihály László <la...@gmail.com>.
Hi!

Thanks for the reply.
As I wrote I use jCloud through brooklyn, so I was interested in if it is
even possible with jcloud, so I should look for it in brooklyn or it is not
supported. Because the guys said it is not I stopped looking for it.

I will mention it to brooklyn guys that they should make this available if
it is not already.

Thanks again!


Rusty


On Mon, Nov 18, 2013 at 4:00 PM, Everett Toews
<ev...@rackspace.com>wrote:

>  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> 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]
>> *Sent:* Wednesday, October 30, 2013 7:40 PM
>>
>> *To:* 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
>>
>
>
>