Interface InstructionGrouping

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Instruction, InstructionContainer

    @Generated("mdsal-binding-generator")
    public interface InstructionGrouping
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module openflow-instruction

     grouping instruction-grouping {
       choice instruction-choice {
         case goto-table-case {
           container goto-table {
             leaf table-id {
               type uint8;
             }
           }
         }
         case write-metadata-case {
           container write-metadata {
             leaf metadata {
               type binary;
             }
             leaf metadata-mask {
               type binary;
             }
           }
         }
         case write-actions-case {
           container write-actions {
             uses ofaction:actions-grouping;
           }
         }
         case apply-actions-case {
           container apply-actions {
             uses ofaction:actions-grouping;
           }
         }
         case clear-actions-case;
         case meter-case {
           container meter {
             leaf meter-id {
               type uint32;
             }
           }
         }
       }
     }
     
    The schema path to identify an instance is openflow-instruction/instruction-grouping
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends InstructionGrouping> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getInstructionChoice

        InstructionChoice getInstructionChoice()
        Return instructionChoice, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.instruction.grouping.InstructionChoice instructionChoice, or null if it is not present.