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
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 Modifier and Type Method Description @Nullable Integer
getConnectionLimit()
Maximum connections this load balancer can have.@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getDefaultPoolId()
ID of default pool.@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
getLoadbalancers()
List of loadbalancers on which this listener is provisioned.@Nullable Class<? extends ProtocolBase>
getProtocol()
The protocol the front end listens for.@Nullable org.opendaylight.yangtools.yang.common.Uint16
getProtocolPort()
The port on which the front end listens.Class<? extends ListenerAttributes>
implementedInterface()
@Nullable Boolean
isAdminStateUp()
The administrative state of the listener, which is up (true) or down (false).
-
-
-
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
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getDefaultPoolId()
ID of default pool. Must have compatible protocol with listener.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
defaultPoolId
, ornull
if not present
-
isAdminStateUp
@Nullable Boolean isAdminStateUp()
The administrative state of the listener, which is up (true) or down (false).- Returns:
java.lang.Boolean
adminStateUp
, ornull
if not present
-
getProtocol
@Nullable Class<? extends ProtocolBase> getProtocol()
The protocol the front end listens for.- Returns:
java.lang.Class
protocol
, ornull
if not present
-
getProtocolPort
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getProtocolPort()
The port on which the front end listens.- Returns:
org.opendaylight.yangtools.yang.common.Uint16
protocolPort
, ornull
if not present
-
getLoadbalancers
@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getLoadbalancers()
List of loadbalancers on which this listener is provisioned.- Returns:
java.util.List
loadbalancers
, ornull
if not present
-
getConnectionLimit
@Nullable Integer getConnectionLimit()
Maximum connections this load balancer can have. Default is infinite.- Returns:
java.lang.Integer
connectionLimit
, ornull
if not present
-
-