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; status obsolete; leaf prefix-spec { type inet:ipv6-prefix; status obsolete; } leaf valid-lifetime { type uint32; units seconds; status obsolete; } leaf on-link-flag { type boolean; status obsolete; } leaf preferred-lifetime { type uint32; units seconds; status obsolete; } leaf autonomous-flag { type boolean; status obsolete; } }The schema path to identify an instance is ietf-ipv6-unicast-routing/interfaces-state/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 Long |
getPreferredLifetime()
The value that is placed in the Preferred Lifetime inthe Prefix Information
option, in seconds.
|
@Nullable Ipv6Prefix |
getPrefixSpec()
IPv6 address prefix.
|
@Nullable Long |
getValidLifetime()
The value that is placed in the Valid Lifetime in thePrefix Information option.
|
@Nullable Boolean |
isAutonomousFlag()
The value that is placed in the Autonomous Flag fieldin the Prefix Information
option.
|
@Nullable Boolean |
isOnLinkFlag()
The value that is placed in the on-link flag ('L-bit')field in the Prefix
Information option.
|
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 Long getValidLifetime()
java.lang.Long
validLifetime
, or null
if not present@Nullable Boolean isOnLinkFlag()
java.lang.Boolean
onLinkFlag
, or null
if not present@Nullable Long getPreferredLifetime()
java.lang.Long
preferredLifetime
, or null
if not present@Nullable Boolean isAutonomousFlag()
java.lang.Boolean
autonomousFlag
, or null
if not presentPrefixKey key()
Identifiable
key
in interface Identifiable<PrefixKey>
Copyright © 2019 OpenDaylight. All rights reserved.