Class VpnSubnetRouteHandler
- java.lang.Object
-
- org.opendaylight.netvirt.vpnmanager.VpnSubnetRouteHandler
-
@Singleton public class VpnSubnetRouteHandler extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description VpnSubnetRouteHandler(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, SubnetOpDpnManager subnetOpDpnManager, IBgpManager bgpManager, VpnOpDataSyncer vpnOpDataSyncer, VpnNodeListener vpnNodeListener, IFibManager fibManager, VpnUtil vpnUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteSubnetRouteFibEntryFromDS(java.lang.String rd, java.lang.String prefix, java.lang.String vpnName)
void
onInterfaceDown(org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String interfaceName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId)
void
onInterfaceUp(org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String intfName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId)
void
onPortAddedToSubnet(Subnetmap subnetmap, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid portId)
void
onPortRemovedFromSubnet(Subnetmap subnetmap, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid portId)
void
onSubnetAddedToVpn(Subnetmap subnetmap, boolean isBgpVpn, java.lang.Long elanTag)
void
onSubnetDeletedFromVpn(Subnetmap subnetmap, boolean isBgpVpn)
void
onSubnetUpdatedInVpn(Subnetmap subnetmap, java.lang.Long elanTag)
void
updateSubnetRouteOnTunnelDownEvent(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId, org.opendaylight.yangtools.yang.common.Uint64 dpnId)
void
updateSubnetRouteOnTunnelUpEvent(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId, org.opendaylight.yangtools.yang.common.Uint64 dpnId)
-
-
-
Constructor Detail
-
VpnSubnetRouteHandler
@Inject public VpnSubnetRouteHandler(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, SubnetOpDpnManager subnetOpDpnManager, IBgpManager bgpManager, VpnOpDataSyncer vpnOpDataSyncer, VpnNodeListener vpnNodeListener, IFibManager fibManager, VpnUtil vpnUtil)
-
-
Method Detail
-
onSubnetAddedToVpn
public void onSubnetAddedToVpn(Subnetmap subnetmap, boolean isBgpVpn, java.lang.Long elanTag)
-
onSubnetDeletedFromVpn
public void onSubnetDeletedFromVpn(Subnetmap subnetmap, boolean isBgpVpn)
-
onSubnetUpdatedInVpn
public void onSubnetUpdatedInVpn(Subnetmap subnetmap, java.lang.Long elanTag)
-
onPortAddedToSubnet
public void onPortAddedToSubnet(Subnetmap subnetmap, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid portId)
-
onPortRemovedFromSubnet
public void onPortRemovedFromSubnet(Subnetmap subnetmap, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid portId)
-
onInterfaceUp
public void onInterfaceUp(org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String intfName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId)
-
onInterfaceDown
public void onInterfaceDown(org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String interfaceName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId)
-
updateSubnetRouteOnTunnelUpEvent
public void updateSubnetRouteOnTunnelUpEvent(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId, org.opendaylight.yangtools.yang.common.Uint64 dpnId)
-
updateSubnetRouteOnTunnelDownEvent
public void updateSubnetRouteOnTunnelDownEvent(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid subnetId, org.opendaylight.yangtools.yang.common.Uint64 dpnId)
-
deleteSubnetRouteFibEntryFromDS
public void deleteSubnetRouteFibEntryFromDS(java.lang.String rd, java.lang.String prefix, java.lang.String vpnName)
-
-