public interface Prefix extends ChildOf<PrefixList>, Augmentable<Prefix>, Identifiable<PrefixKey>
This class represents the following YANG schema fragment defined in module ietf-ipv6-unicast-routing
list prefix { key prefix-spec; leaf prefix-spec { type inet:ipv6-prefix; } choice control-adv-prefixes { default advertise; case no-advertise { leaf no-advertise { type empty; } } case advertise { leaf valid-lifetime { type uint32; units seconds; default 2592000; } leaf on-link-flag { type boolean; default true; } leaf preferred-lifetime { type uint32; units seconds; must ". <= ../valid-lifetime" { } default 604800; } leaf autonomous-flag { type boolean; default true; } } } }The schema path to identify an instance is ietf-ipv6-unicast-routing/interfaces/interface/(urn:ietf:params:xml:ns:yang:ietf-ip?revision=2018-02-22)ipv6/(urn:ietf:params:xml:ns:yang:ietf-ipv6-unicast-routing?revision=2018-03-13)ipv6-router-advertisements/prefix-list/prefix
To create instances of this class use PrefixBuilder
.
PrefixBuilder
,
PrefixKey
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable ControlAdvPrefixes |
getControlAdvPrefixes()
Either (1) the prefix is explicitly removed from theset of advertised prefixes
or (2) the parameters withwhich the prefix is advertised are specified
(defaultcase).
|
@Nullable Ipv6Prefix |
getPrefixSpec()
IPv6 address prefix.
|
PrefixKey |
key()
Returns an unique key for the object.
|
getImplementedInterface
augmentation
@Nullable Ipv6Prefix getPrefixSpec()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix
prefixSpec
, or null
if not present@Nullable ControlAdvPrefixes getControlAdvPrefixes()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.ipv6.unicast.routing.rev180313.interfaces._interface.ipv6.ipv6.router.advertisements.prefix.list.prefix.ControlAdvPrefixes
controlAdvPrefixes
, or null
if not presentPrefixKey key()
Identifiable
key
in interface Identifiable<PrefixKey>
Copyright © 2019 OpenDaylight. All rights reserved.