blob: 84757ab56f197fdd6d0af8b4f71c7938d7192165 [file] [log] [blame]
Vidyashree Rama13b4c552016-06-20 15:12:43 +05301module Test {
2 yang-version 1;
Vidyashree Rama918f1622016-07-28 17:33:15 +05303 namespace "http://huawei.com";
Vidyashree Rama13b4c552016-06-20 15:12:43 +05304 prefix Ant;
5 list interface-switching-capability {
surya-huaweib2c64c52017-06-22 10:25:35 +05306 when "../switching-capability = TDM" {
Vidyashree Rama918f1622016-07-28 17:33:15 +05307 description "Valid only for TDM";
8 }
Vidyashree Rama13b4c552016-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 {
surya-huaweib2c64c52017-06-22 10:25:35 +053025 when "../switching-capability = TDM" {
Vidyashree Rama13b4c552016-06-20 15:12:43 +053026 description "Valid only for TDM";
27 }
28 description
29 "Interface has time-division multiplex capabilities.";
30
31 leaf minimum-lsp-bandwidth {
Mahesh Poojary Huawei2cd44332016-07-14 12:38:17 +053032 type decimal64 {
33 fraction-digits 4;
34 }
Vidyashree Rama13b4c552016-06-20 15:12:43 +053035 }
36 }
37}