[SDFAB-359] Purge all on device disconnection

The previous logic was relying on the purgeOnDisconnection device configuration.
However, we want to allow flow rules to stay in the store when a device disconnects if those are
created by a different application. For this reason, we purge flow rule and groups explicitly on
device disconnection in SR by specifying the SR app ID.

Change-Id: I59369a1a18b82f134aaaab37be49e2ac746a4e9f
4 files changed
tree: dac293562916382128802f3b25d66a6e0be30b9c
  1. .gitignore
  2. .gitreview
  4. LICENSE.txt
  5. README.md
  6. api/
  7. app/
  8. impl/
  9. pom.xml
  10. web/

Trellis Control Application


docker run -it --rm -v $HOME/.m2:/root/.m2 -v $PWD:/root/trellis-control -w /root/trellis-control maven:3.6.3-openjdk-11 mvn clean install

The OAR file can be located under app/target


onos-app <ip>:<port> install! app/target/segmentrouting-app-<x.y.z>.oar