Measure bandwidth usage

Registered by Julien Danjou on 2013-04-05

The Ceilometer project would like to get meters from Quantum via the notifications system on how much bandwidth the projects are using.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
Julien Danjou
Direction:
Approved
Assignee:
Sylvain Afchain
Definition:
Approved
Series goal:
Accepted for havana
Implementation:
Implemented
Milestone target:
milestone icon 2013.2
Started by
Sylvain Afchain on 2013-06-11
Completed by
Mark McClain on 2013-09-05

Related branches

Sprints

Whiteboard

10-Jun: Moving to H3. If this work is completed earlier, we can assign the milestone back to H2.

The idea is to meter this as the L3 routers levels. It would be needed to add methods on the interface that virtual routers are meant to implement that would allow to retrieve bandwidth usage.
Thus, every once in a while, the router would send via the Oslo notifications mechanism information about bandwidth usage information for each project.

The information should probably be encoded as delta, not as absolute or cumulative counters, since they could come from multiple routers, and doing the tracking would be a hard task.

Gerrit topic: https://review.openstack.org/#q,topic:bp/bandwidth-router-measurement,n,z

Addressed by: https://review.openstack.org/35624
    Add method to get iptables traffic counters

Addressed by: https://review.openstack.org/33075
    Add metering extension and base class

Addressed by: https://review.openstack.org/35655
    Add Neutron l3 metering agent

Addressed by: https://review.openstack.org/36813
    Iptables metering drivers

Addressed by: https://review.openstack.org/37033
    Add decorator helping to log method calls.

Gerrit topic: https://review.openstack.org/#q,topic:bp/bandwidth-router-measurement-l3,n,z

Gerrit topic: https://review.openstack.org/#q,topic:bp/bandwidth-router-measurement-iptables-driver,n,z

Gerrit topic: https://review.openstack.org/#q,topic:bp/bandwidth-router-measurement-iptables-accouting,n,z

Gerrit topic: https://review.openstack.org/#q,topic:bp/bandwidth-router-measurement-iptables,n,z

Gerrit topic: https://review.openstack.org/#q,topic:review/sylvain_afchain/bp/bandwidth-router-measurement-l3,n,z

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.