blob: f92fccc9d29ed9a0467686beb8dad19c62b1ff90 [file] [log] [blame]
Vidyashree Rama07c26bb2016-07-28 17:33:15 +05301module ietf-te-topology {
2 yang-version 1;
3 namespace "ietf-te-topology";
4 prefix "tet";
5
6 import ietf-te-types {
7 prefix "te-types";
8 }
9
10 import ietf-network {
11 prefix "nw";
12 }
13
14 import ietf-network-topology {
15 prefix "nt";
16 }
17
18 revision "2016-03-17" {
19 description "Initial revision";
20 reference "TBD";
21 }
22
23 grouping te-link-augment {
24 container te {
25 container config {
26 uses te-link-config;
27 } // config
28 } // te
29 } // te-link-augment
30
31 grouping te-link-config {
32 uses te-link-config-attributes;
33 } // te-link-config
34
35 grouping te-link-config-attributes {
36 container te-link-attributes {
37 container underlay {
38 uses te-link-underlay-attributes;
39 } // underlay
40 } // te-link-attributes
41 } // te-link-config-attributes
42
43 grouping te-link-underlay-attributes {
44 container underlay-primary-path {
45 list path-element {
46 key "path-element-id";
47 description
48 "A list of path elements describing the service path.";
49 leaf path-element-id {
50 type uint32;
51 description "To identify the element in a path.";
52 }
53 uses te-path-element;
54 }
55 } // underlay-primary-path
56 } // te-link-underlay-attributes
57
58 grouping te-path-element {
59 uses te-types:explicit-route-subobject;
60 } // te-path-element
61
62 augment "/nw:networks/nw:network/nt:link" {
63 uses te-link-augment;
64 }
65}