Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

Flow statistics using RCP call

Hi,

I'm trying to get statistics using the following RPC call and not via the default statistics-manager.

POST /restconf/operations/opendaylight-flow-statistics:get-all-flows-statistics-from-all-flow-tables { "input": { "node" : "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id=\"openflow:1000\"]" } }

However, the response of this request is just "transaction-id". While I can see the OpenFlow "Flow Stat Request" and "Flow Stat Reply" messages are exchanged between the controller and the switch.

The operational datastore seems not to be updated as a result of calling the above RPC. I check the operational datastore using: GET /restconf/operational/opendaylight-inventory:nodes/node/openflow:1000/table/0

My question is - how can I get the flow statistics sent to the controller by the switch as a result of the above RPC (get-all-flows-statistics-from-all-flow-tables)? And why is the operational datastore is not updated?

Thanks! Michael.

Flow statistics using RCP call

Hi,

I'm trying to get statistics using the following RPC call and not via the default statistics-manager.

POST /restconf/operations/opendaylight-flow-statistics:get-all-flows-statistics-from-all-flow-tables { "input": { "node" : "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id=\"openflow:1000\"]" } }

However, the response of this request is just "transaction-id". While I can see the OpenFlow "Flow Stat Request" and "Flow Stat Reply" messages are exchanged between the controller and the switch.

The switch, the operational datastore seems not to be updated as a result of calling the above RPC. I check the operational datastore using: GET /restconf/operational/opendaylight-inventory:nodes/node/openflow:1000/table/0

My question is - how can I get the flow statistics sent to the controller by the switch as a result of the above RPC (get-all-flows-statistics-from-all-flow-tables)? And why is the operational datastore is not updated?

Thanks! Michael.