Getting the value from List
<p>I am trying to utilize nova CLI tool for getting the server names from devstack setup.</p>

<p>Hence this is the code which leads me to get the result as needed.</p>

<pre><code># Establish the connection Keystone
nova = client.Client('2', 'admin', 'password', 'admin', 'http://127.0.0.1:5000/v2.0')

server_list = nova.servers.list(search_opts={'all_tenants':1,'tenant_id':'b0116ce25cad4106becbbddfffa61a1c'})
print server_list
</code></pre>

<p>This server list returning the data as follows:</p>

<pre><code>[&lt;Server: demo_ins1&gt;]
</code></pre>

<p>Type is as follows:</p>

<pre><code>&lt;type 'list'&gt;
</code></pre>

<p>Now my question is to now I can be able to get the server name here , that is "demo_ins1" from the list.</p>

<p>Some one let me know the way for the same.</p>

<p>Note: This is the default value returned by the novacliclient itself.</p>