1 module ietf-l3-unicast-topology-state {
4 "urn:ietf:params:xml:ns:yang:ietf-l3-unicast-topology-state";
6 import ietf-network-state {
9 import ietf-network-topology-state {
12 import ietf-l3-unicast-topology {
16 "IETF I2RS (Interface to the Routing System) Working Group";
18 "WG Web: <https://datatracker.ietf.org/wg/i2rs/>
19 WG List: <mailto:i2rs@ietf.org>
20 Editor: Alexander Clemm
21 <mailto:ludwig@clemm.org>
23 <mailto:jmedved@cisco.com>
25 <mailto:robert.varga@pantheon.tech>
27 <mailto:xufeng.liu.ietf@gmail.com>
29 <mailto:nitin_bahadur@yahoo.com>
30 Editor: Hariharan Ananthakrishnan
31 <mailto:hari@packetdesign.com>";
33 "This module defines a model for Layer 3 Unicast topology
34 state, representing topology that either is learned or
35 results from applying topology that has been configured per
36 the 'ietf-l3-unicast-topology' model, mirroring the
37 corresponding data nodes in this model.
39 This model mirrors 'ietf-l3-unicast-topology' but contains only
40 read-only state data. The model is not needed when the
41 underlying implementation infrastructure supports the Network
42 Management Datastore Architecture (NMDA).
44 Copyright (c) 2018 IETF Trust and the persons identified as
45 authors of the code. All rights reserved.
47 Redistribution and use in source and binary forms, with or
48 without modification, is permitted pursuant to, and subject
49 to the license terms contained in, the Simplified BSD License
50 set forth in Section 4.c of the IETF Trust's Legal Provisions
51 Relating to IETF Documents
52 (https://trustee.ietf.org/license-info).
54 This version of this YANG module is part of RFC 8346;
55 see the RFC itself for full legal notices.";
56 revision "2018-02-26" {
60 "RFC 8346: A YANG Data Model for Layer 3 Topologies";
62 augment "/nw-s:networks/nw-s:network/nw-s:network-types" {
64 "Introduce new network type for L3 Unicast topology";
65 uses l3t:l3-unicast-topology-type;
67 augment "/nw-s:networks/nw-s:network" {
68 when "nw-s:network-types/l3t-s:l3-unicast-topology" {
70 "Augmentation parameters apply only for networks with
74 "L3 Unicast for the network as a whole";
75 uses l3t:l3-topology-attributes;
77 augment "/nw-s:networks/nw-s:network/nw-s:node" {
78 when "../nw-s:network-types/l3t-s:l3-unicast-topology" {
80 "Augmentation parameters apply only for networks with
84 "L3 Unicast node-level attributes ";
85 uses l3t:l3-node-attributes;
87 augment "/nw-s:networks/nw-s:network/nt-s:link" {
88 when "../nw-s:network-types/l3t-s:l3-unicast-topology" {
90 "Augmentation parameters apply only for networks with
94 "Augments topology link attributes";
95 uses l3t:l3-link-attributes;
97 augment "/nw-s:networks/nw-s:network/nw-s:node/"
98 +"nt-s:termination-point" {
99 when "../../nw-s:network-types/l3t-s:l3-unicast-topology" {
101 "Augmentation parameters apply only for networks with
102 L3 Unicast topology";
104 description "Augments topology termination point configuration";
105 uses l3t:l3-termination-point-attributes;
107 notification l3-node-event {
109 "Notification event for L3 node";
111 type l3t:l3-event-type;
116 uses l3t:l3-unicast-topology-type;
117 uses l3t:l3-node-attributes;
119 notification l3-link-event {
121 "Notification event for L3 link";
123 type l3t:l3-event-type;
128 uses l3t:l3-unicast-topology-type;
129 uses l3t:l3-link-attributes;
131 notification l3-prefix-event {
133 "Notification event for L3 prefix";
135 type l3t:l3-event-type;
140 uses l3t:l3-unicast-topology-type;
143 "Contains L3 prefix attributes";
144 uses l3t:l3-prefix-attributes;
147 notification termination-point-event {
149 "Notification event for L3 termination point";
151 type l3t:l3-event-type;
156 uses l3t:l3-unicast-topology-type;
157 uses l3t:l3-termination-point-attributes;