| module ietf-te-topology { |
| yang-version 1; |
| namespace "urn:ietf:params:xml:ns:yang:ietf-te-topology"; |
| // replace with IANA namespace when assigned |
| |
| prefix "tet"; |
| |
| import ietf-network { |
| prefix "nw"; |
| } |
| |
| grouping te-topologies-augment { |
| description |
| "Augmentation for TE topologies."; |
| leaf reference-change-policy { |
| type enumeration { |
| enum no-action { |
| description |
| "When an attribute changes in this template, the |
| configuration node referring to this template does |
| not take any action."; |
| } |
| enum not-allowed { |
| description |
| "When any configuration object has a reference to this |
| template, changing this template is not allowed."; |
| } |
| enum cascade { |
| description |
| "When an attribute changes in this template, the |
| configuration object referring to this template applies |
| the new attribute value to the corresponding |
| configuration."; |
| } |
| } |
| description |
| "This attribute specifies the action taken to a configuration |
| node that has a reference to this template."; |
| } |
| } // te-topologies-augment |
| |
| |
| |
| augment "/nw:networks" { |
| description |
| "Augmentation parameters for TE topologies."; |
| uses te-topologies-augment; |
| } |
| |
| |
| } |