<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 15, 2013 at 8:13 AM, Sean Dague <span dir="ltr"><<a href="mailto:sean@dague.net" target="_blank">sean@dague.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">"Open Ended API" isn't really an API. An API has a contract, otherwise it isn't an API. </div>
</blockquote><div><br></div><div>I need that saying on a t-shirt.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The diagnostics REST call currently seems to have no contract at all, and is just implemented by the underlying driver to whatever seems like a good idea today (also, no versioning on things, so what libvirt returns in grizzly vs. havana is up in the air).<div>
<br></div><div>At minimum we need some kind of per driver (probably with a version) json schema so you could at least identify over the wire what you should be expecting. Even better would be a generic definition, but I get that takes time / effort.</div>
</div></blockquote><div><br></div><div>We have found it very useful in ceilometer to define classes (even simple namedtuples) for passing data into and out of our drivers. It is much easier to understand the expectations on both sides of the plugin API than when using dictionaries.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<div><br></div><div>I think the approach at this point is a bug on nova has been filed - <a href="https://bugs.launchpad.net/nova/+bug/1240043" target="_blank">https://bugs.launchpad.net/nova/+bug/1240043</a> ... and we're going to skip the tempest tests entirely based on that bug. Testing an API, that isn't actually an API, is really beyond tempest scope.</div>
<div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 14, 2013 at 4:54 AM, Bob Ball <span dir="ltr"><<a href="mailto:bob.ball@citrix.com" target="_blank">bob.ball@citrix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I’m happy with that approach – again I’ve not seen any discussions about how this should be done.<u></u><u></u></span></p>
<p><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I’ve added [tempest] and [ceilometer] tags so we can hopefully get input from the guys involved.<u></u><u></u></span></p>
<p><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Bob<u></u><u></u></span></p>
<p><a name="141bc0eabd7d4ba9_141b62cd51c9365d__MailEndCompose"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></a></p>
<div style="border-style:none none none solid;border-left-color:blue;border-left-width:1.5pt;padding:0cm 0cm 0cm 4pt">
<div>
<div style="border-style:solid none none;border-top-color:rgb(181,196,223);border-top-width:1pt;padding:3pt 0cm 0cm">
<p><b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif"> Gary Kotton [mailto:<a href="mailto:gkotton@vmware.com" target="_blank">gkotton@vmware.com</a>]
<br>
<b>Sent:</b> 13 October 2013 05:21</span></p><div><br>
<b>To:</b> OpenStack Development Mailing List<br>
</div><div><div><b>Subject:</b> Re: [openstack-dev] [nova] Looking for clarification on the diagnostics API<u></u><u></u></div></div><p></p>
</div>
</div><div><div>
<p><u></u> <u></u></p>
<div>
<p><span style="font-size:10.5pt;font-family:Calibri,sans-serif">Hi,<u></u><u></u></span></p>
</div>
<div>
<p><span style="font-size:10.5pt;font-family:Calibri,sans-serif">I agree with Matt here. This is not broad enough. One option is to have a tempest class that overrides for various backend plugins. Then the test can be haredednd
for each driver. I am not sure if that is something that has been talked about.<u></u><u></u></span></p>
</div>
<div>
<p><span style="font-size:10.5pt;font-family:Calibri,sans-serif">Thanks<u></u><u></u></span></p>
</div>
<div>
<p><span style="font-size:10.5pt;font-family:Calibri,sans-serif">Gary<u></u><u></u></span></p>
</div>
<div>
<p><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><u></u> <u></u></span></p>
</div>
<div style="border-style:solid none none;border-top-color:rgb(181,196,223);border-top-width:1pt;padding:3pt 0cm 0cm">
<p><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:
</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif">Matt Riedemann <<a href="mailto:mriedem@us.ibm.com" target="_blank">mriedem@us.ibm.com</a>><br>
<b>Reply-To: </b>OpenStack Development Mailing List <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<b>Date: </b>Sunday, October 13, 2013 6:13 AM<br>
<b>To: </b>OpenStack Development Mailing List <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<b>Subject: </b>Re: [openstack-dev] [nova] Looking for clarification on the diagnostics API<u></u><u></u></span></p>
</div>
<div>
<p><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><u></u> <u></u></span></p>
</div>
<div>
<div>
<p><span style="font-size:10pt;font-family:Arial,sans-serif">There is also a tempest patch now to ease some of the libvirt-specific keys checked in the new diagnostics tests there:</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
<br>
<a href="https://review.openstack.org/#/c/51412/" target="_blank"><span style="font-size:12pt">https://review.openstack.org/#/c/51412/</span></a><br>
<br>
</span><span style="font-size:10pt;font-family:Arial,sans-serif">To relay some of my concerns that I put in that patch:</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
<br>
</span><i><span style="font-size:10pt;font-family:Arial,sans-serif">I'm not sure how I feel about this. It should probably be more generic but I think we need more than just a change in tempest to enforce it, i.e. we should have a nova patch
that changes the doc strings for the abstract compute driver method to specify what the minimum keys are for the info returned, maybe a doc api sample change, etc?</span></i><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
<br>
</span><i><span style="font-size:10pt;font-family:Arial,sans-serif">For reference, here is the mailing list post I started on this last week:</span></i><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
<br>
<a href="http://lists.openstack.org/pipermail/openstack-dev/2013-October/016385.html" target="_blank"><i><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(0,0,161)">http://lists.openstack.org/pipermail/openstack-dev/2013-October/016385.html</span></i></a><br>
<br>
</span><i><span style="font-size:10pt;font-family:Arial,sans-serif">There are also docs here (these examples use xen and libvirt):</span></i><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
<br>
<a href="http://docs.openstack.org/grizzly/openstack-compute/admin/content/configuring-openstack-compute-basics.html" target="_blank"><i><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(0,0,161)">http://docs.openstack.org/grizzly/openstack-compute/admin/content/configuring-openstack-compute-basics.html</span></i></a><br>
<br>
</span><i><span style="font-size:10pt;font-family:Arial,sans-serif">And under procedure 4.4 here:</span></i><span style="font-size:10.5pt;font-family:Calibri,sans-serif">
<br>
<br>
<a href="http://docs.openstack.org/admin-guide-cloud/content/ch_introduction-to-openstack-compute.html#section_manage-the-cloud" target="_blank"><i><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(0,0,161)">http://docs.openstack.org/admin-guide-cloud/content/ch_introduction-to-openstack-compute.html#section_manage-the-cloud</span></i></a></span><span style="font-size:10pt;font-family:Arial,sans-serif"><br>
</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:10pt;font-family:Arial,sans-serif">=============</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif">
<br>
<br>
</span><span style="font-size:10pt;font-family:Arial,sans-serif">I also found this wiki page related to metering and the nova diagnostics API:</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
<br>
<a href="https://wiki.openstack.org/wiki/EfficientMetering/FutureNovaInteractionModel" target="_blank"><span style="font-size:12pt">https://wiki.openstack.org/wiki/EfficientMetering/FutureNovaInteractionModel</span></a><br>
<br>
</span><span style="font-size:10pt;font-family:Arial,sans-serif">So it seems like if at some point this will be used with ceilometer it should be standardized a bit which is what the Tempest part starts but I don't want it to get lost there.</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:10pt;font-family:Arial,sans-serif"><br>
</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:7.5pt;font-family:Arial,sans-serif">Thanks,</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif">
<br>
<br>
</span><b><span style="font-family:Arial,sans-serif;color:rgb(143,143,143)">MATT RIEDEMANN</span></b><span style="font-size:7.5pt;font-family:Arial,sans-serif"><br>
Advisory Software Engineer<br>
Cloud Solutions and OpenStack Development</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<table border="0" cellspacing="0" cellpadding="0" width="680" style="width:510pt;border-collapse:collapse">
<tbody>
<tr style="height:6pt">
<td width="680" colspan="2" style="width:510pt;border:1pt solid black;padding:0cm;height:6pt">
<div align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
</td>
</tr>
<tr style="height:6pt">
<td width="418" valign="top" style="width:313.5pt;border-style:none solid solid;border-right-color:black;border-bottom-color:black;border-left-color:black;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;padding:0cm;height:6pt">
<p><b><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(65,129,192)">Phone:</span></b><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)"> <a href="tel:1-507-253-7622" value="+15072537622" target="_blank">1-507-253-7622</a></span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(65,129,192)">
| <b>Mobile:</b></span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)"> <a href="tel:1-507-990-1889" value="+15079901889" target="_blank">1-507-990-1889</a></span><b><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(65,129,192)"><br>
E-mail:</span></b><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)">
</span><a href="mailto:mriedem@us.ibm.com" target="_blank"><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)">mriedem@us.ibm.com</span></a><u></u><u></u></p>
</td>
<td width="261" valign="top" style="width:195.75pt;border-style:none solid solid none;border-bottom-color:black;border-bottom-width:1pt;border-right-color:black;border-right-width:1pt;padding:0cm;height:6pt">
<p align="right" style="text-align:right">
<img border="0" width="83" height="30" src="cid:image001.gif@01CEC8C3.400A2E30" alt="IBM"><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)"><br>
<br>
3605 Hwy 52 N<br>
Rochester, MN 55901-1407<br>
United States</span><u></u><u></u></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
<br>
<br>
<br>
<br>
</span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)">From: </span><span style="font-size:7.5pt;font-family:Arial,sans-serif">Gary Kotton <<a href="mailto:gkotton@vmware.com" target="_blank">gkotton@vmware.com</a>></span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)">To: </span><span style="font-size:7.5pt;font-family:Arial,sans-serif">OpenStack Development Mailing List <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>>,
</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)">Date: </span><span style="font-size:7.5pt;font-family:Arial,sans-serif">10/12/2013 01:42 PM</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)">Subject: </span><span style="font-size:7.5pt;font-family:Arial,sans-serif">Re: [openstack-dev] [nova] Looking for clarification on the diagnostics API</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<div align="center" style="text-align:center"><span style="font-size:10.5pt;font-family:Calibri,sans-serif">
<hr size="2" width="100%" noshade style="color:rgb(160,160,160)" align="center">
</span></div>
<p><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
<br>
<br>
</span><span style="font-size:7.5pt;font-family:Calibri,sans-serif">Yup, it seems to be hypervisor specific. I have added in the Vmware support following you correcting in the Vmware driver.</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:7.5pt;font-family:Calibri,sans-serif">Thanks</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif">
<br>
</span><span style="font-size:7.5pt;font-family:Calibri,sans-serif">Gary
</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
<br>
</span><b><span style="font-size:10pt;font-family:Calibri,sans-serif">From:
</span></b><span style="font-size:10pt;font-family:Calibri,sans-serif">Matt Riedemann <</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><a href="mailto:mriedem@us.ibm.com" target="_blank"><span style="font-size:10pt">mriedem@us.ibm.com</span></a></span><span style="font-size:10pt;font-family:Calibri,sans-serif">><b><br>
Reply-To: </b>OpenStack Development Mailing List <</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><a href="mailto:openstack-dev@lists.openstack.org" target="_blank"><span style="font-size:10pt">openstack-dev@lists.openstack.org</span></a></span><span style="font-size:10pt;font-family:Calibri,sans-serif">><b><br>
Date: </b>Thursday, October 10, 2013 10:17 PM<b><br>
To: </b>OpenStack Development Mailing List <</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><a href="mailto:openstack-dev@lists.openstack.org" target="_blank"><span style="font-size:10pt">openstack-dev@lists.openstack.org</span></a></span><span style="font-size:10pt;font-family:Calibri,sans-serif">><b><br>
Subject: </b>Re: [openstack-dev] [nova] Looking for clarification on the diagnostics API</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
<br>
</span><span style="font-size:10pt;font-family:Arial,sans-serif">Looks like this has been brought up a couple of times:</span><span style="font-size:7.5pt;font-family:Calibri,sans-serif"><br>
</span><u><span style="font-size:7.5pt;font-family:Calibri,sans-serif;color:blue"><br>
</span></u><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><a href="https://lists.launchpad.net/openstack/msg09138.html" target="_blank"><span style="font-size:12pt">https://lists.launchpad.net/openstack/msg09138.html</span></a></span><span style="font-size:7.5pt;font-family:Calibri,sans-serif"><br>
</span><u><span style="font-size:7.5pt;font-family:Calibri,sans-serif;color:blue"><br>
</span></u><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><a href="https://lists.launchpad.net/openstack/msg08555.html" target="_blank"><span style="font-size:12pt">https://lists.launchpad.net/openstack/msg08555.html</span></a></span><span style="font-size:7.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:10pt;font-family:Arial,sans-serif"><br>
But they seem to kind of end up in the same place I already am - it seems to be an open-ended API that is hypervisor-specific.</span><span style="font-size:7.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:10pt;font-family:Arial,sans-serif"><br>
</span><span style="font-size:7.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:7.5pt;font-family:Arial,sans-serif"><br>
Thanks,</span><span style="font-size:7.5pt;font-family:Calibri,sans-serif">
<br>
</span><b><span style="font-family:Arial,sans-serif;color:rgb(143,143,143)"><br>
MATT RIEDEMANN</span></b><span style="font-size:7.5pt;font-family:Arial,sans-serif"><br>
Advisory Software Engineer<br>
Cloud Solutions and OpenStack Development</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<table border="0" cellspacing="0" cellpadding="0" width="680" style="width:510pt;border-collapse:collapse">
<tbody>
<tr style="height:6pt">
<td width="678" colspan="2" style="width:508.5pt;border:1pt solid black;padding:0.75pt;height:6pt">
<div align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
</td>
</tr>
<tr style="height:6pt">
<td width="416" valign="top" style="width:312pt;border-style:none solid solid;border-right-color:black;border-bottom-color:black;border-left-color:black;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;padding:0.75pt;height:6pt">
<p><b><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(65,129,192)">Phone:</span></b><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)"> <a href="tel:1-507-253-7622" value="+15072537622" target="_blank">1-507-253-7622</a></span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(65,129,192)">
| <b>Mobile:</b></span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)"> <a href="tel:1-507-990-1889" value="+15079901889" target="_blank">1-507-990-1889</a></span><b><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(65,129,192)"><br>
E-mail:</span></b><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)">
</span><a href="mailto:mriedem@us.ibm.com" target="_blank"><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)">mriedem@us.ibm.com</span></a><u></u><u></u></p>
</td>
<td width="259" valign="top" style="width:194.25pt;border-style:none solid solid none;border-bottom-color:black;border-bottom-width:1pt;border-right-color:black;border-right-width:1pt;padding:0.75pt;height:6pt">
<p align="right" style="text-align:right">
<img border="0" width="83" height="30" src="cid:image001.gif@01CEC8C3.400A2E30" alt="IBM"><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)"><br>
<br>
3605 Hwy 52 N<br>
Rochester, MN 55901-1407<br>
United States</span><u></u><u></u></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:7.5pt;font-family:Calibri,sans-serif"><br>
<br>
<br>
<br>
</span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)"><br>
From: </span><span style="font-size:7.5pt;font-family:Arial,sans-serif">Matt Riedemann/Rochester/IBM</span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)"><br>
To: </span><span style="font-size:7.5pt;font-family:Arial,sans-serif">"OpenStack Development Mailing List" <</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><a href="mailto:openstack-dev@lists.openstack.org" target="_blank"><span style="font-size:7.5pt;font-family:Arial,sans-serif">openstack-dev@lists.openstack.org</span></a></span><span style="font-size:7.5pt;font-family:Arial,sans-serif">>,
</span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)"><br>
Date: </span><span style="font-size:7.5pt;font-family:Arial,sans-serif">10/10/2013 02:12 PM</span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)"><br>
Subject: </span><span style="font-size:7.5pt;font-family:Arial,sans-serif">[nova] Looking for clarification on the diagnostics API</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<div align="center" style="text-align:center"><span style="font-size:10.5pt;font-family:Calibri,sans-serif">
<hr size="2" width="100%" noshade style="color:rgb(160,160,160)" align="center">
</span></div>
<p><span style="font-size:7.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:10pt;font-family:Arial,sans-serif"><br>
Tempest recently got some new tests for the nova diagnostics API [1] which failed when I was running against the powervm driver since it doesn't implement that API. I started looking at other drivers that did and found that libvirt, vmware and xenapi at least
had code for the get_diagnostics method. I found that the vmware driver was re-using it's get_info method for get_diagnostics which led to bug 1237622 [2] but overall caused some confusion about the difference between the compute driver's get_info and get_diagnostics
mehods. It looks like get_info is mainly just used to get the power_state of the instance.</span><span style="font-size:7.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:10pt;font-family:Arial,sans-serif"><br>
First, the get_info method has a nice docstring for what it needs returned [3] but the get_diagnostics method doesn't [4]. From looking at the API docs [5], the diagnostics API basically gives an example of values to get back which is completely based on what
the libvirt driver returns. Looking at the xenapi driver code, it looks like it does things a bit differently than the libvirt driver (maybe doesn't return the exact same keys, but it returns information based on what Xen provides).</span><span style="font-size:7.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:10pt;font-family:Arial,sans-serif"><br>
I'm thinking about implementing the diagnostics API for the powervm driver but I'd like to try and get some help on defining just what should be returned from that call. There are some IVM commands available to the powervm driver for getting hardware resource
information about an LPAR so I think I could implement this pretty easily.</span><span style="font-size:7.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:10pt;font-family:Arial,sans-serif"><br>
I think it basically comes down to providing information about the processor, memory, storage and network interfaces for the instance but if anyone has more background information on that API I'd like to hear it.</span><span style="font-size:7.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:10pt;font-family:Arial,sans-serif"><br>
[1] </span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><a href="https://github.com/openstack/tempest/commit/da0708587432e47f85241201968e6402190f0c5d" target="_blank"><span style="font-size:12pt">https://github.com/openstack/tempest/commit/da0708587432e47f85241201968e6402190f0c5d</span></a></span><span style="font-size:10pt;font-family:Arial,sans-serif"><br>
[2] </span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><a href="https://bugs.launchpad.net/nova/+bug/1237622" target="_blank"><span style="font-size:12pt">https://bugs.launchpad.net/nova/+bug/1237622</span></a></span><span style="font-size:10pt;font-family:Arial,sans-serif"><br>
[3] </span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><a href="https://github.com/openstack/nova/blob/2013.2.rc1/nova/virt/driver.py#L144" target="_blank"><span style="font-size:12pt">https://github.com/openstack/nova/blob/2013.2.rc1/nova/virt/driver.py#L144</span></a></span><span style="font-size:10pt;font-family:Arial,sans-serif"><br>
[4] </span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><a href="https://github.com/openstack/nova/blob/2013.2.rc1/nova/virt/driver.py#L299" target="_blank"><span style="font-size:12pt">https://github.com/openstack/nova/blob/2013.2.rc1/nova/virt/driver.py#L299</span></a></span><span style="font-size:10pt;font-family:Arial,sans-serif"><br>
[5] </span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><a href="http://paste.openstack.org/show/48236/" target="_blank"><span style="font-size:12pt">http://paste.openstack.org/show/48236/</span></a></span><span style="font-size:7.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:10pt;font-family:Arial,sans-serif"><br>
</span><span style="font-size:7.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:7.5pt;font-family:Arial,sans-serif"><br>
Thanks,</span><span style="font-size:7.5pt;font-family:Calibri,sans-serif">
<br>
</span><b><span style="font-family:Arial,sans-serif;color:rgb(143,143,143)"><br>
MATT RIEDEMANN</span></b><span style="font-size:7.5pt;font-family:Arial,sans-serif"><br>
Advisory Software Engineer<br>
Cloud Solutions and OpenStack Development</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><u></u><u></u></span></p>
<table border="0" cellspacing="0" cellpadding="0" width="680" style="width:510pt;border-collapse:collapse">
<tbody>
<tr style="height:6pt">
<td width="678" colspan="2" style="width:508.5pt;border:1pt solid black;padding:0.75pt;height:6pt">
<div align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
</td>
</tr>
<tr style="height:6pt">
<td width="416" valign="top" style="width:312pt;border-style:none solid solid;border-right-color:black;border-bottom-color:black;border-left-color:black;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;padding:0.75pt;height:6pt">
<p><b><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(65,129,192)">Phone:</span></b><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)"> <a href="tel:1-507-253-7622" value="+15072537622" target="_blank">1-507-253-7622</a></span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(65,129,192)">
| <b>Mobile:</b></span><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)"> <a href="tel:1-507-990-1889" value="+15079901889" target="_blank">1-507-990-1889</a></span><b><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(65,129,192)"><br>
E-mail:</span></b><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)">
</span><a href="mailto:mriedem@us.ibm.com" target="_blank"><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)">mriedem@us.ibm.com</span></a><u></u><u></u></p>
</td>
<td width="259" valign="top" style="width:194.25pt;border-style:none solid solid none;border-bottom-color:black;border-bottom-width:1pt;border-right-color:black;border-right-width:1pt;padding:0.75pt;height:6pt">
<p align="right" style="text-align:right">
<img border="0" width="83" height="30" src="cid:image001.gif@01CEC8C3.400A2E30" alt="IBM"><span style="font-size:7.5pt;font-family:Arial,sans-serif;color:rgb(95,95,95)"><br>
<br>
3605 Hwy 52 N<br>
Rochester, MN 55901-1407<br>
United States</span><u></u><u></u></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:7.5pt;font-family:Calibri,sans-serif"><br>
</span><tt><span style="font-size:10pt">_______________________________________________</span></tt><span style="font-size:10pt;font-family:'Courier New'"><br>
<tt>OpenStack-dev mailing list</tt><br>
<tt><a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a></tt><br>
</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank"><tt><span style="font-size:10pt">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</span></tt></a></span><span style="font-size:10pt;font-family:'Courier New'"><br>
</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><br>
</span><span style="font-size:10pt;font-family:Arial,sans-serif">[attachment "ATT00001..gif" deleted by Matt Riedemann/Rochester/IBM] [attachment "ATT00002..gif" deleted by Matt Riedemann/Rochester/IBM]
</span><span style="font-size:10.5pt;font-family:Calibri,sans-serif"><u></u><u></u></span></p>
</div>
</div>
</div></div></div>
</div>
</div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Sean Dague<div><a href="http://dague.net" target="_blank">http://dague.net</a></div>
</font></span></div></div></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div>