Interface ControllerEntry
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<ControllerEntry>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<OvsdbBridgeAttributes>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<ControllerEntryKey>
@Generated("mdsal-binding-generator") public interface ControllerEntry extends org.opendaylight.yangtools.yang.binding.ChildOf<OvsdbBridgeAttributes>, org.opendaylight.yangtools.yang.binding.Augmentable<ControllerEntry>, org.opendaylight.yangtools.yang.binding.Identifiable<ControllerEntryKey>
Bridge controller infoThis class represents the following YANG schema fragment defined in module ovsdb
list controller-entry { key target; leaf target { type inet:uri; } leaf controller-uuid { type yang:uuid; } leaf is-connected { type boolean; } leaf max_backoff { type uint32 { range 1000..max; } } leaf inactivity_probe { type uint32; } }
To create instances of this class use
ControllerEntryBuilder
.- See Also:
ControllerEntryBuilder
,ControllerEntryKey
-
-
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 ControllerEntry thisObj, Object obj)
Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode(@NonNull ControllerEntry obj)
Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString(@NonNull ControllerEntry obj)
Default implementation ofObject.toString()
contract for this interface.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getControllerUuid()
Return controllerUuid, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getInactivityProbe()
Return inactivityProbe, ornull
if it is not present.Boolean
getIsConnected()
Return isConnected, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getMaxBackoff()
Return maxBackoff, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri
getTarget()
Return target, ornull
if it is not present.default Class<ControllerEntry>
implementedInterface()
ControllerEntryKey
key()
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
requireControllerUuid()
Return controllerUuid, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
requireInactivityProbe()
Return inactivityProbe, guaranteed to be non-null.default @NonNull Boolean
requireIsConnected()
Return isConnected, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
requireMaxBackoff()
Return maxBackoff, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri
requireTarget()
Return target, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
default Class<ControllerEntry> 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 ControllerEntry 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 ControllerEntry 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 ControllerEntry 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
ControllerEntryKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<ControllerEntryKey>
-
getTarget
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri getTarget()
Return target, ornull
if it is not present.Uri telling bridge how to connect to controller
- Returns:
Uri
target, ornull
if it is not present.
-
requireTarget
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri requireTarget()
Return target, guaranteed to be non-null.Uri telling bridge how to connect to controller
- Returns:
Uri
target, guaranteed to be non-null.- Throws:
NoSuchElementException
- if target is not present
-
getControllerUuid
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getControllerUuid()
Return controllerUuid, ornull
if it is not present.The unique identifier of the controller
- Returns:
Uuid
controllerUuid, ornull
if it is not present.
-
requireControllerUuid
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireControllerUuid()
Return controllerUuid, guaranteed to be non-null.The unique identifier of the controller
- Returns:
Uuid
controllerUuid, guaranteed to be non-null.- Throws:
NoSuchElementException
- if controllerUuid is not present
-
getIsConnected
Boolean getIsConnected()
Return isConnected, ornull
if it is not present.- Returns:
Boolean
isConnected, ornull
if it is not present.
-
requireIsConnected
default @NonNull Boolean requireIsConnected()
Return isConnected, guaranteed to be non-null.- Returns:
Boolean
isConnected, guaranteed to be non-null.- Throws:
NoSuchElementException
- if isConnected is not present
-
getMaxBackoff
org.opendaylight.yangtools.yang.common.Uint32 getMaxBackoff()
Return maxBackoff, ornull
if it is not present.Maximum number of milliseconds to wait between connection attempts
- Returns:
Uint32
maxBackoff, ornull
if it is not present.
-
requireMaxBackoff
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireMaxBackoff()
Return maxBackoff, guaranteed to be non-null.Maximum number of milliseconds to wait between connection attempts
- Returns:
Uint32
maxBackoff, guaranteed to be non-null.- Throws:
NoSuchElementException
- if maxBackoff is not present
-
getInactivityProbe
org.opendaylight.yangtools.yang.common.Uint32 getInactivityProbe()
Return inactivityProbe, ornull
if it is not present.Maximum number of milliseconds of idle time on connection to controller before sending an inactivity probe message. A value of 0 disables inactivity probes.
- Returns:
Uint32
inactivityProbe, ornull
if it is not present.
-
requireInactivityProbe
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireInactivityProbe()
Return inactivityProbe, guaranteed to be non-null.Maximum number of milliseconds of idle time on connection to controller before sending an inactivity probe message. A value of 0 disables inactivity probes.
- Returns:
Uint32
inactivityProbe, guaranteed to be non-null.- Throws:
NoSuchElementException
- if inactivityProbe is not present
-
-