Interface PacketQueue

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, QueuePropertyHeader
    All Known Subinterfaces:
    Queues

    @Generated("mdsal-binding-generator")
    public interface PacketQueue
    extends org.opendaylight.yangtools.yang.binding.DataObject, QueuePropertyHeader

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

     grouping packet-queue {
       leaf queue-id {
         type oft:queue-id;
       }
       leaf port {
         type oft:port-number;
       }
       uses queue-property-header;
     }
     
    The schema path to identify an instance is openflow-protocol/packet-queue
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends PacketQueue> 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 QueuePropertyHeader
      • getQueueId

        QueueId getQueueId()
        Return queueId, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.QueueId queueId, or null if it is not present.
      • getPort

        PortNumber getPort()
        Return port, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortNumber port, or null if it is not present.