3 namespace "urn:TBD:params:xml:ns:yang:network:ted";
4 // replace with IANA namespace when assigned
7 import ietf-inet-types {
9 revision-date 2010-09-24;
16 "Helper module to hold TED attributes for OSPF/ISIS";
24 typedef switching-capabilities {
26 "Switching Capabilities of an interface.";
28 "RFC 5307: IS-IS Extensions in Support of Generalized
29 Multi-Protocol Label Switching (GMPLS)";
33 "Packet-Switch Capable-1 (PSC-1)";
38 "Packet-Switch Capable-2 (PSC-2)";
43 "Packet-Switch Capable-3 (PSC-3)";
48 "Packet-Switch Capable-4 (PSC-4)";
53 "Layer-2 Switch Capable (L2SC)";
58 "Time-Division-Multiplex Capable (TDM)";
63 "Lambda-Switch Capable (LSC)";
69 "Fiber-Switch Capable (FSC)";
75 typedef pcc-capabilities {
77 "Path Computation Capabilities.";
79 "RFC 5088, draft-ietf-pce-disco-protoc-isis-07.txt
80 OSPF/ISIS Protocol Extensions for Path Computation Element (PCE) Discovery.";
82 bit path-computation-with-gmpls-link-constraints {
85 bit bidirectional-path-computation {
88 bit diverse-path-computation {
91 bit load-balanced-path-computation {
94 bit synchronized-path-computation {
97 bit support-for-multiple-objective-functions {
100 bit support-for-additive-path-constraints {
103 bit support-for-request-prioritization {
106 bit support-for-multiple-requests-per-message {
112 grouping ted-node-attributes {
114 "Identifier to uniquely identify a node in TED";
115 reference "RFC 5305, RFC 6119: IPv6 Traffic Engineering in IS-IS/OSPF";
116 leaf te-router-id-ipv4 {
119 "Globally unique IPv4 Traffic Engineering Router ID.";
120 type inet:ipv4-address;
122 leaf te-router-id-ipv6 {
124 "Globally unique IPv6 Traffic Engineering Router ID";
125 type inet:ipv6-address;
127 list ipv4-local-address {
129 "List of IPv4 Local Address(OSPF). RFC 5786";
133 "Local IPv4 address for the node";
134 type inet:ipv4-prefix;
137 list ipv6-local-address {
139 "List of IPv6 Local Address.";
141 "RFC 5786: Advertising a Router's Local Addresses
142 in OSPF Traffic Engineering (TE) Extensions";
146 "Local IPv6 address for the node";
147 type inet:ipv6-prefix;
151 "IPv6 prefix option.";
155 leaf pcc-capabilities {
157 "OSPF/ISIS PCC capabilities";
158 type pcc-capabilities;
162 grouping ted-link-attributes {
164 "TED Attributes associated with the link.";
165 reference "RFC 3630, RFC 3784: IS-IS / OSPF Traffic Engineering (TE)";
169 "Administrative group or color of the link";
172 leaf max-link-bandwidth {
174 "Maximum bandwidth that can be see on this link in this direction. Units in bytes per second";
179 leaf max-resv-link-bandwidth {
181 "Maximum amount of bandwidth that can be reserved in this direction in this link. Units in bytes per second";
186 list unreserved-bandwidth {
188 "Unreserved bandwidth for 0-7 priority levels. Units in bytes per second";
198 "Unreserved bandwidth for this level";
204 leaf te-default-metric {
206 "Traffic Engineering Metric";
211 "Shared Risk Link Group Attributes";
212 uses srlg-attributes;
216 grouping srlg-attributes {
218 "Shared Risk Link Group Attributes";
220 "RFC 5307, RFC 4203: ISIS / OSPF Extensions in Support of
221 Generalized Multi-Protocol Label Switching (GMPLS)";
222 list interface-switching-capabilities {
224 "List of interface capabilities for this interface";
225 key "switching-capability";
226 leaf switching-capability {
228 "Switching Capability for this interface";
229 type ted:switching-capabilities;
233 "Encoding supported by this interface";
236 list max-lsp-bandwidth {
238 "Maximum LSP Bandwidth at priorities 0-7";
248 "Max LSP Bandwidth for this level";
254 container packet-switch-capable {
255 when "../switching-capability = PSC-1 or ../switching-capability = PSC-2 or ../switching-capability = PSC-3 or ../switching-capability = PSC-4";
257 "Interface has packet-switching capabilities";
258 leaf minimum-lsp-bandwidth {
260 "Minimum LSP Bandwidth. Units in bytes per second";
272 container time-division-multiplex-capable {
273 when "../switching-capability = TDM";
275 "Interface has time-division multiplex capabilities";
276 leaf minimum-lsp-bandwidth {
278 "Minimum LSP Bandwidth. Units in bytes per second";
285 "Indication whether the interface supports Standard or Arbitrary SONET/SDH";
292 "List of Shared Risk Link Group this interface belongs to.";
296 "Shared Risk Link Group value";
300 leaf link-protection-type {
302 "Link Protection Type desired for this link";