3 namespace "urn:TBD:params:xml:ns:yang:network:ted";
4 // replace with IANA namespace when assigned
7 import ietf-inet-types {
16 "Helper module to hold TED attributes for OSPF/ISIS";
23 typedef switching-capabilities {
25 "Switching Capabilities of an interface.";
27 "RFC 5307: IS-IS Extensions in Support of Generalized
28 Multi-Protocol Label Switching (GMPLS)";
32 "Packet-Switch Capable-1 (PSC-1)";
37 "Packet-Switch Capable-2 (PSC-2)";
42 "Packet-Switch Capable-3 (PSC-3)";
47 "Packet-Switch Capable-4 (PSC-4)";
52 "Layer-2 Switch Capable (L2SC)";
57 "Time-Division-Multiplex Capable (TDM)";
62 "Lambda-Switch Capable (LSC)";
68 "Fiber-Switch Capable (FSC)";
74 typedef pcc-capabilities {
76 "Path Computation Capabilities.";
78 "RFC 5088, draft-ietf-pce-disco-protoc-isis-07.txt
79 OSPF/ISIS Protocol Extensions for Path Computation Element (PCE) Discovery.";
81 bit path-computation-with-gmpls-link-constraints {
84 bit bidirectional-path-computation {
87 bit diverse-path-computation {
90 bit load-balanced-path-computation {
93 bit synchronized-path-computation {
96 bit support-for-multiple-objective-functions {
99 bit support-for-additive-path-constraints {
102 bit support-for-request-prioritization {
105 bit support-for-multiple-requests-per-message {
111 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 {
118 "Globally unique IPv4 Traffic Engineering Router ID.";
119 type inet:ipv4-address;
121 leaf te-router-id-ipv6 {
123 "Globally unique IPv6 Traffic Engineering Router ID";
124 type inet:ipv6-address;
126 list ipv4-local-address {
128 "List of IPv4 Local Address(OSPF). RFC 5786";
132 "Local IPv4 address for the node";
133 type inet:ipv4-prefix;
136 list ipv6-local-address {
138 "List of IPv6 Local Address.";
140 "RFC 5786: Advertising a Router's Local Addresses
141 in OSPF Traffic Engineering (TE) Extensions";
145 "Local IPv6 address for the node";
146 type inet:ipv6-prefix;
150 "IPv6 prefix option.";
154 leaf pcc-capabilities {
156 "OSPF/ISIS PCC capabilities";
157 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)";
168 "Administrative group or color of the link";
171 leaf max-link-bandwidth {
173 "Maximum bandwidth that can be see on this link in this direction. Units in bytes per second";
178 leaf max-resv-link-bandwidth {
180 "Maximum amount of bandwidth that can be reserved in this direction in this link. Units in bytes per second";
185 list unreserved-bandwidth {
187 "Unreserved bandwidth for 0-7 priority levels. Units in bytes per second";
197 "Unreserved bandwidth for this level";
203 leaf te-default-metric {
205 "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 {
261 "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";