Reputation: 1147
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
Upvotes: 0
Views: 504
Reputation: 752
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.
Upvotes: 1