Interface RawPacket

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    PacketIn, PacketInMessage, PacketReceived, TransmitPacketInput

    public interface RawPacket
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Basic packet structure.

    This class represents the following YANG schema fragment defined in module packet-processing

     grouping raw-packet {
       leaf ingress {
         type inv:node-connector-ref;
       leaf payload {
         type binary;
    The schema path to identify an instance is packet-processing/raw-packet
    • Field Summary

      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef getIngress()
        Return ingress, or null if it is not present.
        org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef ingress, or null if it is not present.
      • getPayload

        byte[] getPayload()
        Return payload, or null if it is not present.
        byte[] payload, or null if it is not present.