Interface HealthmonitorAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Healthmonitor
@Generated("mdsal-binding-generator") public interface HealthmonitorAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module neutron-lbaasv2
grouping healthmonitor-attributes { leaf type { type identityref { base probe-base; } } leaf admin-state-up { type boolean; default true; } leaf delay { type uint32; } leaf timeout { type uint32; } leaf max-retries { type uint16 { range 1..10; } } leaf http-method { type string; default ""; } leaf url-path { type string; } leaf expected-codes { type string; default ""; } leaf-list pools { type yang:uuid; } }
The schema path to identify an instance is neutron-lbaasv2/healthmonitor-attributes
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description Boolean
getAdminStateUp()
Return adminStateUp, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getDelay()
Return delay, ornull
if it is not present.String
getExpectedCodes()
Return expectedCodes, ornull
if it is not present.String
getHttpMethod()
Return httpMethod, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getMaxRetries()
Return maxRetries, ornull
if it is not present.@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
getPools()
Return pools, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getTimeout()
Return timeout, ornull
if it is not present.Class<? extends ProbeBase>
getType()
Return type, ornull
if it is not present.String
getUrlPath()
Return urlPath, ornull
if it is not present.Class<? extends HealthmonitorAttributes>
implementedInterface()
default Boolean
isAdminStateUp()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
implementedInterface
Class<? extends HealthmonitorAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getType
Class<? extends ProbeBase> getType()
Return type, ornull
if it is not present.The type of probe, which is PING, TCP, HTTP, or HTTPS, that is sent by the load balancer to verify the member state.
- Returns:
java.lang.Class
type, ornull
if it is not present.
-
getAdminStateUp
Boolean getAdminStateUp()
Return adminStateUp, ornull
if it is not present.The administrative state of the VPI, which is up (true) or down (false).
- Returns:
java.lang.Boolean
adminStateUp, ornull
if it is not present.
-
isAdminStateUp
@Deprecated(forRemoval=true) default Boolean isAdminStateUp()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getDelay
org.opendaylight.yangtools.yang.common.Uint32 getDelay()
Return delay, ornull
if it is not present.The time, in seconds, between sending probes to members.
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
delay, ornull
if it is not present.
-
getTimeout
org.opendaylight.yangtools.yang.common.Uint32 getTimeout()
Return timeout, ornull
if it is not present.The maximum number of seconds for a monitor to wait for a connection to be established before it times out. This value must be less than the delay value.
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
timeout, ornull
if it is not present.
-
getMaxRetries
org.opendaylight.yangtools.yang.common.Uint16 getMaxRetries()
Return maxRetries, ornull
if it is not present.Number of allowed connection failures before changing the status of the member to INACTIVE.
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
maxRetries, ornull
if it is not present.
-
getHttpMethod
String getHttpMethod()
Return httpMethod, ornull
if it is not present.The HTTP method that the monitor uses for requests.
- Returns:
java.lang.String
httpMethod, ornull
if it is not present.
-
getUrlPath
String getUrlPath()
Return urlPath, ornull
if it is not present.The HTTP path of the request sent by the monitor to test the health of a member. Must be a string beginning with a forward slash (/).
- Returns:
java.lang.String
urlPath, ornull
if it is not present.
-
getExpectedCodes
String getExpectedCodes()
Return expectedCodes, ornull
if it is not present.Expected HTTP codes for a passing HTTP(S) monitor.
- Returns:
java.lang.String
expectedCodes, ornull
if it is not present.
-
getPools
@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getPools()
Return pools, ornull
if it is not present.List of pools associated with this healthmonitor.
- Returns:
java.util.List
pools, ornull
if it is not present.
-
-