Use flow augmentation from flow.inventory.rev130819 package

asked 2016-01-12 07:49:38 -0700

jannatar gravatar image

I am trying to listen to the flows that are stored in the OPERATIONAL datastore by using the DataChangeListener interface and the InstanceIdentifier as iid = InstanceIdentifier.builder(Nodes.class).child(Node.class).augmentation(FlowCapableNode.class).child(Table.class).child(Flow.class).toInstance();

I have imported all the necessary files in the impl/ and it is comipiling. I have also added the dependency for model-flow-service in the features/pom.xml and added the <bundle> for model-flow-service in the features.xml file.

However I am getting an error as follows:

Could not start bundle mvn:org.opendaylight.ofconflictd/ofconflict-impl/1.0.0-SNAPSHOT in features(s) odl-ofconflictd-1.0.0-SNAPSHOT: Unresolved constraint in bundle org.opendaylight.ofconflictd.impl [187]: Unable to resolve 187.0: missing requirement [187.0] osgi.wiring.package; (&(osgi.wiring.package=org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819) (version>=0.3.0) (!(version>=1.0.0))) [caused by: Unable to resolve 189.0: missing requirement [189.0] osgi.wiring.package; (&(osgi.wiring.package=org.opendaylight.yangtools.yang.binding.annotations)(version>=0.9.0)(!(version>=1.0.0)))]

Is there anything extra to be added to the pom.xml and features.xml or am I missing something fundamental? Any help would be appreciated.

edit retag flag offensive close merge delete