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