Class VpnFootprintService

    • Constructor Summary

      Constructors 
      Constructor Description
      VpnFootprintService​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, IFibManager fibManager, org.opendaylight.mdsal.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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VpnFootprintService

        @Inject
        public VpnFootprintService​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
                                   IFibManager fibManager,
                                   org.opendaylight.mdsal.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 interface IVpnFootprintService
        Parameters:
        dpId - DPN where the VPN interface belongs to
        vpnName - Name of the VPN whose footprint is being modified
        interfaceName - Name of the VPN interface to be added/removed to/from the specified DPN
        add - true for addition, false for removal