3 namespace "urn:TBD:params:xml:ns:yang:network:ted";
4 // replace with IANA namespace when assigned
7 import ietf-inet-types {
15 "Helper module to hold TED attributes for OSPF/ISIS";
22 typedef switching-capabilities {
24 "Switching Capabilities of an interface.";
26 "RFC 5307: IS-IS Extensions in Support of Generalized
27 Multi-Protocol Label Switching (GMPLS)";
31 "Packet-Switch Capable-1 (PSC-1)";
36 "Packet-Switch Capable-2 (PSC-2)";
41 "Packet-Switch Capable-3 (PSC-3)";
46 "Packet-Switch Capable-4 (PSC-4)";
51 "Layer-2 Switch Capable (L2SC)";
56 "Time-Division-Multiplex Capable (TDM)";
61 "Lambda-Switch Capable (LSC)";
66 "Fiber-Switch Capable (FSC)";
72 typedef pcc-capabilities {
74 "Path Computation Capabilities.";
76 "RFC 5088, draft-ietf-pce-disco-protoc-isis-07.txt
77 OSPF/ISIS Protocol Extensions for Path Computation Element (PCE) Discovery.";
79 bit path-computation-with-gmpls-link-constraints {
82 bit bidirectional-path-computation {
85 bit diverse-path-computation {
88 bit load-balanced-path-computation {
91 bit synchronized-path-computation {
94 bit support-for-multiple-objective-functions {
97 bit support-for-additive-path-constraints {
100 bit support-for-request-prioritization {
103 bit support-for-multiple-requests-per-message {
110 grouping srlg-attributes {
112 "Shared Risk Link Group Attributes";
114 "RFC 5307, RFC 4203: ISIS / OSPF Extensions in Support of
115 Generalized Multi-Protocol Label Switching (GMPLS)";
116 list interface-switching-capabilities {
118 "List of interface capabilities for this interface";
119 key "switching-capability";
120 leaf switching-capability {
122 "Switching Capability for this interface";
123 type ted:switching-capabilities;
127 "Encoding supported by this interface";
130 list max-lsp-bandwidth {
132 "Maximum LSP Bandwidth at priorities 0-7";
142 "Max LSP Bandwidth for this level";
148 container packet-switch-capable {
149 when "../switching-capability = PSC-1 or ../switching-capability = PSC-2 or ../switching-capability = PSC-3 or ../switching-capability = PSC-4";
151 "Interface has packet-switching capabilities";
152 leaf minimum-lsp-bandwidth {
154 "Minimum LSP Bandwidth. Units in bytes per second";
165 container time-division-multiplex-capable {
166 when "../switching-capability = TDM";
168 "Interface has time-division multiplex capabilities";
169 leaf minimum-lsp-bandwidth {
171 "Minimum LSP Bandwidth. Units in bytes per second";
178 "Indication whether the interface supports Standard or Arbitrary SONET/SDH";
185 "List of Shared Risk Link Group this interface belongs to.";
189 "Shared Risk Link Group value";
193 leaf link-protection-type {
195 "Link Protection Type desired for this link";
200 grouping ted-node-attributes {
202 "Identifier to uniquely identify a node in TED";
203 reference "RFC 5305, RFC 6119: IPv6 Traffic Engineering in IS-IS/OSPF";
204 leaf te-router-id-ipv4 {
206 "Globally unique IPv4 Traffic Engineering Router ID.";
207 type inet:ipv4-address;
209 leaf te-router-id-ipv6 {
211 "Globally unique IPv6 Traffic Engineering Router ID";
212 type inet:ipv6-address;
214 list ipv4-local-address {
216 "List of IPv4 Local Address(OSPF). RFC 5786";
220 "Local IPv4 address for the node";
221 type inet:ipv4-prefix;
224 list ipv6-local-address {
226 "List of IPv6 Local Address.";
228 "RFC 5786: Advertising a Router's Local Addresses
229 in OSPF Traffic Engineering (TE) Extensions";
233 "Local IPv6 address for the node";
234 type inet:ipv6-prefix;
238 "IPv6 prefix option.";
242 leaf pcc-capabilities {
244 "OSPF/ISIS PCC capabilities";
245 type pcc-capabilities;
249 grouping ted-link-attributes {
251 "TED Attributes associated with the link.";
252 reference "RFC 3630, RFC 3784: IS-IS / OSPF Traffic Engineering (TE)";
255 "Administrative group or color of the link";
258 leaf max-link-bandwidth {
260 "Maximum bandwidth that can be see on this link in this direction. Units in bytes per second";
265 leaf max-resv-link-bandwidth {
267 "Maximum amount of bandwidth that can be reserved in this direction in this link. Units in bytes per second";
272 list unreserved-bandwidth {
274 "Unreserved bandwidth for 0-7 priority levels. Units in bytes per second";
284 "Unreserved bandwidth for this level";
290 leaf te-default-metric {
292 "Traffic Engineering Metric";
297 "Shared Risk Link Group Attributes";
298 uses srlg-attributes;