Interface ListenerAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Listener
@Generated("mdsal-binding-generator") public interface ListenerAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
LBaaSV2.0 listener attributes.This class represents the following YANG schema fragment defined in module neutron-lbaasv2
grouping listener-attributes { leaf default-pool-id { type yang:uuid; } leaf admin-state-up { type boolean; default true; } leaf protocol { type identityref { base protocol-base; } } leaf protocol-port { type uint16 { range 0..65535; } } leaf-list loadbalancers { type yang:uuid; } leaf connection-limit { type int32 { range -1..65535; } default -1; } }
The schema path to identify an instance is neutron-lbaasv2/listener-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 Modifier and Type Method Description Boolean
getAdminStateUp()
Return adminStateUp, ornull
if it is not present.Integer
getConnectionLimit()
Return connectionLimit, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getDefaultPoolId()
Return defaultPoolId, ornull
if it is not present.@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
getLoadbalancers()
Return loadbalancers, ornull
if it is not present.Class<? extends ProtocolBase>
getProtocol()
Return protocol, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getProtocolPort()
Return protocolPort, ornull
if it is not present.Class<? extends ListenerAttributes>
implementedInterface()
default @NonNull Boolean
requireAdminStateUp()
Return adminStateUp, guaranteed to be non-null.default @NonNull Integer
requireConnectionLimit()
Return connectionLimit, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
requireDefaultPoolId()
Return defaultPoolId, guaranteed to be non-null.default @NonNull List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
requireLoadbalancers()
Return loadbalancers, guaranteed to be non-null.default @NonNull Class<? extends ProtocolBase>
requireProtocol()
Return protocol, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16
requireProtocolPort()
Return protocolPort, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends ListenerAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getDefaultPoolId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getDefaultPoolId()
Return defaultPoolId, ornull
if it is not present.ID of default pool. Must have compatible protocol with listener.
- Returns:
Uuid
defaultPoolId, ornull
if it is not present.
-
requireDefaultPoolId
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireDefaultPoolId()
Return defaultPoolId, guaranteed to be non-null.ID of default pool. Must have compatible protocol with listener.
- Returns:
Uuid
defaultPoolId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if defaultPoolId is not present
-
getAdminStateUp
Boolean getAdminStateUp()
Return adminStateUp, ornull
if it is not present.The administrative state of the listener, which is up (true) or down (false).
- Returns:
Boolean
adminStateUp, ornull
if it is not present.
-
requireAdminStateUp
default @NonNull Boolean requireAdminStateUp()
Return adminStateUp, guaranteed to be non-null.The administrative state of the listener, which is up (true) or down (false).
- Returns:
Boolean
adminStateUp, guaranteed to be non-null.- Throws:
NoSuchElementException
- if adminStateUp is not present
-
getProtocol
Class<? extends ProtocolBase> getProtocol()
Return protocol, ornull
if it is not present.The protocol the front end listens for.
- Returns:
Class<? extends ProtocolBase>
protocol, ornull
if it is not present.
-
requireProtocol
default @NonNull Class<? extends ProtocolBase> requireProtocol()
Return protocol, guaranteed to be non-null.The protocol the front end listens for.
- Returns:
Class<? extends ProtocolBase>
protocol, guaranteed to be non-null.- Throws:
NoSuchElementException
- if protocol is not present
-
getProtocolPort
org.opendaylight.yangtools.yang.common.Uint16 getProtocolPort()
Return protocolPort, ornull
if it is not present.The port on which the front end listens.
- Returns:
Uint16
protocolPort, ornull
if it is not present.
-
requireProtocolPort
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireProtocolPort()
Return protocolPort, guaranteed to be non-null.The port on which the front end listens.
- Returns:
Uint16
protocolPort, guaranteed to be non-null.- Throws:
NoSuchElementException
- if protocolPort is not present
-
getLoadbalancers
@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getLoadbalancers()
Return loadbalancers, ornull
if it is not present.List of loadbalancers on which this listener is provisioned.
- Returns:
List<Uuid>
loadbalancers, ornull
if it is not present.
-
requireLoadbalancers
default @NonNull List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> requireLoadbalancers()
Return loadbalancers, guaranteed to be non-null.List of loadbalancers on which this listener is provisioned.
- Returns:
List<Uuid>
loadbalancers, guaranteed to be non-null.- Throws:
NoSuchElementException
- if loadbalancers is not present
-
getConnectionLimit
Integer getConnectionLimit()
Return connectionLimit, ornull
if it is not present.Maximum connections this load balancer can have. Default is infinite.
- Returns:
Integer
connectionLimit, ornull
if it is not present.
-
requireConnectionLimit
default @NonNull Integer requireConnectionLimit()
Return connectionLimit, guaranteed to be non-null.Maximum connections this load balancer can have. Default is infinite.
- Returns:
Integer
connectionLimit, guaranteed to be non-null.- Throws:
NoSuchElementException
- if connectionLimit is not present
-
-