Class CentralizedSwitchChangeListener

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.util.EventListener, org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<RouterToNaptSwitch>, org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<RouterToNaptSwitch>

    @Singleton
    public class CentralizedSwitchChangeListener
    extends org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<RouterToNaptSwitch,​CentralizedSwitchChangeListener>
    CentralizedSwitchChangeListener detect changes in switch:router mapping and update flows accordingly.
    The centralized switch a.k.a NAPT switch is currently defined using models residing in natservice bundle. As the roles of centralized switch will grow beyond NAT use cases, the associated models and logic need to be renamed and moved to either vpnmanager or new bundle as part of Carbon model changes
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase

        org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase.DataTreeChangeHandler
    • Field Summary

      • Fields inherited from class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase

        clazz