Interface PortStatus

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, OfHeader, PortGrouping
    All Known Subinterfaces:
    PortStatusMessage

    @Generated("mdsal-binding-generator")
    public interface PortStatus
    extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader, PortGrouping

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

     grouping port-status {
       uses ofHeader;
       uses port-grouping;
       leaf reason {
         type oft:port-reason;
       }
     }
     
    The schema path to identify an instance is openflow-protocol/port-status
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends PortStatus> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface OfHeader
        Specified by:
        implementedInterface in interface PortGrouping
      • getReason

        PortReason getReason()
        Return reason, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortReason reason, or null if it is not present.