Interface MemberAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Member
public interface MemberAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module neutron-lbaasv2
grouping member-attributes { leaf subnet-id { type yang:uuid; } leaf address { type inet:ip-address; } leaf protocol-port { type uint16 { range 0..65535; } } leaf weight { type uint16 { range 0..256; } default 1; } leaf admin-state-up { type boolean; default true; } }
The schema path to identify an instance is neutron-lbaasv2/member-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 org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
getAddress()
The IP address of the member.@Nullable org.opendaylight.yangtools.yang.common.Uint16
getProtocolPort()
The port on which the application is hosted.@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getSubnetId()
Subnet in which to access this member.@Nullable org.opendaylight.yangtools.yang.common.Uint16
getWeight()
Weight of member.Class<? extends MemberAttributes>
implementedInterface()
@Nullable Boolean
isAdminStateUp()
The administrative state of the member, which is up (true) or down (false).
-
-
-
Method Detail
-
implementedInterface
Class<? extends MemberAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getSubnetId
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getSubnetId()
Subnet in which to access this member.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
subnetId
, ornull
if not present
-
getAddress
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getAddress()
The IP address of the member.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
address
, ornull
if not present
-
getProtocolPort
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getProtocolPort()
The port on which the application is hosted.- Returns:
org.opendaylight.yangtools.yang.common.Uint16
protocolPort
, ornull
if not present
-
getWeight
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getWeight()
Weight of member.- Returns:
org.opendaylight.yangtools.yang.common.Uint16
weight
, ornull
if not present
-
isAdminStateUp
@Nullable Boolean isAdminStateUp()
The administrative state of the member, which is up (true) or down (false).- Returns:
java.lang.Boolean
adminStateUp
, ornull
if not present
-
-