0
votes

I am trying to develop an app using Opendaylight Nitrogen.

For debugging purposes, I want to delete all the flow rules that opendaylight has cached (these get re-installed when the switch reconnects). I want to delete these rules and restart the container to examine behavior. Where does Opendaylight store these (in which file)?

Thanks

Ranga

1

1 Answers

1
votes

Delete karaf/target/../journal/ and karaf/target/../snapshots/ when you want to start fresh.

Karf clean deletes the karaf/target/assembly/data directory.

finally, you could also use the REST API to delete the flows on a running controller. This documentation should help figure that out.