Interface QueuesOtherConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<QueuesOtherConfig>
,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:
QueuesOtherConfigBuilder
,QueuesOtherConfigKey
-
-
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 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.String
getQueueOtherConfigKey()
Return queueOtherConfigKey, ornull
if it is not present.String
getQueueOtherConfigValue()
Return queueOtherConfigValue, ornull
if it is not present.default Class<QueuesOtherConfig>
implementedInterface()
QueuesOtherConfigKey
key()
default @NonNull String
requireQueueOtherConfigKey()
Return queueOtherConfigKey, guaranteed to be non-null.default @NonNull String
requireQueueOtherConfigValue()
Return queueOtherConfigValue, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
default Class<QueuesOtherConfig> 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 QueuesOtherConfig 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 QueuesOtherConfig 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 QueuesOtherConfig 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
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
default @NonNull String 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
default @NonNull String requireQueueOtherConfigValue()
Return queueOtherConfigValue, guaranteed to be non-null.- Returns:
String
queueOtherConfigValue, guaranteed to be non-null.- Throws:
NoSuchElementException
- if queueOtherConfigValue is not present
-
-