From Dustin.Schoenbrun at netapp.com Tue Jul 23 18:35:47 2013 Content-Type: multipart/mixed; boundary="===============8193883190464099568==" MIME-Version: 1.0 From: Schoenbrun, Dustin To: devel at ovirt.org Subject: [Engine-devel] Getting Hosts in a Data Center using the oVirt API Date: Tue, 23 Jul 2013 22:35:45 +0000 Message-ID: --===============8193883190464099568== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable --_000_CE147D80D9B0dustinschoenbrunnetappcom_ Content-Type: text/plain; charset=3D"us-ascii" Content-Transfer-Encoding: quoted-printable Hey Michael, I had a question about what the best way of getting all hosts within a data= =3D center was using the oVirt Java API. Currently, we've been doing a "revers= =3D e lookup" from all hosts present in the oVirt Engine to see what clusters t= =3D hey're in and then finding out what data center the cluster belongs to. Tha= =3D nks in advance, Michael! -- Dustin --_000_CE147D80D9B0dustinschoenbrunnetappcom_ Content-Type: text/html; charset=3D"us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable
Hey Michael,

I had a question about what the best way of getting all hosts within a= =3D data center was using the oVirt Java API. Currently, we've been doing a &q= =3D uot;reverse lookup" from all hosts present in the oVirt Engine to see = =3D what clusters they're in and then finding out what data center the cluster belongs to. Thanks in advance, Michael!

-- Dustin

--_000_CE147D80D9B0dustinschoenbrunnetappcom_-- --===============8193883190464099568== Content-Type: multipart/alternative MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.bin" LS1fMDAwX0NFMTQ3RDgwRDlCMGR1c3RpbnNjaG9lbmJydW5uZXRhcHBjb21fCkNvbnRlbnQtVHlw ZTogdGV4dC9wbGFpbjsgY2hhcnNldD0idXMtYXNjaWkiCkNvbnRlbnQtVHJhbnNmZXItRW5jb2Rp bmc6IHF1b3RlZC1wcmludGFibGUKCkhleSBNaWNoYWVsLAoKSSBoYWQgYSBxdWVzdGlvbiBhYm91 dCB3aGF0IHRoZSBiZXN0IHdheSBvZiBnZXR0aW5nIGFsbCBob3N0cyB3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