[Openstack] [Neutron] Changing subnet tenant_id

André Aranha andre.f.aranha at gmail.com
Wed May 14 14:30:08 UTC 2014


Understood, thank you for the information.



On 14 May 2014 00:45, Ageeleshwar Kandavelu <
Ageeleshwar.Kandavelu at csscorp.com> wrote:

>  You have misunderstood. The tenant_id is an optional parameter that you
> can specify while modifying a subnet but you can not change it. The
> beginning of the documentation for put says that there are some params that
> can not be modified but It does not give a complete list.
>
>
>  ------------------------------
> *From:* André Aranha [andre.f.aranha at gmail.com]
> *Sent:* Tuesday, May 13, 2014 10:39 PM
> *To:* Ageeleshwar Kandavelu
> *Cc:* openstack at lists.openstack.org
> *Subject:* Re: [Openstack] [Neutron] Changing subnet tenant_id
>
>   Hello,
>
>  I'm already solving this question in openstack-dev (I doubled the post
> here by mistake =P). But anyway, it says that It is possible here:
>
>  PUT /v2.0/subnets/​{subnet_id} Updates a specified subnet.
> Parameter               .. ..  Description
>  tenant_id (Optional)        The ID of the tenant who owns the network.
> Only administrative users can specify a tenant ID other than their own.
>
>  Thank you for feedback,
> Andre Aranha
>
>
>
> On 13 May 2014 09:07, Ageeleshwar Kandavelu <
> Ageeleshwar.Kandavelu at csscorp.com> wrote:
>
>>  I can not see anywhere in that page that tenant_id can be updated and
>> it is also not possible. You only have to delete the subnet and recreate
>> for another tenant.
>>
>>  ------------------------------
>> *From:* André Aranha [andre.f.aranha at gmail.com]
>> *Sent:* Monday, May 12, 2014 10:01 PM
>> *To:* openstack at lists.openstack.org
>> *Subject:* [Openstack] [Neutron] Changing subnet tenant_id
>>
>>    Hi,
>>
>> I was checking networks in Neutron and in the API (http://api.openstack.org/api-ref-networking-v2.html) it is said that one can update a subnet tenant-id. I tried and raised an error: "NeutronError": "Cannot update read-only attribute tenant_id". Is it really supported to change a subnet tenant-id or is it a bug?
>>
>> Thank you,
>> Andre Aranha
>>
>>    http://www.csscorp.com/common/email-disclaimer.php
>>
>
>   http://www.csscorp.com/common/email-disclaimer.php
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140514/e18f08f1/attachment.html>


More information about the Openstack mailing list