Interface IFibManager

  • All Known Implementing Classes:
    FibManagerImpl

    public interface IFibManager
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addFibEntryForRouterInterface​(java.lang.String rd, java.lang.String prefix, RouterInterface routerInterface, org.opendaylight.yangtools.yang.common.Uint32 label, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn)  
      void addOrUpdateFibEntry​(java.lang.String rd, @Nullable java.lang.String macAddress, java.lang.String prefix, java.util.List<java.lang.String> nextHopList, VrfEntryBase.EncapType encapType, org.opendaylight.yangtools.yang.common.Uint32 label, org.opendaylight.yangtools.yang.common.Uint32 l3vni, @Nullable java.lang.String gwMacAddress, @Nullable java.lang.String parentVpnRd, RouteOrigin origin, @Nullable org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn)  
      void addVrfTable​(java.lang.String rd, org.opendaylight.mdsal.binding.api.WriteTransaction writeConfigTxn)  
      boolean checkFibEntryExist​(org.opendaylight.mdsal.binding.api.DataBroker broker, java.lang.String rd, java.lang.String prefix, java.lang.String nextHopIp)  
      void cleanUpDpnForVpn​(org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yangtools.yang.common.Uint32 vpnId, java.lang.String rd, @Nullable com.google.common.util.concurrent.FutureCallback<java.util.List<java.lang.Void>> callback)  
      void cleanUpExternalRoutesOnDpn​(org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yangtools.yang.common.Uint32 vpnId, java.lang.String rd, java.lang.String localNextHopIp, java.lang.String remoteNextHopIp)  
      java.lang.String getConfTransType()  
      java.lang.String getReqTransType()  
      java.lang.String getTransportTypeStr​(java.lang.String tunType)  
      boolean isVPNConfigured()  
      void manageRemoteRouteOnDPN​(boolean action, org.opendaylight.yangtools.yang.common.Uint64 localDpnId, org.opendaylight.yangtools.yang.common.Uint32 vpnId, java.lang.String rd, java.lang.String destPrefix, java.lang.String destTepIp, org.opendaylight.yangtools.yang.common.Uint32 label)  
      void populateExternalRoutesOnDpn​(org.opendaylight.yangtools.yang.common.Uint64 localDpnId, org.opendaylight.yangtools.yang.common.Uint32 vpnId, java.lang.String rd, java.lang.String localNextHopIp, java.lang.String remoteNextHopIp)  
      void populateFibOnNewDpn​(org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yangtools.yang.common.Uint32 vpnId, java.lang.String rd, @Nullable com.google.common.util.concurrent.FutureCallback<java.util.List<java.lang.Void>> callback)  
      void programDcGwLoadBalancingGroup​(org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String destinationIp, int addRemoveOrUpdate, boolean isTunnelUp, java.lang.Class<? extends org.opendaylight.yang.gen.v1.urn.opendaylight.genius.interfacemanager.rev160406.TunnelTypeBase> tunnelType)  
      void refreshVrfEntry​(java.lang.String rd, java.lang.String prefix)  
      void removeFibEntry​(java.lang.String rd, java.lang.String prefix, java.lang.String eventSource, @Nullable org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn)  
      void removeInterVPNLinkRouteFlows​(java.lang.String interVpnLinkName, boolean isVpnFirstEndPoint, VrfEntry vrfEntry)  
      void removeOrUpdateFibEntry​(java.lang.String rd, java.lang.String prefix, java.lang.String nextHopToRemove, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn)  
      void removeVrfTable​(java.lang.String rd, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn)  
      void setConfTransType​(java.lang.String service, java.lang.String transportType)  
      void updateRoutePathForFibEntry​(java.lang.String rd, java.lang.String prefix, java.lang.String nextHop, org.opendaylight.yangtools.yang.common.Uint32 label, boolean nextHopAdd, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn)  
      void writeConfTransTypeConfigDS()  
    • Method Detail

      • populateFibOnNewDpn

        void populateFibOnNewDpn​(org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                 org.opendaylight.yangtools.yang.common.Uint32 vpnId,
                                 java.lang.String rd,
                                 @Nullable com.google.common.util.concurrent.FutureCallback<java.util.List<java.lang.Void>> callback)
      • cleanUpExternalRoutesOnDpn

        void cleanUpExternalRoutesOnDpn​(org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                        org.opendaylight.yangtools.yang.common.Uint32 vpnId,
                                        java.lang.String rd,
                                        java.lang.String localNextHopIp,
                                        java.lang.String remoteNextHopIp)
      • populateExternalRoutesOnDpn

        void populateExternalRoutesOnDpn​(org.opendaylight.yangtools.yang.common.Uint64 localDpnId,
                                         org.opendaylight.yangtools.yang.common.Uint32 vpnId,
                                         java.lang.String rd,
                                         java.lang.String localNextHopIp,
                                         java.lang.String remoteNextHopIp)
      • cleanUpDpnForVpn

        void cleanUpDpnForVpn​(org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                              org.opendaylight.yangtools.yang.common.Uint32 vpnId,
                              java.lang.String rd,
                              @Nullable com.google.common.util.concurrent.FutureCallback<java.util.List<java.lang.Void>> callback)
      • setConfTransType

        void setConfTransType​(java.lang.String service,
                              java.lang.String transportType)
      • getConfTransType

        java.lang.String getConfTransType()
      • isVPNConfigured

        boolean isVPNConfigured()
      • writeConfTransTypeConfigDS

        void writeConfTransTypeConfigDS()
      • getReqTransType

        java.lang.String getReqTransType()
      • getTransportTypeStr

        java.lang.String getTransportTypeStr​(java.lang.String tunType)
      • manageRemoteRouteOnDPN

        void manageRemoteRouteOnDPN​(boolean action,
                                    org.opendaylight.yangtools.yang.common.Uint64 localDpnId,
                                    org.opendaylight.yangtools.yang.common.Uint32 vpnId,
                                    java.lang.String rd,
                                    java.lang.String destPrefix,
                                    java.lang.String destTepIp,
                                    org.opendaylight.yangtools.yang.common.Uint32 label)
      • addOrUpdateFibEntry

        void addOrUpdateFibEntry​(java.lang.String rd,
                                 @Nullable java.lang.String macAddress,
                                 java.lang.String prefix,
                                 java.util.List<java.lang.String> nextHopList,
                                 VrfEntryBase.EncapType encapType,
                                 org.opendaylight.yangtools.yang.common.Uint32 label,
                                 org.opendaylight.yangtools.yang.common.Uint32 l3vni,
                                 @Nullable java.lang.String gwMacAddress,
                                 @Nullable java.lang.String parentVpnRd,
                                 RouteOrigin origin,
                                 @Nullable org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn)
      • addFibEntryForRouterInterface

        void addFibEntryForRouterInterface​(java.lang.String rd,
                                           java.lang.String prefix,
                                           RouterInterface routerInterface,
                                           org.opendaylight.yangtools.yang.common.Uint32 label,
                                           org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn)
      • removeOrUpdateFibEntry

        void removeOrUpdateFibEntry​(java.lang.String rd,
                                    java.lang.String prefix,
                                    java.lang.String nextHopToRemove,
                                    org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn)
      • removeFibEntry

        void removeFibEntry​(java.lang.String rd,
                            java.lang.String prefix,
                            java.lang.String eventSource,
                            @Nullable org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn)
      • updateRoutePathForFibEntry

        void updateRoutePathForFibEntry​(java.lang.String rd,
                                        java.lang.String prefix,
                                        java.lang.String nextHop,
                                        org.opendaylight.yangtools.yang.common.Uint32 label,
                                        boolean nextHopAdd,
                                        org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn)
      • addVrfTable

        void addVrfTable​(java.lang.String rd,
                         org.opendaylight.mdsal.binding.api.WriteTransaction writeConfigTxn)
      • removeVrfTable

        void removeVrfTable​(java.lang.String rd,
                            org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> writeConfigTxn)
      • removeInterVPNLinkRouteFlows

        void removeInterVPNLinkRouteFlows​(java.lang.String interVpnLinkName,
                                          boolean isVpnFirstEndPoint,
                                          VrfEntry vrfEntry)
      • checkFibEntryExist

        boolean checkFibEntryExist​(org.opendaylight.mdsal.binding.api.DataBroker broker,
                                   java.lang.String rd,
                                   java.lang.String prefix,
                                   java.lang.String nextHopIp)
      • programDcGwLoadBalancingGroup

        void programDcGwLoadBalancingGroup​(org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                           java.lang.String destinationIp,
                                           int addRemoveOrUpdate,
                                           boolean isTunnelUp,
                                           java.lang.Class<? extends org.opendaylight.yang.gen.v1.urn.opendaylight.genius.interfacemanager.rev160406.TunnelTypeBase> tunnelType)
      • refreshVrfEntry

        void refreshVrfEntry​(java.lang.String rd,
                             java.lang.String prefix)