← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1592918] [NEW] [RFE] Adding Port Statistics to Neutron Metering Agent

 

Public bug reported:

[Existing Implementation]
Currently the Neutron Metering Agent only measures the bandwidth usage of the Routers. 

[Proposal]
The Neutron Metering Agent will be extended to also support Port statistics.

{collisions=0, 
rx_bytes=874, 
rx_crc_err=0, 
rx_dropped=0, 
rx_errors=0, 
rx_frame_err=0, 
rx_over_err=0, 
rx_packets=11, 
tx_bytes=70, 
tx_dropped=0, 
tx_errors=0, 
tx_packets=1}

In this implemention, the support for Port statistics will be added
using the OpenvSwitch tools.

[Suggesting Initial Implementation]
- Add method _notify_port_stats which collects ports statistics from ovsdb and sends the notification.
- The method _notify_port_stats is called the from _metering_loop to keep sending the port statistics.

Looking forward to feedbacks and suggestions.

[Benefits]
These metrics can further be exposed to Ceilometer and can be helpful for metering and monitoring purposes.  

[Related Information]
https://wiki.openstack.org/wiki/Internship_ideas

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: ovs

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1592918

Title:
  [RFE] Adding Port Statistics to Neutron Metering Agent

Status in neutron:
  New

Bug description:
  [Existing Implementation]
  Currently the Neutron Metering Agent only measures the bandwidth usage of the Routers. 

  [Proposal]
  The Neutron Metering Agent will be extended to also support Port statistics.

  {collisions=0, 
  rx_bytes=874, 
  rx_crc_err=0, 
  rx_dropped=0, 
  rx_errors=0, 
  rx_frame_err=0, 
  rx_over_err=0, 
  rx_packets=11, 
  tx_bytes=70, 
  tx_dropped=0, 
  tx_errors=0, 
  tx_packets=1}

  In this implemention, the support for Port statistics will be added
  using the OpenvSwitch tools.

  [Suggesting Initial Implementation]
  - Add method _notify_port_stats which collects ports statistics from ovsdb and sends the notification.
  - The method _notify_port_stats is called the from _metering_loop to keep sending the port statistics.

  Looking forward to feedbacks and suggestions.

  [Benefits]
  These metrics can further be exposed to Ceilometer and can be helpful for metering and monitoring purposes.  

  [Related Information]
  https://wiki.openstack.org/wiki/Internship_ideas

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1592918/+subscriptions


Follow ups