Interface OpenflowAgentConfig

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

    @Generated("mdsal-binding-generator")
    public interface OpenflowAgentConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Openflow agent config

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

     grouping openflow-agent-config {
       leaf datapath-id {
         type of-types:datapath-id;
       }
       leaf failure-mode {
         type of-types:failure-mode;
       }
       leaf backoff-interval {
         type uint32;
         units seconds;
       }
       leaf max-backoff {
         type uint32;
         units seconds;
       }
       leaf inactivity-probe {
         type uint32;
         units seconds;
       }
     }
     
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        DatapathId getDatapathId()
        Return datapathId, or null if it is not present.
             
                 Datapath unique ID. The lower 48-bits are for a MAC address, while the upper
                 16-bits are implementer-defined.
             
         
        Returns:
        DatapathId datapathId, or null if it is not present.
      • requireDatapathId

        default @NonNull DatapathId requireDatapathId()
        Return datapathId, guaranteed to be non-null.
             
                 Datapath unique ID. The lower 48-bits are for a MAC address, while the upper
                 16-bits are implementer-defined.
             
         
        Returns:
        DatapathId datapathId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if datapathId is not present
      • getFailureMode

        FailureMode getFailureMode()
        Return failureMode, or null if it is not present.
             
                 Failure mode for Openflow.
             
         
        Returns:
        FailureMode failureMode, or null if it is not present.
      • requireFailureMode

        default @NonNull FailureMode requireFailureMode()
        Return failureMode, guaranteed to be non-null.
             
                 Failure mode for Openflow.
             
         
        Returns:
        FailureMode failureMode, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if failureMode is not present
      • getBackoffInterval

        org.opendaylight.yangtools.yang.common.Uint32 getBackoffInterval()
        Return backoffInterval, or null if it is not present.
             
                 Openflow agent connection backoff interval.
             
         
        Returns:
        Uint32 backoffInterval, or null if it is not present.
      • requireBackoffInterval

        default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireBackoffInterval()
        Return backoffInterval, guaranteed to be non-null.
             
                 Openflow agent connection backoff interval.
             
         
        Returns:
        Uint32 backoffInterval, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if backoffInterval is not present
      • getMaxBackoff

        org.opendaylight.yangtools.yang.common.Uint32 getMaxBackoff()
        Return maxBackoff, or null if it is not present.
             
                 Openflow agent max backoff time.
             
         
        Returns:
        Uint32 maxBackoff, or null if it is not present.
      • requireMaxBackoff

        default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireMaxBackoff()
        Return maxBackoff, guaranteed to be non-null.
             
                 Openflow agent max backoff time.
             
         
        Returns:
        Uint32 maxBackoff, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if maxBackoff is not present
      • getInactivityProbe

        org.opendaylight.yangtools.yang.common.Uint32 getInactivityProbe()
        Return inactivityProbe, or null if it is not present.
             
                 Openflow agent inactivity probe period.
             
         
        Returns:
        Uint32 inactivityProbe, or null if it is not present.
      • requireInactivityProbe

        default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireInactivityProbe()
        Return inactivityProbe, guaranteed to be non-null.
             
                 Openflow agent inactivity probe period.
             
         
        Returns:
        Uint32 inactivityProbe, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if inactivityProbe is not present