Class DpnInVpnChangeListener
- java.lang.Object
-
- org.opendaylight.netvirt.vpnmanager.DpnInVpnChangeListener
-
- All Implemented Interfaces:
java.util.EventListener
,OdlL3vpnListener
,org.opendaylight.yangtools.yang.binding.NotificationListener
@Singleton public class DpnInVpnChangeListener extends java.lang.Object implements OdlL3vpnListener
-
-
Constructor Summary
Constructors Constructor Description DpnInVpnChangeListener(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
deleteDpn(java.util.Collection<VpnToDpnList> vpnToDpnList, java.lang.String rd, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Operational> tx)
void
onAddDpnEvent(AddDpnEvent notification)
void
onAddInterfaceToDpnOnVpnEvent(AddInterfaceToDpnOnVpnEvent notification)
void
onRemoveDpnEvent(RemoveDpnEvent notification)
void
onRemoveInterfaceFromDpnOnVpnEvent(RemoveInterfaceFromDpnOnVpnEvent notification)
-
-
-
Method Detail
-
onAddDpnEvent
public void onAddDpnEvent(AddDpnEvent notification)
- Specified by:
onAddDpnEvent
in interfaceOdlL3vpnListener
-
onRemoveDpnEvent
public void onRemoveDpnEvent(RemoveDpnEvent notification)
- Specified by:
onRemoveDpnEvent
in interfaceOdlL3vpnListener
-
deleteDpn
protected void deleteDpn(java.util.Collection<VpnToDpnList> vpnToDpnList, java.lang.String rd, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Operational> tx)
-
onAddInterfaceToDpnOnVpnEvent
public void onAddInterfaceToDpnOnVpnEvent(AddInterfaceToDpnOnVpnEvent notification)
- Specified by:
onAddInterfaceToDpnOnVpnEvent
in interfaceOdlL3vpnListener
-
onRemoveInterfaceFromDpnOnVpnEvent
public void onRemoveInterfaceFromDpnOnVpnEvent(RemoveInterfaceFromDpnOnVpnEvent notification)
- Specified by:
onRemoveInterfaceFromDpnOnVpnEvent
in interfaceOdlL3vpnListener
-
-