Interface OpenflowAgentConfig
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,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 config
This 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;
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint32Return backoffInterval, ornullif it is not present.Return datapathId, ornullif it is not present.Return failureMode, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return inactivityProbe, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return maxBackoff, ornullif it is not present.Class<? extends OpenflowAgentConfig>default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return backoffInterval, guaranteed to be non-null.default @NonNull DatapathIdReturn datapathId, guaranteed to be non-null.default @NonNull FailureModeReturn failureMode, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return inactivityProbe, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return maxBackoff, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends OpenflowAgentConfig> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.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
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
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
-