public interface IetfRoutingData extends DataRoot
This class represents the following YANG schema fragment defined in module ietf-routing
module ietf-routing { yang-version 1.1; namespace urn:ietf:params:xml:ns:yang:ietf-routing; prefix rt; import ietf-yang-types { prefix yang; } import ietf-interfaces { prefix if; } revision 2018-03-13 { } revision 2016-11-04 { } feature multiple-ribs { } feature router-id { } identity address-family { } identity ipv4 { base address-family; } identity ipv6 { base address-family; } identity control-plane-protocol { } identity routing-protocol { base control-plane-protocol; } identity direct { base routing-protocol; } identity static { base routing-protocol; } typedef route-preference { type uint32; } grouping address-family { leaf address-family { type identityref { base address-family; } } } grouping router-id { leaf router-id { type yang:dotted-quad; } } grouping special-next-hop { leaf special-next-hop { type enumeration { enum blackhole { } enum unreachable { } enum prohibit { } enum receive { } } } } grouping next-hop-content { choice next-hop-options { case simple-next-hop { leaf outgoing-interface { type if:interface-ref; } } case special-next-hop { uses special-next-hop; } case next-hop-list { container next-hop-list { list next-hop { key index; leaf index { type string; } leaf outgoing-interface { type if:interface-ref; } } } } } } grouping next-hop-state-content { choice next-hop-options { case simple-next-hop { leaf outgoing-interface { type if:interface-ref; } } case special-next-hop { uses special-next-hop; } case next-hop-list { container next-hop-list { list next-hop { leaf outgoing-interface { type if:interface-ref; } } } } } } grouping route-metadata { leaf source-protocol { type identityref { base routing-protocol; } } leaf active { type empty; } leaf last-updated { type yang:date-and-time; } } container routing { uses router-id { if-feature router-id; } container interfaces { config false; leaf-list interface { type if:interface-ref; } } container control-plane-protocols { list control-plane-protocol { key "type name"; leaf type { type identityref { base control-plane-protocol; } } leaf name { type string; } leaf description { type string; } container static-routes { when "derived-from-or-self(../type, 'rt:static')" { } } } } container ribs { list rib { key name; leaf name { type string; } uses address-family { } leaf default-rib { if-feature multiple-ribs; type boolean; default true; config false; } container routes { config false; list route { leaf route-preference { type route-preference; } container next-hop { uses next-hop-state-content; } uses route-metadata; } } action active-route { output { container route { container next-hop { uses next-hop-state-content; } uses route-metadata; } } input; } leaf description { type string; } } } } container routing-state { config false; status obsolete; uses router-id { status obsolete; } container interfaces { status obsolete; leaf-list interface { type if:interface-state-ref; status obsolete; } } container control-plane-protocols { status obsolete; list control-plane-protocol { key "type name"; status obsolete; leaf type { type identityref { base control-plane-protocol; } status obsolete; } leaf name { type string; status obsolete; } } } container ribs { status obsolete; list rib { key name; min-elements 1; status obsolete; leaf name { type string; status obsolete; } uses address-family { status obsolete; } leaf default-rib { if-feature multiple-ribs; type boolean; default true; status obsolete; } container routes { status obsolete; list route { status obsolete; leaf route-preference { type route-preference; status obsolete; } container next-hop { status obsolete; uses next-hop-state-content { status obsolete; } } uses route-metadata { status obsolete; } } } action active-route { status obsolete; output { container route { status obsolete; container next-hop { status obsolete; uses next-hop-state-content { status obsolete; } } uses route-metadata { status obsolete; } } } input; } } } } }
Modifier and Type | Method and Description |
---|---|
@Nullable Routing |
getRouting()
Configuration parameters for the routing subsystem.
|
@Nullable RoutingState |
getRoutingState()
State data of the routing subsystem.
|
@Nullable Routing getRouting()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.routing.rev180313.Routing
routing
, or null
if not present@Nullable RoutingState getRoutingState()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.routing.rev180313.RoutingState
routingState
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.