Class VpnFootprintService
- java.lang.Object
-
- org.opendaylight.netvirt.vpnmanager.VpnFootprintService
-
- All Implemented Interfaces:
IVpnFootprintService
@Singleton public class VpnFootprintService extends java.lang.Object implements IVpnFootprintService
-
-
Constructor Summary
Constructors Constructor Description VpnFootprintService(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, IFibManager fibManager, org.opendaylight.controller.md.sal.binding.api.NotificationPublishService notificationPublishService, VpnOpDataSyncer vpnOpDataSyncer, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, VpnUtil vpnUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
updateVpnToDpnMapping(org.opendaylight.yangtools.yang.common.Uint64 dpId, java.lang.String vpnName, java.lang.String primaryRd, @Nullable java.lang.String interfaceName, @Nullable org.apache.commons.lang3.tuple.ImmutablePair<IpAddresses.IpAddressSource,java.lang.String> ipAddressSourceValuePair, boolean add)
Updates the footprint that a VPN has on a given DPN by adding/removing the specified interface.
-
-
-
Constructor Detail
-
VpnFootprintService
@Inject public VpnFootprintService(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, IFibManager fibManager, org.opendaylight.controller.md.sal.binding.api.NotificationPublishService notificationPublishService, VpnOpDataSyncer vpnOpDataSyncer, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, VpnUtil vpnUtil)
-
-
Method Detail
-
updateVpnToDpnMapping
public void updateVpnToDpnMapping(org.opendaylight.yangtools.yang.common.Uint64 dpId, java.lang.String vpnName, java.lang.String primaryRd, @Nullable java.lang.String interfaceName, @Nullable org.apache.commons.lang3.tuple.ImmutablePair<IpAddresses.IpAddressSource,java.lang.String> ipAddressSourceValuePair, boolean add)
Description copied from interface:IVpnFootprintService
Updates the footprint that a VPN has on a given DPN by adding/removing the specified interface.- Specified by:
updateVpnToDpnMapping
in interfaceIVpnFootprintService
- Parameters:
dpId
- DPN where the VPN interface belongs tovpnName
- Name of the VPN whose footprint is being modifiedinterfaceName
- Name of the VPN interface to be added/removed to/from the specified DPNadd
- true for addition, false for removal
-
-