public interface Address extends ChildOf<Ipv6>, Augmentable<Address>, Identifiable<AddressKey>
This class represents the following YANG schema fragment defined in module ietf-ip
list address { key ip; leaf ip { type inet:ipv6-address-no-zone; } leaf prefix-length { type uint8 { range 0..128; } } leaf origin { type ip-address-origin; config false; } leaf status { type enumeration { enum preferred { } enum deprecated { } enum invalid { } enum inaccessible { } enum unknown { } enum tentative { } enum duplicate { } enum optimistic { } } config false; } }The schema path to identify an instance is ietf-ip/interfaces/interface/(urn:ietf:params:xml:ns:yang:ietf-ip?revision=2018-02-22)ipv6/address
To create instances of this class use AddressBuilder
.
AddressBuilder
,
AddressKey
Modifier and Type | Interface and Description |
---|---|
static class |
Address.Status |
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable Ipv6AddressNoZone |
getIp()
The IPv6 address on the interface.
|
@Nullable IpAddressOrigin |
getOrigin()
The origin of this address.
|
@Nullable Short |
getPrefixLength()
The length of the subnet prefix.
|
@Nullable Address.Status |
getStatus()
The status of an address.
|
AddressKey |
key()
Returns an unique key for the object.
|
getImplementedInterface
augmentation
@Nullable Ipv6AddressNoZone getIp()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6AddressNoZone
ip
, or null
if not present@Nullable Short getPrefixLength()
java.lang.Short
prefixLength
, or null
if not present@Nullable IpAddressOrigin getOrigin()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.ip.rev180222.IpAddressOrigin
origin
, or null
if not present@Nullable Address.Status getStatus()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.ip.rev180222.interfaces._interface.ipv6.Address.Status
status
, or null
if not presentAddressKey key()
Identifiable
key
in interface Identifiable<AddressKey>
Copyright © 2019 OpenDaylight. All rights reserved.