<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
I'm trying to get the equivalent of the following nova client
command programmatically :<br>
<br>
<big><big><font face="monospace">root@cloudController1:~# nova
hypervisor-servers computeHost1<br>
+--------------------------------------+-------------------+---------------+---------------------+<br>
| ID | Name |
Hypervisor ID | Hypervisor Hostname |<br>
+--------------------------------------+-------------------+---------------+---------------------+<br>
| b22fa835-4118-434d-a536-a8q95720a21a | instance-00000030 |
1 | compute1 |<br>
| c1778664-e31d-455e-81f2-8776c8a8fa0e | instance-00000031 |
1 | compute1 |<br>
| 318d61db-f67c-475c-84a7-a9580bkh53cc | instance-00000035 |
1 | compute1 |<br>
| 5f5baaed-f8ca-4161-95eb-cbpopc41b70b | instance-00000039 |
1 | compute1 |<br>
+--------------------------------------+-------------------+---------------+---------------------+</font></big></big><br>
<br>
I'm in the process of writing a filter and I need to get the
hypervisor that's running a given VM. I have access to the
novaclient api and a context object but cannot figure out how get
the above result.<br>
<br>
Thanks,<br>
<br>
<pre class="moz-signature" cols="72">--
--
Abbass MAROUNI
VirtualScale
</pre>
</body>
</html>