Interface PacketIn

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

    public interface PacketIn
    extends org.opendaylight.yangtools.yang.binding.DataObject, RawPacket

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

     grouping packet-in {
       leaf connection-cookie {
         type connection-cookie;
       }
       leaf flow-cookie {
         type flow-type:flow-cookie;
       }
       leaf table-id {
         type table-type:table-id;
       }
       leaf packet-in-reason {
         type identityref {
           base packet-in-reason;
         }
       }
       uses raw-packet;
     }
     
    The schema path to identify an instance is packet-processing/packet-in
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends PacketIn> 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 RawPacket
      • getConnectionCookie

        @Nullable ConnectionCookie getConnectionCookie()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.ConnectionCookie connectionCookie, or null if not present
      • getFlowCookie

        @Nullable FlowCookie getFlowCookie()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.FlowCookie flowCookie, or null if not present
      • getTableId

        @Nullable TableId getTableId()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.table.types.rev131026.TableId tableId, or null if not present
      • getPacketInReason

        @Nullable Class<? extends PacketInReason> getPacketInReason()
        Returns:
        java.lang.Class packetInReason, or null if not present