Hello,
I am trying to read flow statistics from a java opendaylight application
(run's as a karaf feature). I would appreciate some guidance on how to read
the flow statistics. I tried to install the opeflowplugin-services feature
as follows.
<dependency>
<groupId>org.opendaylight.openflowplugin</groupId>
<artifactId>odl-openflowplugin-flow-services</artifactId>
<type>xml</type>
<version>0.5.1</version>
<classifier>features</classifier>
</dependency>
My feature loads and runs.
However the method
.getAggregateFlowStatisticsFromFlowTableForGivenMatch(flowStatsInputBuilder.build())
.get().getResult();
Throws an exception :
Error getting flow stats
java.util.concurrent.ExecutionException:
org.opendaylight.controller.md.sal.dom.api.DOMRpcImplementationNotAvailableException:
No implementation of RPC
AbsoluteSchemaPath{path=[(urn:opendaylight:flow:statistics?revision=2013-08-19)get-aggregate-flow-statistics-from-flow-table-for-given-match]}
available
at
com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503)[72:com.google.guava:22.0.0]
at
com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:462)[72:com.google.guava:22.0.0]
I am also seeing a lot of these exceptions :
019-05-13 11:03:58,390 | WARN | t-dispatcher-219 |
ConcurrentDOMDataBroker | 222 -
org.opendaylight.controller.sal-distributed-datastore - 1.6.1 | Tx:
DOM-1498 Error during phase CAN_COMMIT, starting Abort
TransactionCommitFailedException{message=Data did not pass validation.,
errorList=[RpcError [message=Data did not pass validation., severity=ERROR,
errorType=APPLICATION, tag=operation-failed, applicationTag=null,
info=null,
cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ModifiedNodeDoesNotExistException:
Node
/(urn:ietf:params:xml:ns:yang:ietf-interfaces?revision=2014-05-08)interfaces-state/interface
does not exist. Cannot apply modification to its children.]]}
at
org.opendaylight.controller.cluster.datastore.ShardDataTree.lambda$processNextPendingTransaction$0(ShardDataTree.java:740)[222:org.opendaylight.controller.sal-distributed-datastore:1.6.1]
at
org.opendaylight.controller.cluster.datastore.ShardDataTree.processNextPending(ShardDataTree.java:769)[222:org.opendaylight.controller.sal-distributed-datastore:1.6.1]
I am stuck. Any help would be appreciated. Thank you.
Ranga
--
M. Ranganathan
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev