Interface OpenflowAgentConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface OpenflowAgentConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Openflow agent configThis class represents the following YANG schema fragment defined in module openconfig-openflow
grouping openflow-agent-config { leaf datapath-id { type of-types:datapath-id; } leaf failure-mode { type of-types:failure-mode; } leaf backoff-interval { type uint32; units seconds; } leaf max-backoff { type uint32; units seconds; } leaf inactivity-probe { type uint32; units seconds; } }The schema path to identify an instance is openconfig-openflowopenflow-agent-config
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint32getBackoffInterval()Return backoffInterval, ornullif it is not present.DatapathIdgetDatapathId()Return datapathId, ornullif it is not present.FailureModegetFailureMode()Return failureMode, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getInactivityProbe()Return inactivityProbe, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getMaxBackoff()Return maxBackoff, ornullif it is not present.Class<? extends OpenflowAgentConfig>implementedInterface()default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireBackoffInterval()Return backoffInterval, guaranteed to be non-null.default @NonNull DatapathIdrequireDatapathId()Return datapathId, guaranteed to be non-null.default @NonNull FailureModerequireFailureMode()Return failureMode, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireInactivityProbe()Return inactivityProbe, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireMaxBackoff()Return maxBackoff, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends OpenflowAgentConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getDatapathId
DatapathId getDatapathId()
Return datapathId, ornullif it is not present.Datapath unique ID. The lower 48-bits are for a MAC address, while the upper 16-bits are implementer-defined.- Returns:
DatapathIddatapathId, ornullif it is not present.
-
requireDatapathId
default @NonNull DatapathId requireDatapathId()
Return datapathId, guaranteed to be non-null.Datapath unique ID. The lower 48-bits are for a MAC address, while the upper 16-bits are implementer-defined.- Returns:
DatapathIddatapathId, guaranteed to be non-null.- Throws:
NoSuchElementException- if datapathId is not present
-
getFailureMode
FailureMode getFailureMode()
Return failureMode, ornullif it is not present.Failure mode for Openflow.- Returns:
FailureModefailureMode, ornullif it is not present.
-
requireFailureMode
default @NonNull FailureMode requireFailureMode()
Return failureMode, guaranteed to be non-null.Failure mode for Openflow.- Returns:
FailureModefailureMode, guaranteed to be non-null.- Throws:
NoSuchElementException- if failureMode is not present
-
getBackoffInterval
org.opendaylight.yangtools.yang.common.Uint32 getBackoffInterval()
Return backoffInterval, ornullif it is not present.Openflow agent connection backoff interval.- Returns:
Uint32backoffInterval, ornullif it is not present.
-
requireBackoffInterval
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireBackoffInterval()
Return backoffInterval, guaranteed to be non-null.Openflow agent connection backoff interval.- Returns:
Uint32backoffInterval, guaranteed to be non-null.- Throws:
NoSuchElementException- if backoffInterval is not present
-
getMaxBackoff
org.opendaylight.yangtools.yang.common.Uint32 getMaxBackoff()
Return maxBackoff, ornullif it is not present.Openflow agent max backoff time.- Returns:
Uint32maxBackoff, ornullif it is not present.
-
requireMaxBackoff
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireMaxBackoff()
Return maxBackoff, guaranteed to be non-null.Openflow agent max backoff time.- 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.Openflow agent inactivity probe period.- Returns:
Uint32inactivityProbe, ornullif it is not present.
-
requireInactivityProbe
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireInactivityProbe()
Return inactivityProbe, guaranteed to be non-null.Openflow agent inactivity probe period.- Returns:
Uint32inactivityProbe, guaranteed to be non-null.- Throws:
NoSuchElementException- if inactivityProbe is not present
-
-