Interface QueuesOtherConfig
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<QueuesOtherConfig>
,org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<Queues>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<QueuesOtherConfigKey>
@Generated("mdsal-binding-generator")
public interface QueuesOtherConfig
extends org.opendaylight.yangtools.yang.binding.ChildOf<Queues>, org.opendaylight.yangtools.yang.binding.Augmentable<QueuesOtherConfig>, org.opendaylight.yangtools.yang.binding.Identifiable<QueuesOtherConfigKey>
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..
This class represents the following YANG schema fragment defined in module ovsdb
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 QueuesOtherConfigBuilder
.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
bindingEquals
(@NonNull QueuesOtherConfig thisObj, Object obj) Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode
(@NonNull QueuesOtherConfig obj) Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString
(@NonNull QueuesOtherConfig obj) Default implementation ofObject.toString()
contract for this interface.Return queueOtherConfigKey, ornull
if it is not present.Return queueOtherConfigValue, ornull
if it is not present.default Class<QueuesOtherConfig>
key()
default @NonNull String
Return queueOtherConfigKey, guaranteed to be non-null.default @NonNull String
Return queueOtherConfigValue, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
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
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
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
QueuesOtherConfigKey key()- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<QueuesOtherConfigKey>
-
getQueueOtherConfigKey
String getQueueOtherConfigKey()Return queueOtherConfigKey, ornull
if it is not present.- Returns:
String
queueOtherConfigKey, ornull
if it is not present.
-
requireQueueOtherConfigKey
Return queueOtherConfigKey, guaranteed to be non-null.- Returns:
String
queueOtherConfigKey, guaranteed to be non-null.- Throws:
NoSuchElementException
- if queueOtherConfigKey is not present
-
getQueueOtherConfigValue
String getQueueOtherConfigValue()Return queueOtherConfigValue, ornull
if it is not present.- Returns:
String
queueOtherConfigValue, ornull
if it is not present.
-
requireQueueOtherConfigValue
Return queueOtherConfigValue, guaranteed to be non-null.- Returns:
String
queueOtherConfigValue, guaranteed to be non-null.- Throws:
NoSuchElementException
- if queueOtherConfigValue is not present
-