BUG 8876 - Fix to remove ELAN interface flows when external network deleted 31/61131/4
authorVinh Nguyen <vinh.nguyen@hcl.com>
Thu, 3 Aug 2017 19:14:37 +0000 (12:14 -0700)
committerSam Hague <shague@redhat.com>
Tue, 8 Aug 2017 17:27:24 +0000 (17:27 +0000)
commitfea4f9460655e909d7fa82f831d27f17b692c485
tree51a1d9e126dbbcf523bc1b2055c514e810212242
parenta957f6df3204a584083f2c262265f037bf2587ef
BUG 8876 - Fix to remove ELAN interface flows when external network deleted

    - Problem: when deleting external network, the underlying ietf
      Interface might have been removed from the config DS prior
      to the call to delete the ELAN interface. As a result, the call
      interfaceManager.getInterfaceInfo returns null and the
      subsequent call to delete the ELAN interface fails to delete the
      flow entries for external network's ELAN interface.

    - Fix: invoke interfaceManager.getInterfaceInfoFromOperationalDataStore
      when delete External Network's ELAN interface

Change-Id: I764f3516d34a6d79aacff8dbedabb55219799ac9
Signed-off-by: Vinh Nguyen <vinh.nguyen@hcl.com>
vpnservice/elanmanager/elanmanager-impl/src/main/java/org/opendaylight/netvirt/elan/internal/ElanInterfaceManager.java