<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am interested to know if the topic of surfacing networking statistics through the Neutron APIs has been discussed and if there are any existing blueprints working on this feature? Specifically, the current APIs,
<a href="https://wiki.openstack.org/wiki/Neutron/APIv2-specification">https://wiki.openstack.org/wiki/Neutron/APIv2-specification</a>, do not support reading network counters typically available through SNMP. I think these ‘/stats’ would prove to be quite valuable
for performance and fault monitoring. If I am a Openstack / Neutron tenant and I have created my own networks, how can I see performance and faults?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Examples,<o:p></o:p></p>
<p class="MsoNormal">GET /networks/{network_id}/stats<o:p></o:p></p>
<p class="MsoNormal">GET /subnets/{subnet-id}/stats<o:p></o:p></p>
<p class="MsoNormal">GET /floatingips/{floatingip_id}/stats<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Status : [up,down,error]<o:p></o:p></p>
<p class="MsoNormal">Usage : [sum of Tx and Rx packets]<o:p></o:p></p>
<p class="MsoNormal">ReceivedRate : [Rate of data received in kB/sec]<o:p></o:p></p>
<p class="MsoNormal">TransmittedRate : [Rate of data transmitted in kB/sec]<o:p></o:p></p>
<p class="MsoNormal">PacketTx : [total # of packets transmitted since reset]<o:p></o:p></p>
<p class="MsoNormal">PacketRx : [total # of packets received in since reset]<o:p></o:p></p>
<p class="MsoNormal">Etc …<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Peter.<o:p></o:p></p>
</div>
</body>
</html>