Fix so that operational store correctly removes protocol entries 54/18154/5
authorEd Warnicke <eaw@cisco.com>
Sat, 11 Apr 2015 23:04:19 +0000 (16:04 -0700)
committerEd Warnicke <eaw@cisco.com>
Mon, 13 Apr 2015 17:38:25 +0000 (17:38 +0000)
commitc21021e2cecf859391eb6aa0541b6dc68346c638
tree4fee6bfaa2f255898ff7798daa54091fd17cd16e
parentf9cb8d810537e2a757fde1d1a8d1f39a526e5bd5
Fix so that operational store correctly removes protocol entries

    Before, if a protocol entry was removed on ovsdb, we didn't
    remove it from the operational store.

    This is an artifact of using *merge* rather than *put*.
    Using merge is *still* a good idea for us, but what was happening
    was basically this.

    Say we got a report in the operational store of

    [protocol1, protocol1]

    which we dutifully merged.

    Then we got a report of
    [protocol2]

    when that is *merged*... the protocol1 entry is left dangling,
    because its a *merge*.  To compensate, we have to be *very*
    specific about wanting to remove protocol1.

Change-Id: I17f8b9b26cea4e894d74b534335dc55f0097d8c8
Signed-off-by: Ed Warnicke <eaw@cisco.com>
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/transactions/md/OvsdbBridgeUpdateCommand.java