<div dir="ltr">Hi Henrique,<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Mar 29, 2014 at 12:36 AM, Henrique Truta <span dir="ltr"><<a href="mailto:henriquecostatruta@gmail.com" target="_blank">henriquecostatruta@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi all!<br><br></div>I've been working on a 
prototype of Domains in Nova. In that prototype the user is now able to 
do the following API calls with a domain scoped token:<br><br>GET v2/domains/{domain_id}/servers: Lists servers which projects belong to the given domain<br>
GET v2/domains/{domain_id}/servers/{server_id}: Gets details from the given server<br>DELETE v2/domains/{domain_id}/servers/{server_id}: Deletes the given server<br>POST v2/domains/{domain_id}/servers/{server_id}/action: Reboots the given server<br>


<br></div>Could you help me test these functionalities and review the code?<br><br></div></div></div></blockquote><div><br></div><div>I think it would be very useful if you could fill out the nova specs template for this change:<br>
<br><a href="https://github.com/openstack/nova-specs/blob/master/specs/template.rst">https://github.com/openstack/nova-specs/blob/master/specs/template.rst</a><br></div><div><br></div><div>It's still sort of in beta, but in this case the REST API section would be very helpful now in allowing us to separate review of the design first and<br>
get that right before tackling the review of the implementation. <br><br></div><div>Is the domain referred to here the keystone domain? If so why do we need a separate resource path rather than just rely on the domain supplied through<br>
the token or ? Note that the tenant_id in the resource path is ignored in V2 and doesn't exist at all in the V3 API. <br></div><div><br>Regards,<br><br>Chris<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><div><div></div>The code can be found in my github repo (<a href="https://github.com/henriquetruta/nova" target="_blank">https://github.com/henriquetruta/nova</a>) on the domains-prototype branch.<br>

<br></div>Thanks!<span class=""><font color="#888888"><br clear="all"><br>-- <br><div dir="ltr"><font color="#999999">--<br>Ítalo Henrique Costa Truta<br><br></font><br></div>
</font></span></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div>