Interface IVpnManager

  • All Known Implementing Classes:
    VpnManagerImpl

    public interface IVpnManager
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void addArpResponderFlowsToExternalNetworkIps​(java.lang.String id, java.util.Collection<java.lang.String> fixedIps, java.lang.String routerGwMac, org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String extInterfaceName, int lportTag)  
      void addArpResponderFlowsToExternalNetworkIps​(java.lang.String id, java.util.Collection<java.lang.String> fixedIps, java.lang.String macAddress, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetworkId)  
      void addExtraRoute​(java.lang.String vpnName, java.lang.String destination, java.lang.String nextHop, java.lang.String rd, @Nullable java.lang.String routerID, org.opendaylight.yangtools.yang.common.Uint32 l3vni, RouteOrigin origin, @Nullable java.lang.String intfName, @Nullable Adjacency operationalAdj, VrfEntryBase.EncapType encapType, java.util.Set<java.lang.String> prefixListForRefreshFib, @NonNull org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx)  
      void addRouterGwMacFlow​(java.lang.String routerName, java.lang.String routerGwMac, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetworkId, java.lang.String subnetVpnName, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx)  
      void addSubnetMacIntoVpnInstance​(java.lang.String vpnName, java.lang.String subnetVpnName, java.lang.String srcMacAddress, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx)  
      boolean checkForOverlappingSubnets​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid network, java.util.List<Subnetmap> subnetmapList, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpn, java.util.Set<VpnTarget> routeTargets, java.util.List<java.lang.String> failedNwList)  
      void delExtraRoute​(java.lang.String vpnName, java.lang.String destination, java.lang.String nextHop, java.lang.String rd, @Nullable java.lang.String routerID, @Nullable java.lang.String intfName, @NonNull org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx, @NonNull org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Operational> operTx)  
      VpnPortipToPort getNeutronPortFromVpnPortFixedIp​(org.opendaylight.genius.infra.TypedReadTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx, java.lang.String vpnName, java.lang.String fixedIp)  
      VpnPortipToPort getNeutronPortFromVpnPortFixedIp​(org.opendaylight.mdsal.binding.api.DataBroker broker, java.lang.String vpnName, java.lang.String fixedIp)
      Deprecated.
      java.lang.String getPrimaryRdFromVpnInstance​(VpnInstance vpnInstance)  
      java.util.Set<VpnTarget> getRtListForVpn​(java.lang.String vpnName)  
      VpnInstance getVpnInstance​(org.opendaylight.mdsal.binding.api.DataBroker broker, java.lang.String vpnInstanceName)  
      java.lang.String getVpnRd​(org.opendaylight.genius.infra.TypedReadTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx, java.lang.String vpnName)  
      java.lang.String getVpnRd​(org.opendaylight.mdsal.binding.api.DataBroker broker, java.lang.String vpnName)
      Deprecated.
      boolean isVPNConfigured()  
      void onSubnetAddedToVpn​(Subnetmap subnetmap, boolean isBgpVpn, java.lang.Long elanTag)  
      void onSubnetDeletedFromVpn​(Subnetmap subnetmap, boolean isBgpVpn)  
      void removeArpResponderFlowsToExternalNetworkIps​(java.lang.String id, java.util.Collection<java.lang.String> fixedIps, java.lang.String macAddress, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetworkId)  
      void removeArpResponderFlowsToExternalNetworkIps​(java.lang.String id, java.util.Collection<java.lang.String> fixedIps, org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String extInterfaceName, int lportTag)  
      void removePrefixFromBGP​(java.lang.String vpnName, java.lang.String primaryRd, java.lang.String extraRouteRd, java.lang.String vpnInterfaceName, java.lang.String prefix, java.lang.String nextHop, java.lang.String nextHopTunnelIp, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx, org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Operational> operTx)  
      void removeRouterGwMacFlow​(java.lang.String routerName, java.lang.String routerGwMac, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetworkId, java.lang.String subnetVpnName, org.opendaylight.genius.infra.TypedReadWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx)  
      void removeRouteTargetsToSubnetAssociation​(java.util.Set<VpnTarget> routeTargets, java.lang.String cidr, java.lang.String vpnName)  
      void removeSubnetMacFromVpnInstance​(java.lang.String vpnName, java.lang.String subnetVpnName, java.lang.String srcMacAddress, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.genius.infra.TypedReadWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx)  
      void updateRouteTargetsToSubnetAssociation​(java.util.Set<VpnTarget> routeTargets, java.lang.String cidr, java.lang.String vpnName)  
    • Method Detail

      • addExtraRoute

        void addExtraRoute​(java.lang.String vpnName,
                           java.lang.String destination,
                           java.lang.String nextHop,
                           java.lang.String rd,
                           @Nullable java.lang.String routerID,
                           org.opendaylight.yangtools.yang.common.Uint32 l3vni,
                           RouteOrigin origin,
                           @Nullable java.lang.String intfName,
                           @Nullable Adjacency operationalAdj,
                           VrfEntryBase.EncapType encapType,
                           java.util.Set<java.lang.String> prefixListForRefreshFib,
                           @NonNull org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx)
      • delExtraRoute

        void delExtraRoute​(java.lang.String vpnName,
                           java.lang.String destination,
                           java.lang.String nextHop,
                           java.lang.String rd,
                           @Nullable java.lang.String routerID,
                           @Nullable java.lang.String intfName,
                           @NonNull org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx,
                           @NonNull org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Operational> operTx)
      • removePrefixFromBGP

        void removePrefixFromBGP​(java.lang.String vpnName,
                                 java.lang.String primaryRd,
                                 java.lang.String extraRouteRd,
                                 java.lang.String vpnInterfaceName,
                                 java.lang.String prefix,
                                 java.lang.String nextHop,
                                 java.lang.String nextHopTunnelIp,
                                 org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                 org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx,
                                 org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Operational> operTx)
      • isVPNConfigured

        boolean isVPNConfigured()
      • getPrimaryRdFromVpnInstance

        java.lang.String getPrimaryRdFromVpnInstance​(VpnInstance vpnInstance)
      • addSubnetMacIntoVpnInstance

        void addSubnetMacIntoVpnInstance​(java.lang.String vpnName,
                                         java.lang.String subnetVpnName,
                                         java.lang.String srcMacAddress,
                                         org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                         org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx)
                                  throws java.util.concurrent.ExecutionException,
                                         java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • removeSubnetMacFromVpnInstance

        void removeSubnetMacFromVpnInstance​(java.lang.String vpnName,
                                            java.lang.String subnetVpnName,
                                            java.lang.String srcMacAddress,
                                            org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                            org.opendaylight.genius.infra.TypedReadWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx)
                                     throws java.util.concurrent.ExecutionException,
                                            java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • addRouterGwMacFlow

        void addRouterGwMacFlow​(java.lang.String routerName,
                                java.lang.String routerGwMac,
                                org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetworkId,
                                java.lang.String subnetVpnName,
                                org.opendaylight.genius.infra.TypedWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx)
                         throws java.util.concurrent.ExecutionException,
                                java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • removeRouterGwMacFlow

        void removeRouterGwMacFlow​(java.lang.String routerName,
                                   java.lang.String routerGwMac,
                                   org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                   org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetworkId,
                                   java.lang.String subnetVpnName,
                                   org.opendaylight.genius.infra.TypedReadWriteTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx)
                            throws java.util.concurrent.ExecutionException,
                                   java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • addArpResponderFlowsToExternalNetworkIps

        void addArpResponderFlowsToExternalNetworkIps​(java.lang.String id,
                                                      java.util.Collection<java.lang.String> fixedIps,
                                                      java.lang.String macAddress,
                                                      org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetworkId)
      • addArpResponderFlowsToExternalNetworkIps

        void addArpResponderFlowsToExternalNetworkIps​(java.lang.String id,
                                                      java.util.Collection<java.lang.String> fixedIps,
                                                      java.lang.String routerGwMac,
                                                      org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                      java.lang.String extInterfaceName,
                                                      int lportTag)
      • removeArpResponderFlowsToExternalNetworkIps

        void removeArpResponderFlowsToExternalNetworkIps​(java.lang.String id,
                                                         java.util.Collection<java.lang.String> fixedIps,
                                                         java.lang.String macAddress,
                                                         org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                         org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetworkId)
      • removeArpResponderFlowsToExternalNetworkIps

        void removeArpResponderFlowsToExternalNetworkIps​(java.lang.String id,
                                                         java.util.Collection<java.lang.String> fixedIps,
                                                         org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                         java.lang.String extInterfaceName,
                                                         int lportTag)
      • onSubnetAddedToVpn

        void onSubnetAddedToVpn​(Subnetmap subnetmap,
                                boolean isBgpVpn,
                                java.lang.Long elanTag)
      • onSubnetDeletedFromVpn

        void onSubnetDeletedFromVpn​(Subnetmap subnetmap,
                                    boolean isBgpVpn)
      • getVpnInstance

        VpnInstance getVpnInstance​(org.opendaylight.mdsal.binding.api.DataBroker broker,
                                   java.lang.String vpnInstanceName)
      • getVpnRd

        @Deprecated
        java.lang.String getVpnRd​(org.opendaylight.mdsal.binding.api.DataBroker broker,
                                  java.lang.String vpnName)
        Deprecated.
      • getVpnRd

        java.lang.String getVpnRd​(org.opendaylight.genius.infra.TypedReadTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx,
                                  java.lang.String vpnName)
      • getNeutronPortFromVpnPortFixedIp

        @Deprecated
        VpnPortipToPort getNeutronPortFromVpnPortFixedIp​(org.opendaylight.mdsal.binding.api.DataBroker broker,
                                                         java.lang.String vpnName,
                                                         java.lang.String fixedIp)
        Deprecated.
      • getNeutronPortFromVpnPortFixedIp

        VpnPortipToPort getNeutronPortFromVpnPortFixedIp​(org.opendaylight.genius.infra.TypedReadTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx,
                                                         java.lang.String vpnName,
                                                         java.lang.String fixedIp)
      • updateRouteTargetsToSubnetAssociation

        void updateRouteTargetsToSubnetAssociation​(java.util.Set<VpnTarget> routeTargets,
                                                   java.lang.String cidr,
                                                   java.lang.String vpnName)
      • removeRouteTargetsToSubnetAssociation

        void removeRouteTargetsToSubnetAssociation​(java.util.Set<VpnTarget> routeTargets,
                                                   java.lang.String cidr,
                                                   java.lang.String vpnName)
      • checkForOverlappingSubnets

        boolean checkForOverlappingSubnets​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid network,
                                           java.util.List<Subnetmap> subnetmapList,
                                           org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpn,
                                           java.util.Set<VpnTarget> routeTargets,
                                           java.util.List<java.lang.String> failedNwList)
      • getRtListForVpn

        java.util.Set<VpnTarget> getRtListForVpn​(java.lang.String vpnName)