Thanks all! <br><br>And thanks for not saying "It's a Python Thing You Wouldn't Understand." :)<br><br>Yeah I do want a definitive answer but it's always good for me to learn to read code. <br><br>Then again, things like <font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"><span style="font-family:arial,helvetica,sans-serif">replace('$('</span><span style="font-family:arial,helvetica,sans-serif">, '%(') </span><span style="font-family:arial,helvetica,sans-serif">make me go hmm...</span><br>

</font><br>One last clarification, this $(tenant_id)s should be used for both nova and volume endpoints, right?<br><br>Thanks,<br><br>Anne<br><br><br><div class="gmail_quote">On Thu, Apr 12, 2012 at 5:44 PM, Pete Zaitcev <span dir="ltr"><<a href="mailto:zaitcev@redhat.com" target="_blank">zaitcev@redhat.com</a>></span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Thu, 12 Apr 2012 15:28:21 -0500<br>
Anne Gentle <<a href="mailto:anne@openstack.org" target="_blank">anne@openstack.org</a>> wrote:<br>
<br>
> keystone --token 012345SECRET99TOKEN012345 --endpoint<br>
> <a href="http://192.168.206.130:35357/v2.0" target="_blank">http://192.168.206.130:35357/v2.0</a> endpoint-create \<br>
</div>>[....]<br>
<div>>                        --internalurl<br>
> <a href="http://192.168.206.130:8774/v2/$%28tenant_id%29s" target="_blank">http://192.168.206.130:8774/v2/$(tenant_id)s</a><br>
><br>
> I haven't fixed this yet because I'm not sure if the $(tenant_id)s is<br>
> literal or which tenant_id specifically to use (the Service tenant for the<br>
> adminurl possibly)?<br>
<br>
</div>The expression "$(tenant_id)s" is really contained inside the pattern<br>
in the database. It is substituded with a specific tennant ID when<br>
an application makes its request. The weird syntax is inherited from<br>
Python, where one can use constructs like %s or %(key)s.<br>
<span><font color="#888888"><br>
-- Pete<br>
</font></span></blockquote></div><br>