public interface Ipv6 extends ChildOf<Interface1>, Augmentable<Ipv6>
This class represents the following YANG schema fragment defined in module ietf-ip
container ipv6 { presence "Enables IPv6 unless the 'enabled' leaf (which defaults to 'true') is set to 'false'"; leaf enabled { type boolean; default true; } leaf forwarding { type boolean; default false; } leaf mtu { type uint32 { range 1280..max; } units octets; } 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; } } list neighbor { key ip; leaf ip { type inet:ipv6-address-no-zone; } leaf link-layer-address { type yang:phys-address; } leaf origin { type neighbor-origin; config false; } leaf is-router { type empty; config false; } leaf state { type enumeration { enum incomplete { } enum reachable { } enum stale { } enum delay { } enum probe { } } config false; } } leaf dup-addr-detect-transmits { type uint32; default 1; } container autoconf { leaf create-global-addresses { type boolean; default true; } leaf create-temporary-addresses { if-feature ipv6-privacy-autoconf; type boolean; default false; } leaf temporary-valid-lifetime { if-feature ipv6-privacy-autoconf; type uint32; units seconds; default 604800; } leaf temporary-preferred-lifetime { if-feature ipv6-privacy-autoconf; type uint32; units seconds; default 86400; } } }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
To create instances of this class use Ipv6Builder
.
Ipv6Builder
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable List<Address> |
getAddress()
The list of IPv6 addresses on the interface.
|
@Nullable Autoconf |
getAutoconf()
Parameters to control the autoconfiguration of IPv6addresses, as described in
RFC 4862.
|
@Nullable Long |
getDupAddrDetectTransmits()
The number of consecutive Neighbor Solicitation messagessent while performing
Duplicate Address Detection on atentative address.
|
@Nullable Long |
getMtu()
The size, in octets, of the largest IPv6 packet that theinterface will send and
receive.The server may restrict the allowed values for this leaf,depending on
the interface's type.If this leaf is not configured, the operationally used
MTUdepends on the interface's type.
|
@Nullable List<Neighbor> |
getNeighbor()
A list of mappings from IPv6 addresses tolink-layer addresses.Entries in this
list in the intended configuration areused as static entries in the Neighbor
Cache.In the operational state, this list represents theNeighbor Cache.
|
@Nullable Boolean |
isEnabled()
Controls whether IPv6 is enabled or disabled on thisinterface.
|
@Nullable Boolean |
isForwarding()
Controls IPv6 packet forwarding of datagrams received by,but not addressed to,
this interface.
|
default @NonNull List<Address> |
nonnullAddress() |
default @NonNull List<Neighbor> |
nonnullNeighbor() |
getImplementedInterface
augmentation
@Nullable Boolean isEnabled()
java.lang.Boolean
enabled
, or null
if not present@Nullable Boolean isForwarding()
java.lang.Boolean
forwarding
, or null
if not present@Nullable Long getMtu()
java.lang.Long
mtu
, or null
if not present@Nullable List<Address> getAddress()
java.util.List
address
, or null
if not presentdefault @NonNull List<Address> nonnullAddress()
java.util.List
address
, or an empty list if it is not present@Nullable List<Neighbor> getNeighbor()
java.util.List
neighbor
, or null
if not presentdefault @NonNull List<Neighbor> nonnullNeighbor()
java.util.List
neighbor
, or an empty list if it is not present@Nullable Long getDupAddrDetectTransmits()
java.lang.Long
dupAddrDetectTransmits
, or null
if not present@Nullable Autoconf getAutoconf()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.ip.rev180222.interfaces._interface.ipv6.Autoconf
autoconf
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.