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:
BaseTunnelInput, CreateP2pTunnelInput, CreateTunnelInput, DestroyTunnelInput, PcepCreateP2pTunnelInput, PcepDestroyTunnelInput, PcepUpdateTunnelInput, SubmitAddLspInput, SubmitEnsureLspOperationalInput, SubmitRemoveLspInput, SubmitTriggerSyncInput, SubmitUpdateLspInput, TopologyInstructionInput

@Generated("mdsal-binding-generator") public interface SubmitInstructionInput extends org.opendaylight.yangtools.yang.binding.DataObject
Minimum required arguments needed for submitting an instruction into the scheduler. This grouping needs to be used by concrete RPC definitions which are routed to the scheduler.

This class represents the following YANG schema fragment defined in module programming

 grouping submit-instruction-input {
   leaf id {
     type instruction-id;
   }
   leaf deadline {
     type nanotime;
   }
   leaf-list preconditions {
     type instruction-id;
   }
 }
 
  • 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 SubmitInstructionInput> 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
    • getId

      InstructionId getId()
      Return id, or null if it is not present.
      Returns:
      InstructionId id, or null if it is not present.
    • requireId

      default @NonNull InstructionId requireId()
      Return id, guaranteed to be non-null.
      Returns:
      InstructionId id, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if id is not present
    • getDeadline

      Nanotime getDeadline()
      Return deadline, or null if it is not present.
      Returns:
      Nanotime deadline, or null if it is not present.
    • requireDeadline

      default @NonNull Nanotime requireDeadline()
      Return deadline, guaranteed to be non-null.
      Returns:
      Nanotime deadline, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if deadline is not present
    • getPreconditions

      @Nullable Set<InstructionId> getPreconditions()
      Return preconditions, or null if it is not present.
      Returns:
      Set<InstructionId> preconditions, or null if it is not present.
    • requirePreconditions

      default @NonNull Set<InstructionId> requirePreconditions()
      Return preconditions, guaranteed to be non-null.
      Returns:
      Set<InstructionId> preconditions, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if preconditions is not present