Interface PortState

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

    public interface PortState
    extends org.opendaylight.yangtools.yang.binding.DataObject

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

     grouping port-state {
       leaf link-down {
         type boolean;
       }
       leaf blocked {
         type boolean;
       }
       leaf live {
         type boolean;
       }
     }
     
    The schema path to identify an instance is opendaylight-port-types/port-state
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        Boolean isLinkDown()
        Returns:
        java.lang.Boolean linkDown, or null if not present
      • isBlocked

        Boolean isBlocked()
        Returns:
        java.lang.Boolean blocked, or null if not present
      • isLive

        Boolean isLive()
        Returns:
        java.lang.Boolean live, or null if not present