Class VpnExtraRouteHelper


  • public final class VpnExtraRouteHelper
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<Routes> getAllVpnExtraRoutes​(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, java.lang.String vpnName, java.util.List<java.lang.String> usedRds, java.lang.String destPrefix)  
      static java.util.List<DestPrefixes> getExtraRouteDestPrefixes​(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, org.opendaylight.yangtools.yang.common.Uint32 vpnId)  
      static java.util.Optional<java.lang.String> getRdAllocatedForExtraRoute​(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, org.opendaylight.yangtools.yang.common.Uint32 vpnId, java.lang.String destPrefix, java.lang.String nextHop)  
      static @Nullable java.lang.Class<? extends org.opendaylight.yang.gen.v1.urn.opendaylight.genius.interfacemanager.rev160406.TunnelTypeBase> getTunnelType​(org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.rpcs.rev160406.ItmRpcService itmRpcService, java.lang.String ifName)  
      static java.util.List<java.lang.String> getUsedRds​(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, org.opendaylight.yangtools.yang.common.Uint32 vpnId, java.lang.String destPrefix)  
      static java.util.List<java.lang.String> getUsedRds​(org.opendaylight.genius.infra.TypedReadTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx, org.opendaylight.yangtools.yang.common.Uint32 vpnId, java.lang.String destPrefix)  
      static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ExtrarouteRds> getUsedRdsIdentifier​(org.opendaylight.yangtools.yang.common.Uint32 vpnId)  
      static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DestPrefixes> getUsedRdsIdentifier​(org.opendaylight.yangtools.yang.common.Uint32 vpnId, java.lang.String destPrefix)  
      static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<AllocatedRds> getUsedRdsIdentifier​(org.opendaylight.yangtools.yang.common.Uint32 vpnId, java.lang.String destPrefix, java.lang.String nh)  
      static com.google.common.base.Optional<Routes> getVpnExtraroutes​(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, java.lang.String vpnName, java.lang.String vpnRd, java.lang.String destPrefix)  
      static com.google.common.base.Optional<Routes> getVpnExtraroutes​(org.opendaylight.genius.infra.TypedReadTransaction<org.opendaylight.genius.infra.Datastore.Operational> operTx, java.lang.String vpnName, java.lang.String vpnRd, java.lang.String destPrefix)  
      static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Vpn> getVpnToExtrarouteVpnIdentifier​(java.lang.String vpnName)  
      static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Routes> getVpnToExtrarouteVrfIdIdentifier​(java.lang.String vpnName, java.lang.String vrfId, java.lang.String ipPrefix)  
      • Methods inherited from class java.lang.Object

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

      • getVpnExtraroutes

        public static com.google.common.base.Optional<Routes> getVpnExtraroutes​(org.opendaylight.controller.md.sal.binding.api.DataBroker broker,
                                                                                java.lang.String vpnName,
                                                                                java.lang.String vpnRd,
                                                                                java.lang.String destPrefix)
      • getVpnExtraroutes

        public static com.google.common.base.Optional<Routes> getVpnExtraroutes​(org.opendaylight.genius.infra.TypedReadTransaction<org.opendaylight.genius.infra.Datastore.Operational> operTx,
                                                                                java.lang.String vpnName,
                                                                                java.lang.String vpnRd,
                                                                                java.lang.String destPrefix)
                                                                         throws java.util.concurrent.ExecutionException,
                                                                                java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • getVpnToExtrarouteVrfIdIdentifier

        public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Routes> getVpnToExtrarouteVrfIdIdentifier​(java.lang.String vpnName,
                                                                                                                           java.lang.String vrfId,
                                                                                                                           java.lang.String ipPrefix)
      • getVpnToExtrarouteVpnIdentifier

        public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Vpn> getVpnToExtrarouteVpnIdentifier​(java.lang.String vpnName)
      • getAllVpnExtraRoutes

        public static java.util.List<Routes> getAllVpnExtraRoutes​(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
                                                                  java.lang.String vpnName,
                                                                  java.util.List<java.lang.String> usedRds,
                                                                  java.lang.String destPrefix)
      • getUsedRds

        public static java.util.List<java.lang.String> getUsedRds​(org.opendaylight.controller.md.sal.binding.api.DataBroker broker,
                                                                  org.opendaylight.yangtools.yang.common.Uint32 vpnId,
                                                                  java.lang.String destPrefix)
      • getUsedRds

        public static java.util.List<java.lang.String> getUsedRds​(org.opendaylight.genius.infra.TypedReadTransaction<org.opendaylight.genius.infra.Datastore.Configuration> confTx,
                                                                  org.opendaylight.yangtools.yang.common.Uint32 vpnId,
                                                                  java.lang.String destPrefix)
                                                           throws java.util.concurrent.ExecutionException,
                                                                  java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • getUsedRdsIdentifier

        public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ExtrarouteRds> getUsedRdsIdentifier​(org.opendaylight.yangtools.yang.common.Uint32 vpnId)
      • getUsedRdsIdentifier

        public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<DestPrefixes> getUsedRdsIdentifier​(org.opendaylight.yangtools.yang.common.Uint32 vpnId,
                                                                                                                    java.lang.String destPrefix)
      • getUsedRdsIdentifier

        public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<AllocatedRds> getUsedRdsIdentifier​(org.opendaylight.yangtools.yang.common.Uint32 vpnId,
                                                                                                                    java.lang.String destPrefix,
                                                                                                                    java.lang.String nh)
      • getTunnelType

        public static @Nullable java.lang.Class<? extends org.opendaylight.yang.gen.v1.urn.opendaylight.genius.interfacemanager.rev160406.TunnelTypeBase> getTunnelType​(org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.rpcs.rev160406.ItmRpcService itmRpcService,
                                                                                                                                                                        java.lang.String ifName)
      • getRdAllocatedForExtraRoute

        public static java.util.Optional<java.lang.String> getRdAllocatedForExtraRoute​(org.opendaylight.controller.md.sal.binding.api.DataBroker broker,
                                                                                       org.opendaylight.yangtools.yang.common.Uint32 vpnId,
                                                                                       java.lang.String destPrefix,
                                                                                       java.lang.String nextHop)
      • getExtraRouteDestPrefixes

        public static java.util.List<DestPrefixes> getExtraRouteDestPrefixes​(org.opendaylight.controller.md.sal.binding.api.DataBroker broker,
                                                                             org.opendaylight.yangtools.yang.common.Uint32 vpnId)