Mohan,

Once you have libvirt-cim, libvirt, libcmpiutil and cimom setup on you host, you can use a CIM browser or wbemcli query to get the info. Attached is an output of

wbemcli ei -nl http://root:<password>@localhost:15988/root/virt:KVM_ResourceAllocationSettingData

(See attached file: out)

Sharad Mishra
Open Virtualization
Linux Technology Center
IBM

libvirt-cim-bounces@redhat.com wrote on 05/09/2011 10:37:32 PM:

> Mohan Sundar <Mohan.Sundar@lntinfotech.com>

> Sent by: libvirt-cim-bounces@redhat.com
>

> 05/09/2011 10:37 PM
>
> Please respond to
> List for discussion and development of libvirt CIM <libvirt-cim@redhat.com>

>
> To

>
> "libvirt-cim@redhat.com" <libvirt-cim@redhat.com>

>
> cc

>
> Subject

>
> [Libvirt-cim] reg: CIM Classes availability

>
> [image removed]

> Hi all,
>
> I am trying to manage KVM remotely through Libvirt & CIM.
>
> I have Libvirt-CIM Providers and OpenPegasus CIMOM to acheive the same.
>
> When i tried to get the below values , i could not find any CIM or
> Libvirt-CIM classes for it.
>
> 1. IPSubnet Mask of Host machine
> 2. DefaultIPGateway of Host machine
> 3. MACAddress of Guest machines
> 4. Os Details of Guest Machines
>
> [ I need to know the CIM class for achieving this as well as Libvirt
> API methods to achieve the same.]
>
> Thanks in advance

>  
> Mohan Sundar
>  
>
> The contents of this e-mail and any attachment(s) may contain
> confidential or privileged information for the intended recipient
> (s). Unintended recipients are prohibited from taking action on the
> basis of information in this e-mail and using or disseminating the
> information, and must notify the sender and delete it from their
> system. L&T Infotech will not accept responsibility or liability for
> the accuracy or completeness of, or the presence of any virus or
> disabling code in this e-mail"
>
> ______________________________________________________________________
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim@redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim