<div dir="ltr"><div class="gmail_extra">Understood, thank you for the information.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 14 May 2014 00:45, Ageeleshwar Kandavelu <span dir="ltr"><<a href="mailto:Ageeleshwar.Kandavelu@csscorp.com" target="_blank">Ageeleshwar.Kandavelu@csscorp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">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.
<br>
<br>
<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> André Aranha [<a href="mailto:andre.f.aranha@gmail.com" target="_blank">andre.f.aranha@gmail.com</a>]<br>
<b>Sent:</b> Tuesday, May 13, 2014 10:39 PM<br>
<b>To:</b> Ageeleshwar Kandavelu<br>
<b>Cc:</b> <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
<b>Subject:</b> Re: [Openstack] [Neutron] Changing subnet tenant_id<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>
<div dir="ltr">Hello,
<div><br>
</div>
<div>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:</div>
<div><br>
</div>
<div>PUT <span style="color:rgb(83,83,83);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13.63636302947998px;line-height:20px">/v2.0/subnets/{subnet_id} </span><span style="color:rgb(83,83,83);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13.63636302947998px;line-height:20px">Updates
a specified subnet.</span></div>
<div><span style="color:rgb(83,83,83);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;font-weight:bold;line-height:20px">Parameter .. .. </span><span style="color:rgb(83,83,83);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;font-weight:bold;line-height:20px">Description</span><span style="color:rgb(83,83,83);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13.63636302947998px;line-height:20px"><br>
</span></div>
<div><span style="color:rgb(83,83,83);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:20px">tenant_id (Optional) </span><span style="color:rgb(83,83,83);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:20px">The
ID of the tenant who owns the network. Only administrative users can specify a tenant ID other than their own.</span><span style="color:rgb(83,83,83);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;font-weight:bold;line-height:20px"><br>
</span></div>
<div><span style="color:rgb(83,83,83);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:20px"><br>
</span></div>
<div><span style="color:rgb(83,83,83);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:20px">Thank you for feedback,</span></div>
<div><span style="color:rgb(83,83,83);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:20px">Andre Aranha</span></div>
<div><span style="color:rgb(83,83,83);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13.63636302947998px;line-height:20px"><br>
</span></div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 13 May 2014 09:07, Ageeleshwar Kandavelu <span dir="ltr">
<<a href="mailto:Ageeleshwar.Kandavelu@csscorp.com" target="_blank">Ageeleshwar.Kandavelu@csscorp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">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.<br>
<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> André Aranha [<a href="mailto:andre.f.aranha@gmail.com" target="_blank">andre.f.aranha@gmail.com</a>]<br>
<b>Sent:</b> Monday, May 12, 2014 10:01 PM<br>
<b>To:</b> <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
<b>Subject:</b> [Openstack] [Neutron] Changing subnet tenant_id<br>
</font><br>
</div>
<div>
<div>
<div></div>
<div>
<div dir="ltr">
<pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:12px;color:rgb(51,51,51);white-space:pre-wrap!important">Hi,
I was checking networks in Neutron and in the API (<a href="http://api.openstack.org/api-ref-networking-v2.html" style="color:rgb(1,134,186)" target="_blank">http://api.openstack.org/api-ref-networking-v2.html</a>) 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</pre>
</div>
</div>
</div>
</div>
</div>
</div>
<a href="http://www.csscorp.com/common/email-disclaimer.php" target="_blank">http://www.csscorp.com/common/email-disclaimer.php</a>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>
</div>
<a href="http://www.csscorp.com/common/email-disclaimer.php" target="_blank">http://www.csscorp.com/common/email-disclaimer.php</a>
</div>
</blockquote></div><br></div></div>