<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hi,</div>
<div> </div>
<div>When using shutdown from ovirt manager GUI , then on a Linux Guest , I get this massage :</div>
<div> </div>
<div><i>System Administrator has initiated shutdown of this Virtual Machine. Virtual Machine is shutting down."</i></div>
<div><i>The system is going down for power-off at Tue 2016-01-19 10:32:19 CET!</i></div>
<div> </div>
<div>When , via ovirt Python SDK , I use this :</div>
<div> </div>
<div><i>api = API(url=URL, username=USERNAME, password=PASSWORD, ca_file=CA_FILE)</i></div>
<div><i> vm = api.vms.get(name=VM_NAME)</i></div>
<div><i> print 'Stopping this VM'</i></div>
<div><i> </i><i>vm.stop()<br>
<br>
</i>Then the Guest is stopped in a ‘non –gracefully » way.<br>
Is it a way to achieve same behavior as via GUI shutdown ?<br>
<br>
Thx for help.</div>
<div> </div>
<div>Regards,</div>
<table width="189" style="width:113.7pt;margin-left:5.4pt;">
<col width="189" style="width:113.7pt;">
<tr>
<td><font color="#888888">
<div> </div>
<div> </div>
<div><font face="Arial" size="2"><span style="font-size:8.5pt;"><b>J.P. Ribeauville</b></span></font></div>
<div><font color="#737373"> </font></div>
</font></td>
</tr>
<tr>
<td><font face="Arial" size="2" color="red"><span style="font-size:8.5pt;">P: <font color="#737373">+33.(0).1.47.17.20.49</font>
<div><font color="#737373">.</font></div>
<div><font color="#737373">Puteaux 3 Etage 5 Bureau 4</font></div>
<div><font color="#737373"> </font></div>
<div><a href="mailto:jpribeauville@axway.com"><font face="Calibri" size="2" color="blue"><span style="font-size:9pt;"><u>jpribeauville@axway.com</u></span></font></a><br>
<a href="http://www.axway.com/"><font face="Calibri" size="2"><span style="font-size:9pt;"><u>http://www.axway.com</u></span></font></a></div>
<div><font color="#737373"> </font></div>
</span></font></td>
</tr>
</table>
<div> </div>
<table width="300" style="width:180.4pt;margin-left:5.4pt;">
<col width="300" style="width:180.4pt;">
<tr>
<td><font face="Webdings" size="5" color="#888888"><span style="font-size:18pt;">P<font face="Calibri" size="1"><span style="font-size:8pt;"> </span></font><font face="Arial" size="1"><span style="font-size:8pt;">Pensez à l’environnement avant d’imprimer.</span></font></span></font></td>
</tr>
</table>
<div> </div>
<div> </div>
<div> </div>
</span></font>
</body>
</html>