I apologize for the volume of mails. I have the following when I list the features:
feature:list | grep openflow odl-openflowplugin-app-forwardingrules-manager | 0.5.1 | | Started | odl-openflowplugin-app-forwardingrules-manager | OpenDaylight :: Openflow Plugin :: Application - odl-openflowplugin-nxm-extensions | 0.5.1 | | Started | odl-openflowplugin-nxm-extensions | OpenDaylight :: Openflow Plugin :: Nicira Extensi odl-openflowplugin-nsf-model | 0.5.1 | | Started | odl-openflowplugin-nsf-model | OpenDaylight :: OpenflowPlugin :: NSF :: Model odl-openflowplugin-app-config-pusher | 0.5.1 | | Started | odl-openflowplugin-app-config-pusher | OpenDaylight :: Openflow Plugin :: Application - odl-openflowplugin-southbound | 0.5.1 | | Started | openflowplugin-0.5.1 | OpenDaylight :: Openflow Plugin :: Li southbound odl-openflowjava-protocol | 0.5.1 | | Started | odl-openflowjava-0.5.1 | ODL :: openflowjava :: odl-openflowjava-protocol odl-openflowplugin-app-topology | 0.5.1 | | Started | odl-openflowplugin-app-topology | OpenDaylight :: Openflow Plugin :: Application - odl-openflowplugin-flow-services | 0.5.1 | | Started | odl-openflowplugin-flow-services | OpenDaylight :: Openflow Plugin :: Flow Services odl-openflowplugin-app-reconciliation-framework | 0.5.1 | | Started | odl-openflowplugin-app-reconciliation-framework | OpenDaylight :: Openflow Plugin :: Application - What am I missing? I looked around everywhere for clues but am quite stuck. Any help would be appreciated. Thank you in advance. Ranga On Mon, May 13, 2019 at 11:33 AM M. Ranganathan <[email protected]> wrote: > 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 > > -- M. Ranganathan
_______________________________________________ openflowplugin-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
