public interface Route extends ChildOf<Ipv4>, Augmentable<Route>, Identifiable<RouteKey>
This class represents the following YANG schema fragment defined in module ietf-ipv4-unicast-routing
list route { key destination-prefix; leaf destination-prefix { type inet:ipv4-prefix; } leaf description { type string; } container next-hop { uses rt:next-hop-content { augment next-hop-options/simple-next-hop { leaf next-hop-address { type inet:ipv4-address; } } augment next-hop-options/next-hop-list/next-hop-list/next-hop { leaf next-hop-address { type inet:ipv4-address; } } } } }The schema path to identify an instance is ietf-ipv4-unicast-routing/routing/control-plane-protocols/control-plane-protocol/static-routes/(urn:ietf:params:xml:ns:yang:ietf-ipv4-unicast-routing?revision=2018-03-13)ipv4/route
To create instances of this class use RouteBuilder
.
RouteBuilder
,
RouteKey
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable String |
getDescription()
Textual description of the route.
|
@Nullable Ipv4Prefix |
getDestinationPrefix()
IPv4 destination prefix.
|
@Nullable NextHop |
getNextHop()
Support for next-hop.
|
RouteKey |
key()
Returns an unique key for the object.
|
getImplementedInterface
augmentation
@Nullable Ipv4Prefix getDestinationPrefix()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix
destinationPrefix
, or null
if not present@Nullable String getDescription()
java.lang.String
description
, or null
if not present@Nullable NextHop getNextHop()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.ipv4.unicast.routing.rev180313.routing.control.plane.protocols.control.plane.protocol._static.routes.ipv4.route.NextHop
nextHop
, or null
if not presentRouteKey key()
Identifiable
key
in interface Identifiable<RouteKey>
Copyright © 2019 OpenDaylight. All rights reserved.