Interface QueuePacket

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, CommonQueue, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    NodeQueue, PacketQueues, Queue

    @Generated("mdsal-binding-generator")
    public interface QueuePacket
    extends org.opendaylight.yangtools.yang.binding.DataObject, CommonQueue
    Openflow queue description structure.

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

     grouping queue-packet {
       leaf queue-id {
         type queue-id;
       }
       leaf port {
         type uint32;
       }
       uses common-queue;
     }
     
    The schema path to identify an instance is opendaylight-queue-types/queue-packet
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        QueueId getQueueId()
        Return queueId, or null if it is not present.
             
                 id for the specific queue.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.queue.rev130925.QueueId queueId, or null if it is not present.
      • getPort

        org.opendaylight.yangtools.yang.common.Uint32 getPort()
        Return port, or null if it is not present.
             
                 Port this queue is attached to.
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 port, or null if it is not present.