Software Defined Networking
1752777 Members
6366 Online
108789 Solutions
New Discussion юеВ

Flow Table counter

 
armandom
Advisor

Flow Table counter

hello
anyone know how to get the "Flow Table counter", and if this shows Packet Lookups and Packet Matches.

I have 2 switches 3800 OpenFlow 1.3

thank you

4 REPLIES 4
vandewilly
Advisor

Re: Flow Table counter

Hi armandom,

 

I guess this REST api should return what you want:

 

https://[CONTROLLER_IP]:8443/sdn/v2.0/of/datapaths

 

armandom
Advisor

Re: Flow Table counter

 

Hi vandewilly

 

thanks for your help but the answer  that appears is

 

 

{  "datapaths": [ {
      "dpid": ":95:a4",
      "negotiated_version": "1.3.0",
      "ready": "2014-02-11T19:13:15.527Z",
      "last_message": "2014-02-11T22:37:44.693Z",
      "num_buffers": 0,
      "num_tables": 3,
      "device_ip": "192.168.0.2",
      "device_port": 64078,
      "capabilities": [
        "flow_stats",
        "table_stats",
        "port_stats",
        "group_stats",
        "port_blocked"  ]    }

sdnindia
Trusted Contributor

Re: Flow Table counter

Hi,

 

 

As per the openflow spec  (https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-spec-v1.3.0.pdf ) [page 17], following counters are supported for flow tables and flow entries.

 

Per Flow Table -

Reference count (active entries)

Packet Lookups

Packet Matches

 

Per Flow Entry-

Received Packets

Received Bytes

Duration (seconds)

Duration (nanoseconds)

 

 

HP VAN SDN Controller does not expose REST API for fetching Per Flow Table Counters however it does expose REST API to get Per Flow Entry counters as shown in attached capture.

 

Thanks,

HP SDN Team

 

sdnindia
Trusted Contributor

Re: Flow Table counter

Hello Armandom,

 

Please let us know if you need any further assistance.

If you feel your query is resolved please let us know my marking the post as an тАЬaccepted solutionтАЭ

 

Thanks

HP SDN Team