Bug 5920 Do not wipe out device when there is not configuration 89/39589/7
authorAndrej Leitner <anleitne@cisco.com>
Mon, 30 May 2016 08:30:44 +0000 (10:30 +0200)
committerAndrej Leitner <anleitne@cisco.com>
Tue, 7 Jun 2016 09:36:39 +0000 (11:36 +0200)
commit164f7c846cc8c36c8cda940a26b4ac081c5f3dbd
treead4625426282fa4af4a1d91d4f5e05265c038ace
parentbc2b87f85af7164f0c030c701f3cf0d2f2f78149
Bug 5920 Do not wipe out device when there is not configuration

   When device appears in operational DS either syncup is done or the event is skipped:
    - syncup in case there is record for the device in config DS
    - if there is not, device should remain untouched
   (+update tests)

Change-Id: I0b9f579f9987f886ad5d1dc4307d3d053aa53cea
Signed-off-by: Andrej Leitner <anleitne@cisco.com>
applications/forwardingrules-sync/src/main/java/org/opendaylight/openflowplugin/applications/frsync/impl/SimplifiedOperationalListener.java
applications/forwardingrules-sync/src/test/java/org/opendaylight/openflowplugin/applications/frsync/impl/SimplifiedOperationalListenerTest.java