<br><br><div class="gmail_quote">On Wed, Jun 27, 2012 at 5:48 PM, Dan Wendlandt <span dir="ltr"><<a href="mailto:dan@nicira.com" target="_blank">dan@nicira.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Doug,<div><br></div><div>Thanks for sending this out.  Pinging the ceilometer team about Quantum support has been on my todo list for a while now.  </div><div><br></div><div>Troy (CC'd) did some thinking about notifications for quantum, but we haven't implemented this yet.  Here's the existing blueprint:  <a href="https://blueprints.launchpad.net/quantum/+spec/quantum-notifications" target="_blank">https://blueprints.launchpad.net/quantum/+spec/quantum-notifications</a> .  My assumption is that we would model what Nova is doing for notifications, but to be honest, I'm not really familiar with that code.  Anyone interested in taking this blueprint on?  </div>
</blockquote><div><br></div><div>Using the nova-based notifications library would make it very easy to tie in with the work we have already done to catch compute notifications. The libraries for notifications were just moved into openstack.common, which will make them easy for you to pick up and reuse.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>We do have an extension to support port-statistics to indicate the amount of traffic sent to/from a VM that could be used by ceilometer, though that would likely be more of a poll model, at least with the current implementation.</div>
</blockquote><div><br></div><div>That makes sense, and is similar to what we're doing for things like CPU and disk I/O by polling libvirt.</div><div><br></div><div>One thing that comes up frequently is the desire to only charge for traffic "outside" of a cloud. Do the ports know how to tell the difference between internal and external traffic?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><br></div><div>Dan<br><br><div class="gmail_quote"><div><div class="h5">On Wed, Jun 27, 2012 at 3:16 PM, Doug Hellmann <span dir="ltr"><<a href="mailto:doug.hellmann@dreamhost.com" target="_blank">doug.hellmann@dreamhost.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Hello,</span><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">



<br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">As part of the ceilometer project¹, we're working on retrieving usage </span><div>



<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">data </span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">from various OpenStack components</span>. We would like to integrate </div>



<div>with Quantum for information about network resource utilization that a </div><div>deployer might want to bill their tenants for.</div><div><div><br><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Ceilometer has a plugin-based architecture, which </span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">makes it easy to add </span></div>



<div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">new measurement types and data </span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">collectors. </span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Our approach with other </span></div>



<div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">measurements is to collect everything </span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">and let the ceilometer user decide </span></div>



<div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">what to bill for and what to </span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">ignore (they can turn off measurements for </span></div>



<div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">things they do not </span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">care about). </span></div>
</div><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></span></div><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Depending on the project and the type of data, we can either</span></div>



<div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">use the notification events generated by allocating/deallocating</span></div><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">a resource, or we can poll for metrics being collected elsewhere.</span></div>



<div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">We will probably want to use both approaches for integrating</span></div><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">with Quantum (e.g., use events for things like IP allocation and</span></div>



<div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">polling for I/O).</span></div><div><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Do you have any advice on how to integrate Ceilometer and Quantum</span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">? </span></div>



<div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">For example, does Quantum emit notifications and does it collect</span></div><div>(or provide an API to query) I/O statistics?<br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">



<br>Thanks,</div><div>Doug</div><div><br><br style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">¹  </span><a href="http://launchpad.net/ceilometer" style="color:rgb(17,85,204);font-size:13px;font-family:arial,sans-serif" target="_blank">http://launchpad.net/ceilometer</a></div>



</div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Dan Wendlandt <div>Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br>
<div>twitter: danwendlandt<br>

~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></div></div><br>
</font></span></div>
</blockquote></div><br>