Interface FlowPortStatus

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, CommonPort, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, FlowCapablePort, Queues

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

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

     grouping flow-port-status {
       leaf reason {
         type port-reason;
       }
       uses flow-capable-port;
     }
     
    • Field Detail

      • QNAME

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

      • getReason

        PortReason getReason()
        Return reason, or null if it is not present.
        Returns:
        PortReason reason, or null if it is not present.
      • requireReason

        default @NonNull PortReason requireReason()
        Return reason, guaranteed to be non-null.
        Returns:
        PortReason reason, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if reason is not present