--_000_SG2PR06MB116701C549BE6BF09CA28134B1F60SG2PR06MB1167apcp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
Using "qemu:///system" command in KVM server to collect the Guest informati=
on like name , state etc. For this u used the Domain class from libvirt api=
.
Is there any methods available to retrieve Guest IP ?
Thanks & Regards
Rathidevi
From: users-bounces(a)ovirt.org [mailto:users-bounces@ovirt.org] On Behalf Of=
Jean-Pierre Ribeauville
Sent: Friday, January 08, 2016 3:23 PM
To: users(a)ovirt.org
Subject: [ovirt-users] Retrieving KVM Guest IP adresses
Hi,
By using libvirt API or virsh domifaddr, I'm not able to retrieve Guest I=
P addresses.
But , ovirt GUI shows these addresses correctly.
I would need some hint to understand how ovirt manages to retrieve it.
Is there any interaction with Guest agent (qemu , vdsm ) ?
If I have to dive in source code , which tail's cat I have to pull ?
Thx for help.
Regards,
J.P. Ribeauville
P: +33.(0).1.47.17.20.49
.
Puteaux 3 Etage 5 Bureau 4
jpribeauville@axway.com<mailto:jpribeauville@axway.com>
http://www.axway.com<http://www.axway.com/>
P Pensez =E0 l'environnement avant d'imprimer.
--_000_SG2PR06MB116701C549BE6BF09CA28134B1F60SG2PR06MB1167apcp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml"
xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word"
=
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml"
xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html;
charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Webdings;
panose-1:5 3 1 2 1 5 9 6 7 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:Consolas;}
span.TextebrutCar
{mso-style-name:"Texte brut Car";
mso-style-priority:99;
mso-style-link:"Texte brut";
font-family:"Calibri",sans-serif;}
p.Textebrut, li.Textebrut, div.Textebrut
{mso-style-name:"Texte brut";
mso-style-link:"Texte brut Car";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span
style=3D"color:#1F497D">Hi,<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span
style=3D"color:#1F497D"><o:p> </o:p></spa=
n
</p>
<p class=3D"MsoNormal"><span
style=3D"color:#1F497D">Using “qemu:///s=
ystem” command in KVM server to collect the Guest information like na=
me , state etc. For this u used the Domain class from libvirt api.<o:p></o:=
p
</span></p>
<p
class=3D"MsoNormal"><span
style=3D"color:#1F497D"><o:p> </o:p></spa=
n
</p>
<p class=3D"MsoNormal"><span
style=3D"color:#1F497D">Is there any methods a=
vailable to retrieve Guest IP ?<o:p></o:p
</span></p>
<p
class=3D"MsoNormal"><span
style=3D"color:#1F497D"><o:p> </o:p></spa=
n
</p>
<p class=3D"MsoNormal"><span
style=3D"color:#1F497D">Thanks & Regards<o=
:p></o:p
</span></p>
<p
class=3D"MsoNormal"><span
style=3D"color:#1F497D">Rathidevi<o:p></o:p></=
span
</p>
<p class=3D"MsoNormal"><span
style=3D"color:#1F497D"><o:p> </o:p></spa=
n
</p>
<p class=3D"MsoNormal"><span
style=3D"color:#1F497D"><o:p> </o:p></spa=
n
</p>
<p class=3D"MsoNormal"><span
style=3D"color:#1F497D"><o:p> </o:p></spa=
n
</p>
<div>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b>From:</b> users-bounces(a)ovirt.org
[mailto:users-b=
ounces(a)ovirt.org]
<b>On Behalf Of </b>Jean-Pierre Ribeauville<br>
<b>Sent:</b> Friday, January 08, 2016 3:23 PM<br>
<b>To:</b> users(a)ovirt.org<br>
<b>Subject:</b> [ovirt-users] Retrieving KVM Guest IP
adresses<o:p></o:p></=
p>
</div>
</div>
<p class=3D"MsoNormal"><o:p> </o:p
</p>
<p
class=3D"MsoPlainText">Hi,<o:p></o:p
</p>
<p class=3D"MsoPlainText"><o:p> </o:p
</p>
<p class=3D"MsoPlainText">By using
libvirt API or virsh domifad=
dr, I’m not able to retrieve Guest IP addresses.<o:p></o:p
</p>
<p class=3D"MsoPlainText">But , ovirt
GUI shows these addresses=
correctly.<o:p></o:p
</p>
<p
class=3D"MsoNormal">I would need some hint to understand how ovirt manag=
es to retrieve it.<o:p></o:p
</p>
<p class=3D"MsoNormal"><o:p> </o:p
</p>
<p class=3D"MsoNormal">Is there any
interaction with Guest agent (qemu , vd=
sm ) ?<o:p></o:p
</p>
<p
class=3D"MsoNormal"><o:p> </o:p
</p>
<p class=3D"MsoNormal">If I have to
dive in source code , which tail’=
s cat I have to pull ?<o:p></o:p
</p>
<p class=3D"MsoNormal"><o:p> </o:p
</p>
<p class=3D"MsoNormal">Thx for
help.<o:p></o:p
</p>
<p
class=3D"MsoNormal"><o:p> </o:p
</p>
<p
class=3D"MsoNormal">Regards,<o:p></o:p
</p>
<p class=3D"MsoNormal"><o:p> </o:p
</p>
<table class=3D"MsoNormalTable"
border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0">
<tbody>
<tr>
<td valign=3D"top" style=3D"padding:0in 4.5pt 0in 0in">
<p class=3D"MsoNormal"><b><span
style=3D"font-size:9.0pt;font-family:"=
Arial",sans-serif;color:#888888;mso-fareast-language:FR"><o:p> </=
o:p></span></b
</p>
<p
class=3D"MsoNormal"><b><span
style=3D"font-size:8.5pt;font-family:"=
Arial",sans-serif;color:#888888;mso-fareast-language:FR">J.P. Ribeauvi=
lle<o:p></o:p></span></b
</p>
<p class=3D"MsoNormal"><span
style=3D"font-size:8.5pt;font-family:"Ari=
al",sans-serif;color:#737373;mso-fareast-language:FR"><o:p> </o:p=
</span></p>
</td>
</tr>
<tr>
<td style=3D"padding:2.25pt 4.5pt 4.5pt 0in">
<p class=3D"MsoNormal"><span
style=3D"font-size:8.5pt;font-family:"Ari=
al",sans-serif;color:red;mso-fareast-language:FR">P:
</span><span
style=3D"font-size:8.5pt;font-family:"Arial",sans-se=
rif;color:#737373;mso-fareast-language:FR">+33.(0).1.47.17.20.49<o:p></=
o:p
</span></p>
<p
class=3D"MsoNormal"><span
style=3D"font-size:8.5pt;font-family:"Ari=
al",sans-serif;color:#737373;mso-fareast-language:FR">.<o:p></o:p></sp=
an
</p>
<p class=3D"MsoNormal"><span
style=3D"font-size:8.5pt;font-family:"Ari=
al",sans-serif;color:#737373;mso-fareast-language:FR">Puteaux 3 Etage =
5 Bureau 4<o:p></o:p
</span></p>
<p
class=3D"MsoNormal"><span
style=3D"font-size:8.5pt;font-family:"Ari=
al",sans-serif;color:#737373;mso-fareast-language:FR"><o:p> </o:p=
</span></p>
<p
class=3D"MsoNormal"><a
href=3D"mailto:jpribeauville@axway.com"><span lan=
g=3D"FR"
style=3D"font-size:9.0pt;mso-fareast-language:FR">jpribeauville@ax=
way.com</span></a><u><span
style=3D"font-size:9.0pt;color:red;mso-fareast-l=
anguage:FR"><br>
</span></u><a
href=3D"http://www.axway.com/"><span
style=3D"font-size:9.0pt=
;color:red;mso-fareast-language:FR">http://www.axway.com</span></a><span
st=
yle=3D"font-size:9.0pt;color:red;mso-fareast-language:FR"><o:p></o:p></span=
</p>
<p class=3D"MsoNormal"><span
style=3D"font-size:8.5pt;font-family:"Ari=
al",sans-serif;color:#737373;mso-fareast-language:FR"><o:p> </o:p=
</span></p>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span lang=3D"FR"
style=3D"display:none;mso-fareast-=
language:FR"><o:p> </o:p
</span></p>
<table
class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0"
cellpadding=
=3D"0">
<tbody>
<tr>
<td style=3D"padding:4.5pt 4.5pt 4.5pt 0in">
<p class=3D"MsoNormal"><span
style=3D"font-size:18.0pt;font-family:Webdings=
;color:#888888;mso-fareast-language:FR">P</span><span
style=3D"font-size:8.=
0pt;font-family:"Arial",sans-serif;color:#888888;mso-fareast-lang=
uage:FR"> Pensez =E0 l’environnement avant
d’imprimer.<o:p=
></o:p
</span></p>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><span lang=3D"FR"
style=3D"mso-fareast-language:FR">=
<o:p> </o:p
</span></p>
<p
class=3D"MsoNormal"><span
lang=3D"FR"><o:p> </o:p
</span></p>
</div>
</body>
</html>
--_000_SG2PR06MB116701C549BE6BF09CA28134B1F60SG2PR06MB1167apcp_--