Interface Queues
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Queues>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<OvsdbNodeAttributes>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<QueuesKey>
@Generated("mdsal-binding-generator") public interface Queues extends org.opendaylight.yangtools.yang.binding.ChildOf<OvsdbNodeAttributes>, org.opendaylight.yangtools.yang.binding.Augmentable<Queues>, org.opendaylight.yangtools.yang.binding.Identifiable<QueuesKey>
This class represents the following YANG schema fragment defined in module ovsdb
list queues { key queue-id; leaf queue-id { type inet:uri; } leaf queue-uuid { type yang:uuid; } leaf dscp { type uint8; } list queues-external-ids { key queues-external-id-key; leaf queues-external-id-key { type string; } leaf queues-external-id-value { type string; } } list queues-other-config { key queue-other-config-key; leaf queue-other-config-key { type string; } leaf queue-other-config-value { type string; } } }
To create instances of this class use
QueuesBuilder
.- See Also:
QueuesBuilder
,QueuesKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static boolean
bindingEquals(@NonNull Queues thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull Queues obj)
Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString(@NonNull Queues obj)
Default implementation ofObject.toString()
contract for this interface.org.opendaylight.yangtools.yang.common.Uint8
getDscp()
Return dscp, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri
getQueueId()
Return queueId, ornull
if it is not present.@Nullable Map<QueuesExternalIdsKey,QueuesExternalIds>
getQueuesExternalIds()
Return queuesExternalIds, ornull
if it is not present.@Nullable Map<QueuesOtherConfigKey,QueuesOtherConfig>
getQueuesOtherConfig()
Return queuesOtherConfig, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getQueueUuid()
Return queueUuid, ornull
if it is not present.default Class<Queues>
implementedInterface()
QueuesKey
key()
default @NonNull Map<QueuesExternalIdsKey,QueuesExternalIds>
nonnullQueuesExternalIds()
Return queuesExternalIds, or an empty list if it is not present.default @NonNull Map<QueuesOtherConfigKey,QueuesOtherConfig>
nonnullQueuesOtherConfig()
Return queuesOtherConfig, or an empty list if it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
requireDscp()
Return dscp, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri
requireQueueId()
Return queueId, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
requireQueueUuid()
Return queueUuid, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
default Class<Queues> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
static int bindingHashCode(@NonNull Queues obj)
Default implementation ofObject.hashCode()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj
- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException
- ifobj
is null
-
bindingEquals
static boolean bindingEquals(@NonNull Queues thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj
- Object acting as the receiver of equals invocationobj
- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException
- ifthisObj
is null
-
bindingToString
static String bindingToString(@NonNull Queues obj)
Default implementation ofObject.toString()
contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj
- Object for which to generate toString() result.- Returns:
String
value of data modeled by this interface.- Throws:
NullPointerException
- ifobj
is null
-
key
QueuesKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<QueuesKey>
-
getQueueId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri getQueueId()
Return queueId, ornull
if it is not present.An identifier used for Queue entries in the MD-SAL.
- Returns:
Uri
queueId, ornull
if it is not present.
-
requireQueueId
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri requireQueueId()
Return queueId, guaranteed to be non-null.An identifier used for Queue entries in the MD-SAL.
- Returns:
Uri
queueId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if queueId is not present
-
getQueueUuid
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getQueueUuid()
Return queueUuid, ornull
if it is not present.The unique identifier of the queue.
- Returns:
Uuid
queueUuid, ornull
if it is not present.
-
requireQueueUuid
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireQueueUuid()
Return queueUuid, guaranteed to be non-null.The unique identifier of the queue.
- Returns:
Uuid
queueUuid, guaranteed to be non-null.- Throws:
NoSuchElementException
- if queueUuid is not present
-
getDscp
org.opendaylight.yangtools.yang.common.Uint8 getDscp()
Return dscp, ornull
if it is not present.- Returns:
Uint8
dscp, ornull
if it is not present.
-
requireDscp
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireDscp()
Return dscp, guaranteed to be non-null.- Returns:
Uint8
dscp, guaranteed to be non-null.- Throws:
NoSuchElementException
- if dscp is not present
-
getQueuesExternalIds
@Nullable Map<QueuesExternalIdsKey,QueuesExternalIds> getQueuesExternalIds()
Return queuesExternalIds, ornull
if it is not present.- Returns:
Map<QueuesExternalIdsKey, QueuesExternalIds>
queuesExternalIds, ornull
if it is not present.
-
nonnullQueuesExternalIds
default @NonNull Map<QueuesExternalIdsKey,QueuesExternalIds> nonnullQueuesExternalIds()
Return queuesExternalIds, or an empty list if it is not present.- Returns:
Map<QueuesExternalIdsKey, QueuesExternalIds>
queuesExternalIds, or an empty list if it is not present.
-
getQueuesOtherConfig
@Nullable Map<QueuesOtherConfigKey,QueuesOtherConfig> getQueuesOtherConfig()
Return queuesOtherConfig, ornull
if it is not present.Configuration for linux-htb QoS: other_config : min-rate optional string containing an integer, at least 1. Minimum guaranteed bandwidth, in bit/s. other_config : max-rate optional string containing an integer, at least 1. Maximum allowed bandwidth, in bit/s. Optional. If specified, the queue's rate will not be allowed to exceed the specified value, even if excess bandwidth is available. If unspecified, defaults to no limit. other_config : burst optional string containing an integer, at least 1. Burst size, in bits. This is the maximum amount of ''credits'' that a queue can accumulate while it is idle. Optional. Details of the linux-htb implementation require a minimum burst size, so a too-small burst will be silently ignored. other_config : priority optional string. containing an integer, in range 0 to 4,294,967,295. A queue with a smaller priority will receive all the excess bandwidth that it can use before a queue with a larger value receives any. Specific priority values are unimportant; only relative ordering matters. Defaults to 0 if unspecified. Configuration for linux-htb QoS: other_config : min-rate optional string containing an integer, at least 1. Minimum guaranteed bandwidth, in bit/s. other_config : max-rate optional string containing an integer, at least 1. Maximum allowed bandwidth, in bit/s. Optional. If specified, the queue's rate will not be allowed to exceed the specified value, even if excess bandwidth is available. If unspecified, defaults to no limit..
- Returns:
Map<QueuesOtherConfigKey, QueuesOtherConfig>
queuesOtherConfig, ornull
if it is not present.
-
nonnullQueuesOtherConfig
default @NonNull Map<QueuesOtherConfigKey,QueuesOtherConfig> nonnullQueuesOtherConfig()
Return queuesOtherConfig, or an empty list if it is not present.- Returns:
Map<QueuesOtherConfigKey, QueuesOtherConfig>
queuesOtherConfig, or an empty list if it is not present.
-
-