0

I'm having a hard time getting a specific value out of the OVSDB using Opendaylight.

I can get the information fine using the JSON-RPC call directly to the OVSDB host but I haven't found a way to consult the OVSDB database from ODL.

Specifically, I'm trying to get the statistics of any given port on a given switch but so far I haven't found it yet.

I'm not using ODL as Openflow controller, just as OVSDB manager.

felartu
  • 92
  • 1
  • 8

1 Answers1

0

is what you want (the statistics) available by polling the operational topology after your ovsdb node is connected?

do a GET to http://${ODL_IP}:8181/restconf/operational/network-topology:network-topology

here's an example output in ODL csit

jamo
  • 742
  • 1
  • 4
  • 5
  • Thanks, I don't see the interface statistics in that output, the statistics are packet_sent, byte_set etc.. per interface. – felartu Jan 17 '18 at 13:01