Class EvpnSnatFlowProgrammer


  • @Singleton
    public class EvpnSnatFlowProgrammer
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void evpnAdvToBgpAndInstallFibAndTsFlows​(org.opendaylight.yangtools.yang.common.Uint64 dpnId, short tableId, java.lang.String externalIp, java.lang.String vpnName, java.lang.String rd, java.lang.String nextHopIp, org.opendaylight.yangtools.yang.common.Uint32 routerId, java.lang.String routerName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetworkId, org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx)  
      void evpnDelFibTsAndReverseTraffic​(org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yangtools.yang.common.Uint32 routerId, java.lang.String externalIp, java.lang.String vpnName, java.lang.String extGwMacAddress)  
      void makeTunnelTableEntry​(org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yangtools.yang.common.Uint32 l3Vni, java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction> customInstructions, short tableId, org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx)  
      void removeTunnelTableEntry​(org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.yangtools.yang.common.Uint32 l3Vni, org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx)  
      • Methods inherited from class java.lang.Object

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

      • EvpnSnatFlowProgrammer

        @Inject
        public EvpnSnatFlowProgrammer​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
                                      org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalManager,
                                      IBgpManager bgpManager,
                                      IFibManager fibManager,
                                      FibRpcService fibService,
                                      NatOverVxlanUtil natOverVxlanUtil)
    • Method Detail

      • evpnAdvToBgpAndInstallFibAndTsFlows

        public void evpnAdvToBgpAndInstallFibAndTsFlows​(org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                        short tableId,
                                                        java.lang.String externalIp,
                                                        java.lang.String vpnName,
                                                        java.lang.String rd,
                                                        java.lang.String nextHopIp,
                                                        org.opendaylight.yangtools.yang.common.Uint32 routerId,
                                                        java.lang.String routerName,
                                                        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid extNetworkId,
                                                        org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx)
      • evpnDelFibTsAndReverseTraffic

        public void evpnDelFibTsAndReverseTraffic​(org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                  org.opendaylight.yangtools.yang.common.Uint32 routerId,
                                                  java.lang.String externalIp,
                                                  java.lang.String vpnName,
                                                  java.lang.String extGwMacAddress)
      • makeTunnelTableEntry

        public void makeTunnelTableEntry​(org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                         org.opendaylight.yangtools.yang.common.Uint32 l3Vni,
                                         java.util.List<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction> customInstructions,
                                         short tableId,
                                         org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx)
      • removeTunnelTableEntry

        public void removeTunnelTableEntry​(org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                           org.opendaylight.yangtools.yang.common.Uint32 l3Vni,
                                           org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> confTx)
                                    throws java.util.concurrent.ExecutionException,
                                           java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException