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.QNameQNAMEYANG 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 booleanbindingEquals(@NonNull ControllerEntry thisObj, Object obj)Default implementation ofObject.equals(Object)contract for this interface.static intbindingHashCode(@NonNull ControllerEntry obj)Default implementation ofObject.hashCode()contract for this interface.static StringbindingToString(@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.UuidgetControllerUuid()Return controllerUuid, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getInactivityProbe()Return inactivityProbe, ornullif it is not present.BooleangetIsConnected()Return isConnected, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getMaxBackoff()Return maxBackoff, ornullif it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.UrigetTarget()Return target, ornullif it is not present.default Class<ControllerEntry>implementedInterface()ControllerEntryKeykey()default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.UuidrequireControllerUuid()Return controllerUuid, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireInactivityProbe()Return inactivityProbe, guaranteed to be non-null.default @NonNull BooleanrequireIsConnected()Return isConnected, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireMaxBackoff()Return maxBackoff, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.UrirequireTarget()Return target, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
default Class<ControllerEntry> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein 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- ifobjis 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- ifthisObjis 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:
Stringvalue of data modeled by this interface.- Throws:
NullPointerException- ifobjis null
-
key
ControllerEntryKey key()
- Specified by:
keyin 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, ornullif it is not present.Uri telling bridge how to connect to controller- Returns:
Uritarget, ornullif 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:
Uritarget, 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, ornullif it is not present.The unique identifier of the controller- Returns:
UuidcontrollerUuid, ornullif 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:
UuidcontrollerUuid, guaranteed to be non-null.- Throws:
NoSuchElementException- if controllerUuid is not present
-
getIsConnected
Boolean getIsConnected()
Return isConnected, ornullif it is not present.- Returns:
BooleanisConnected, ornullif it is not present.
-
requireIsConnected
default @NonNull Boolean requireIsConnected()
Return isConnected, guaranteed to be non-null.- Returns:
BooleanisConnected, guaranteed to be non-null.- Throws:
NoSuchElementException- if isConnected is not present
-
getMaxBackoff
org.opendaylight.yangtools.yang.common.Uint32 getMaxBackoff()
Return maxBackoff, ornullif it is not present.Maximum number of milliseconds to wait between connection attempts- Returns:
Uint32maxBackoff, ornullif 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:
Uint32maxBackoff, guaranteed to be non-null.- Throws:
NoSuchElementException- if maxBackoff is not present
-
getInactivityProbe
org.opendaylight.yangtools.yang.common.Uint32 getInactivityProbe()
Return inactivityProbe, ornullif 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:
Uint32inactivityProbe, ornullif 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:
Uint32inactivityProbe, guaranteed to be non-null.- Throws:
NoSuchElementException- if inactivityProbe is not present
-
-