------=_Part_20380693_586594807.1434704544508
Content-Type: multipart/related;
boundary="----=_Part_20380694_1948981519.1434704544508"
------=_Part_20380694_1948981519.1434704544508
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
1)I would like to know if there is a way to fetch the =E2=80=9CCPU
and Me=
mory Usage
for VM =E2=80=9C and CPU and Memory Usage for a Host in the RHEVM
environ=
ment using
ovirt sdk in java.
=20
I am using ovirt-engine-sdk-java-3.5.0.5.jar.
=20
Can you please provide me with the java example if possible.
=20
The cpu and memory usage of the VM in the rhevm is as highlighted in the
picture below.
=20
2) Autostart attribute for a VM in RHEVM.
=20
Earlier when I was using libvirt 0.5.1 jar in a kvm system,I found that
autostart attribute [vm. getAutostart ] is provided in the libvirt java s=
dk.
=20
=E2=80=9CAutostart is a Boolean value which indicates whether the network=
is
configured to
=20
be automatically started when the host machine boots=E2=80=9D
=20
Is there any such attribute for a VM in RHEVM,if yes is there a way to fe=
tch
the auto start value using ovirt java sdk.
Have you checked
http://www.ovirt.org/Java-sdk ?
j.
------=_Part_20380694_1948981519.1434704544508--
------=_Part_20380693_586594807.1434704544508--