Extension for port statistics

Registered by Brad Hall

We need to create a resource extension to support retrieving statistics for a given port. The new resource will be named "stats" and callable via:

GET /v1.0/extensions/ovs/tenants/<tid>/networks/<nid>/ports/<pid>/stats

Any plugin supporting this extension should list "ovs_portstats" in their supported_extensions and should implement the a get_port_stats() method which returns the following:

{
  "rx_packets": 0,
  "rx_bytes": 0,
  "tx_errors": 0,
  "rx_errors": 0,
  "tx_bytes": 0,
  "tx_packets": 0
}

Blueprint information

Status:
Complete
Approver:
dan wendlandt
Priority:
Medium
Drafter:
Brad Hall
Direction:
Needs approval
Assignee:
Brad Hall
Definition:
Approved
Series goal:
Accepted for essex
Implementation:
Implemented
Milestone target:
milestone icon 2012.1
Started by
Brad Hall
Completed by
dan wendlandt

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/ovs-portstats,n,z

Addressed by: https://review.openstack.org/2535
    blueprint ovs-portstats

Gerrit topic: https://review.openstack.org/#q,topic:master,n,z

Addressed by: https://review.openstack.org/3366
    Add support for dealing with 501 errors (notimplemented)

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.