<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>
<div><br>
</div>
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>
<div>On May 11, 2011, at 10:47 AM, Matt Dietz wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Hey Seshu,</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>1) Yes, that will be contained within the publisher_id field of the message body</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>2) We should be able to get customer related data from the message where it makes sense. It would be contained within the payload dictionary. Given that not all messages are going to be related
 to customers, we shouldn't explicitly force this in the standard message attributes</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>3) The mandatory fields on the nova side of things are: message_id, publisher_id, timestamp, priority, event_type, and payload. Payload is a dictionary containing the data that Nova is sending
 a notification for in the first place. On the Rackspace side of things, outside of System Usages, no message headers have been defined to my knowledge. We're simply designing the transport mechanism. Dragon can weigh in more on what usages will look like.</div>
</div>
</blockquote>
<div><br>
</div>
<div>Ya, the usages are pretty simple notifications. They all have the account ID/user on them.  </div>
<div>By IP address, do you mean source IP for the api request?  That we do not have (the usages are often generated by the worker processes long after the api call is over)  </div>
<div>If you mean IP of the instance, that can be looked up from the instance id. </div>
<div><br>
</div>
<div>For instance usages (create/delete/resize, etc) they have the instance ID, and type (flavor).</div>
<div>For things like adding/removing IP's they have  the IP and the instance id. </div>
<div><br>
</div>
<div>For bandwidth usages, they have the bandwidth used, the period, and the instance. </div>
<div><br>
</div>
</div>
</div>
</blockquote>
<br>
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>
<div>Seshu Vavilikolanu <<a href="mailto:seshu.vavilikolanu@RACKSPACE.COM">seshu.vavilikolanu@RACKSPACE.COM</a>> wrote:</div>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><br>
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div></div>
<div>I am part of cloud integration team in RackSpace, Austin.  I am working on Analytics project.</div>
<span id="OLK_SRC_BODY_SECTION">
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div><span class="Apple-tab-span" style="white-space:pre"></span>I went through the blue-prints of notifications and related topics.    I have few questions, I am still trying to learn about openstack, so please let me know if any of these are already documented
 and available somewhere. </div>
<ul>
<li>Can we know what service generated this particular notification?  e.g.:  Auth, etc…
<ul>
<li>Can we get the service name from publisher id or some other field?</li></ul>
</li><li>Can we get the IP address/customer/account ID from the message?    I am interested to know how this is handled when we are using load balancer.</li><li>Are there any mandatory fields in message?   I guess these notifications are generated by Nova using Atom events, right?    </li></ul>
</div>
</div>
</span></div>
</blockquote>
</div>
</div>
</blockquote>
--</div>
<div><span class="Apple-style-span" style="font-family: Calibri, sans-serif; font-size: 14px; "><span class="Apple-tab-span" style="white-space:pre"></span>-</span><span class="Apple-style-span" style="font-family: Calibri, sans-serif; font-size: 14px; ">-Monsyne
 M. Dragon </span></div>
<br>
<PRE>
Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace.
Any dissemination, distribution or copying of the enclosed material is prohibited.
If you receive this transmission in error, please notify us immediately by e-mail
at abuse@rackspace.com, and delete the original message.
Your cooperation is appreciated.
</PRE></body>
</html>