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.ara...@gmail.com]
Sent: Tuesday, May 13, 2014 10:39 PM
To: Ageeleshwar Kandavelu
Cc: openstack@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.kandav...@csscorp.com<mailto:ageeleshwar.kandav...@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.ara...@gmail.com<mailto:andre.f.ara...@gmail.com>]
Sent: Monday, May 12, 2014 10:01 PM
To: openstack@lists.openstack.org<mailto:openstack@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
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to