Class IPV6InternetDefaultRouteProgrammer


  • @Singleton
    public class IPV6InternetDefaultRouteProgrammer
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      IPV6InternetDefaultRouteProgrammer​(org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalManager)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getIPv6FlowRefL3​(org.opendaylight.yangtools.yang.common.Uint64 dpnId, short tableId, java.lang.String destPrefix, java.lang.String routerId)  
      void installDefaultRoute​(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String routerId, long internetBgpVpnId, long vpnId)
      This method installs in the FIB table the default route for IPv6.
      void removeDefaultRoute​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 dpnId, java.lang.String routerId, long internetBgpVpnId, long vpnId)  
      • Methods inherited from class java.lang.Object

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

      • IPV6InternetDefaultRouteProgrammer

        @Inject
        public IPV6InternetDefaultRouteProgrammer​(org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalManager)
    • Method Detail

      • installDefaultRoute

        public void installDefaultRoute​(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx,
                                        org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                        java.lang.String routerId,
                                        long internetBgpVpnId,
                                        long vpnId)
        This method installs in the FIB table the default route for IPv6.
        Parameters:
        dpnId - of the compute node
        internetBgpVpnId - internetVpn id as long
        vpnId - id of router associated to internet bgpvpn as long
      • removeDefaultRoute

        public void removeDefaultRoute​(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx,
                                       org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                       java.lang.String routerId,
                                       long internetBgpVpnId,
                                       long vpnId)
                                throws java.util.concurrent.ExecutionException,
                                       java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • getIPv6FlowRefL3

        public java.lang.String getIPv6FlowRefL3​(org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                 short tableId,
                                                 java.lang.String destPrefix,
                                                 java.lang.String routerId)