blob: 24344036e4c5fd349901ef0dda8a2b2ed0101179 [file] [log] [blame]
VinodKumarS-Huawei2ee9e7e2016-06-01 14:30:22 +05301 module ietf-te-topology {
2 yang-version 1;
3 namespace "urn:ietf:params:xml:ns:yang:ietf-te-topology";
4 // replace with IANA namespace when assigned
5
6 prefix "tet";
7
8 import ietf-network {
9 prefix "nw";
10 }
11
12 grouping te-topologies-augment {
13 description
14 "Augmentation for TE topologies.";
15 leaf reference-change-policy {
16 type enumeration {
17 enum no-action {
18 description
19 "When an attribute changes in this template, the
20 configuration node referring to this template does
21 not take any action.";
22 }
23 enum not-allowed {
24 description
25 "When any configuration object has a reference to this
26 template, changing this template is not allowed.";
27 }
28 enum cascade {
29 description
30 "When an attribute changes in this template, the
31 configuration object referring to this template applies
32 the new attribute value to the corresponding
33 configuration.";
34 }
35 }
36 description
37 "This attribute specifies the action taken to a configuration
38 node that has a reference to this template.";
39 }
40 } // te-topologies-augment
41
42
43
44 augment "/nw:networks" {
45 description
46 "Augmentation parameters for TE topologies.";
47 uses te-topologies-augment;
48 }
49
50
51}