blob: c25b49955daa95e24f30b246ac487e15d76a19ef [file] [log] [blame]
Vidyashree Ramadeac28b2016-06-20 15:12:43 +05301module Test {
2 yang-version 1;
Vidyashree Rama07c26bb2016-07-28 17:33:15 +05303 namespace "http://huawei.com";
Vidyashree Ramadeac28b2016-06-20 15:12:43 +05304 prefix Ant;
5 list interface-switching-capability {
Vidyashree Rama07c26bb2016-07-28 17:33:15 +05306 when "../switching-capability = 'TDM'" {
7 description "Valid only for TDM";
8 }
Vidyashree Ramadeac28b2016-06-20 15:12:43 +05309 key "switching-capability";
10 description
11 "List of Interface Switching Capabilities Descriptors (ISCD)
12 for this link.";
13 reference
14 "RFC3471: Generalized Multi-Protocol Label Switching (GMPLS)
15 Signaling Functional Description.
16 RFC4203: OSPF Extensions in Support of Generalized
17 Multi-Protocol Label Switching (GMPLS).";
18 leaf switching-capability {
19 type string;
20 description
21 "Switching Capability for this interface.";
22 }
23 }
24 container time-division-multiplex-capable {
25 when "../switching-capability = 'TDM'" {
26 description "Valid only for TDM";
27 }
28 description
29 "Interface has time-division multiplex capabilities.";
30
31 leaf minimum-lsp-bandwidth {
Mahesh Poojary Huawei46fb4db2016-07-14 12:38:17 +053032 type decimal64 {
33 fraction-digits 4;
34 }
Vidyashree Ramadeac28b2016-06-20 15:12:43 +053035 }
36 }
37}