Interface CommonPort

    • 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 CommonPort> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getPortNumber

        PortNumberUni getPortNumber()
        Return portNumber, or null if it is not present.
        Returns:
        PortNumberUni portNumber, or null if it is not present.
      • requirePortNumber

        default @NonNull PortNumberUni requirePortNumber()
        Return portNumber, guaranteed to be non-null.
        Returns:
        PortNumberUni portNumber, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if portNumber is not present
      • getHardwareAddress

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getHardwareAddress()
        Return hardwareAddress, or null if it is not present.
             
                 MAC Address of the port
             
         
        Returns:
        MacAddress hardwareAddress, or null if it is not present.
      • requireHardwareAddress

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress requireHardwareAddress()
        Return hardwareAddress, guaranteed to be non-null.
             
                 MAC Address of the port
             
         
        Returns:
        MacAddress hardwareAddress, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if hardwareAddress is not present
      • getConfiguration

        PortConfig getConfiguration()
        Return configuration, or null if it is not present.
             
                 Bit map of OFPPC-* flags
             
         
        Returns:
        PortConfig configuration, or null if it is not present.
      • requireConfiguration

        default @NonNull PortConfig requireConfiguration()
        Return configuration, guaranteed to be non-null.
             
                 Bit map of OFPPC-* flags
             
         
        Returns:
        PortConfig configuration, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if configuration is not present
      • getAdvertisedFeatures

        PortFeatures getAdvertisedFeatures()
        Return advertisedFeatures, or null if it is not present.
             
                 Features being advertised by the port
             
         
        Returns:
        PortFeatures advertisedFeatures, or null if it is not present.
      • requireAdvertisedFeatures

        default @NonNull PortFeatures requireAdvertisedFeatures()
        Return advertisedFeatures, guaranteed to be non-null.
             
                 Features being advertised by the port
             
         
        Returns:
        PortFeatures advertisedFeatures, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if advertisedFeatures is not present