<div dir="ltr"><div class="">
                                <p>Hi friends,
   I got the confused at the 'POST' Mapper Router in nova-api, release F.</p>
<p><strong>code</strong>:</p>
<p>self.resources['servers'] = servers.create_resource(ext_mgr)</p>
<pre><code>    mapper.resource("server", "servers",

                    controller=self.resources['servers'],

                    collection={'detail': 'GET'},

                    member={'action': 'POST'})
</code></pre>
<p>ok, 'GET' is fine.</p>
<p>the 'GET' req, such as /v2/servers which coming from <strong>nova list</strong> cmd, the <em>method</em> detail will be used to handler the req in <em>controller</em> servers.Controller.</p>
<p>but how the 'POST', such as <strong>cmd</strong> nova pause <server>.
   Question list:</p>
<ol><li>what are the controller and action?</li><li>how to explain the routing?</li></ol>
<p>Tks all</p>
<p>Lawrency Meng</p>
<hr>
<p>mail: mengql112233@<a href="http://gmail.com">gmail.com</a></p>
<p>phone: 13811465151</p>
                            </div></div>