[CORD-2483] Deleting multiple sinks does not clean all flows and groups

Rationale: Let's assume we have a working group with
multiple sinks. We try to delete the sinks all together,
also in this case for each sink a sink removed event is
generated. For each event we create a new next objective
removing the ports no more needed.

Solution is related to the previous patch (group editing).
Failure scenario:

Sink1 removed -> fwdObj A -> Next B

McastHandler store has been updated at this point.

Sink2 removed -> remove fwdObj A

The remove operations is executed immediately but
the Next B could not exist at this point -> flow
installation failed

Change-Id: Icf568b26b2f3ae3feb935b13038db6195125a5c4
1 file changed
tree: 49b536be26fcd3818978e3e7521ba95111c51888
  1. BUCK
  2. app.xml
  3. features.xml
  4. pom.xml
  5. src/