Interface PacketOut$G

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

    @Generated("mdsal-binding-generator")
    public interface PacketOut$G
    extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader, ActionsGrouping

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

     grouping packet-out {
       uses ofHeader;
       uses ofaction:actions-grouping;
       leaf data {
         type binary;
       }
       leaf buffer-id {
         type uint32;
       }
       leaf in-port {
         type oft:port-number;
       }
     }
     
    • 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 PacketOut$G> implementedInterface()
        Specified by:
        implementedInterface in interface ActionsGrouping
        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
      • getData

        byte[] getData()
        Return data, or null if it is not present.
        Returns:
        byte[] data, or null if it is not present.
      • requireData

        default byte @NonNull [] requireData()
        Return data, guaranteed to be non-null.
        Returns:
        byte[] data, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if data is not present
      • getBufferId

        org.opendaylight.yangtools.yang.common.Uint32 getBufferId()
        Return bufferId, or null if it is not present.
        Returns:
        Uint32 bufferId, or null if it is not present.
      • requireBufferId

        default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireBufferId()
        Return bufferId, guaranteed to be non-null.
        Returns:
        Uint32 bufferId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if bufferId is not present
      • getInPort

        PortNumber getInPort()
        Return inPort, or null if it is not present.
        Returns:
        PortNumber inPort, or null if it is not present.
      • requireInPort

        default @NonNull PortNumber requireInPort()
        Return inPort, guaranteed to be non-null.
        Returns:
        PortNumber inPort, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if inPort is not present