All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
Instruction

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

This class represents the following YANG schema fragment defined in module opendaylight-flow-types

 grouping instruction {
   choice instruction {
     case go-to-table-case {
       container go-to-table {
         leaf table_id {
           type uint8;
         }
       }
     }
     case write-metadata-case {
       container write-metadata {
         leaf metadata {
           type uint64;
         }
         leaf metadata-mask {
           type uint64;
         }
       }
     }
     case write-actions-case {
       container write-actions {
         uses action:action-list;
       }
     }
     case apply-actions-case {
       container apply-actions {
         uses action:action-list;
       }
     }
     case clear-actions-case {
       container clear-actions {
         uses action:action-list;
       }
     }
     case meter-case {
       container meter {
         leaf meter-id {
           type meter:meter-id;
         }
       }
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return instruction, or null if it is not present.
    Class<? extends Instruction>
     
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

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

      Instruction getInstruction()
      Return instruction, or null if it is not present.
      Returns:
      org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.Instruction instruction, or null if it is not present.