Class BindServiceUtils


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void addEgressActionInfosForInterface​(org.opendaylight.yangtools.yang.common.Uint16 ifIndex, int actionKeyStart, java.util.List<ActionInfo> result)  
      static void bindDefaultEgressDispatcherService​(ManagedNewTransactionRunner txRunner, java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> futures, java.lang.String tunType, java.lang.String portNo, java.lang.String interfaceName, org.opendaylight.yangtools.yang.common.Uint16 ifIndex)  
      static void bindDefaultEgressDispatcherService​(ManagedNewTransactionRunner txRunner, java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> futures, java.lang.String interfaceName, java.util.Map<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.InstructionKey,​org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction> instructions)  
      static void bindService​(TypedWriteTransaction<Datastore.Configuration> tx, java.lang.String interfaceName, BoundServices serviceInfo, java.lang.Class<? extends ServiceModeBase> serviceMode)  
      static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BoundServices> buildBoundServicesIId​(org.opendaylight.yangtools.yang.common.Uint8 servicePriority, java.lang.String interfaceName, java.lang.Class<? extends ServiceModeBase> serviceMode)  
      static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BoundServices> buildDefaultServiceId​(java.lang.String interfaceName)  
      static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BoundServices> buildServiceId​(java.lang.String interfaceName, short serviceIndex, java.lang.Class<? extends ServiceModeBase> serviceMode)  
      static BoundServices getBoundServices​(java.lang.String serviceName, short servicePriority, int flowPriority, org.opendaylight.yangtools.yang.common.Uint64 cookie, java.util.Map<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.InstructionKey,​org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction> instructions)  
      static java.util.List<ActionInfo> getEgressActionInfosForInterface​(java.lang.String tunType, java.lang.String portNo, java.lang.Long tunnelKey, int actionKeyStart, boolean isDefaultEgress, org.opendaylight.yangtools.yang.common.Uint16 ifIndex, long groupId)  
      static java.util.Map<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.InstructionKey,​org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction> getEgressInstructionsForInterface​(java.lang.String tunType, java.lang.String portNo, java.lang.Long tunnelKey, boolean isDefaultEgress, org.opendaylight.yangtools.yang.common.Uint16 ifIndex, long groupId)  
      static void unbindService​(java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> futures, ManagedNewTransactionRunner txRunner, java.lang.String interfaceName)  
      • Methods inherited from class java.lang.Object

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

      • bindDefaultEgressDispatcherService

        public static void bindDefaultEgressDispatcherService​(ManagedNewTransactionRunner txRunner,
                                                              java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> futures,
                                                              java.lang.String tunType,
                                                              java.lang.String portNo,
                                                              java.lang.String interfaceName,
                                                              org.opendaylight.yangtools.yang.common.Uint16 ifIndex)
      • bindDefaultEgressDispatcherService

        public static void bindDefaultEgressDispatcherService​(ManagedNewTransactionRunner txRunner,
                                                              java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> futures,
                                                              java.lang.String interfaceName,
                                                              java.util.Map<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.InstructionKey,​org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction> instructions)
      • getEgressInstructionsForInterface

        public static java.util.Map<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.InstructionKey,​org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction> getEgressInstructionsForInterface​(java.lang.String tunType,
                                                                                                                                                                                                                                                                                java.lang.String portNo,
                                                                                                                                                                                                                                                                                java.lang.Long tunnelKey,
                                                                                                                                                                                                                                                                                boolean isDefaultEgress,
                                                                                                                                                                                                                                                                                org.opendaylight.yangtools.yang.common.Uint16 ifIndex,
                                                                                                                                                                                                                                                                                long groupId)
      • getEgressActionInfosForInterface

        public static java.util.List<ActionInfo> getEgressActionInfosForInterface​(java.lang.String tunType,
                                                                                  java.lang.String portNo,
                                                                                  java.lang.Long tunnelKey,
                                                                                  int actionKeyStart,
                                                                                  boolean isDefaultEgress,
                                                                                  org.opendaylight.yangtools.yang.common.Uint16 ifIndex,
                                                                                  long groupId)
      • addEgressActionInfosForInterface

        public static void addEgressActionInfosForInterface​(org.opendaylight.yangtools.yang.common.Uint16 ifIndex,
                                                            int actionKeyStart,
                                                            java.util.List<ActionInfo> result)
      • getBoundServices

        public static BoundServices getBoundServices​(java.lang.String serviceName,
                                                     short servicePriority,
                                                     int flowPriority,
                                                     org.opendaylight.yangtools.yang.common.Uint64 cookie,
                                                     java.util.Map<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.InstructionKey,​org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction> instructions)
      • buildBoundServicesIId

        public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BoundServices> buildBoundServicesIId​(org.opendaylight.yangtools.yang.common.Uint8 servicePriority,
                                                                                                                      java.lang.String interfaceName,
                                                                                                                      java.lang.Class<? extends ServiceModeBase> serviceMode)
      • unbindService

        public static void unbindService​(java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> futures,
                                         ManagedNewTransactionRunner txRunner,
                                         java.lang.String interfaceName)
      • buildDefaultServiceId

        public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BoundServices> buildDefaultServiceId​(java.lang.String interfaceName)
      • buildServiceId

        public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<BoundServices> buildServiceId​(java.lang.String interfaceName,
                                                                                                               short serviceIndex,
                                                                                                               java.lang.Class<? extends ServiceModeBase> serviceMode)