3 namespace "urn:opendaylight:params:xml:ns:yang:rsvp";
6 import iana { prefix iana; revision-date 2013-08-16; }
7 import ietf-inet-types { prefix inet; revision-date 2010-09-24; }
9 organization "Cisco Systems, Inc.";
10 contact "Robert Varga <rovarga@cisco.com>";
13 "This module contains the definition of types related to
14 Resource Reservation Protocol (RSVP).
16 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.
18 This program and the accompanying materials are made available
19 under the terms of the Eclipse Public License v1.0 which
20 accompanies this distribution, and is available at
21 http://www.eclipse.org/legal/epl-v10.html";
23 revision "2013-08-20" {
26 reference "https://tools.ietf.org/html/rfc2205";
29 typedef attribute-filter {
33 grouping attribute-filters {
35 type attribute-filter;
40 type attribute-filter;
45 type attribute-filter;
50 grouping tunnel-attributes {
61 leaf local-protection-desired {
66 uses attribute-filters;
71 reference "https://tools.ietf.org/html/rfc3209#section-4.6.2.1";
76 reference "https://tools.ietf.org/html/rfc3209#section-4.6.1.1";
79 typedef ipv4-extended-tunnel-id {
80 type inet:ipv4-address;
81 reference "https://tools.ietf.org/html/rfc3209#section-4.6.1.1";
84 typedef ipv6-extended-tunnel-id {
85 type inet:ipv6-address;
86 reference "https://tools.ietf.org/html/rfc3209#section-4.6.1.2";
91 reference "http://tools.ietf.org/html/rfc4202#section-2.3";
95 reference "https://tools.ietf.org/html/rfc2205#page-81";
124 grouping user-error-spec {
125 reference "https://tools.ietf.org/html/rfc5284#section-3";
128 type iana:enterprise-number;
147 container subobjects {
148 // Filled by enterprise-specific augmentations
155 grouping type1-label {
156 reference "https://tools.ietf.org/html/rfc3209#section-4.1";
166 grouping generalized-label {
167 reference "https://tools.ietf.org/html/rfc3473#section-2.3";
171 leaf generalized-label {
177 grouping waveband-switching-label {
178 reference "https://tools.ietf.org/html/rfc3473#section-2.4";
197 reference "https://tools.ietf.org/html/rfc3473#section-2.6";
201 enum inclusive-list {
204 enum exclusive-list {
207 enum inclusive-range {
210 enum exclusive-range {
216 container label-type {
217 // Technology-specific
226 grouping c-subobject {
230 grouping ip-prefix-subobject {
233 reference "http://tools.ietf.org/html/rfc3209#section-4.3.3.1";
239 grouping as-number-subobject {
242 reference "http://tools.ietf.org/html/rfc3209#section-4.3.3.4";
248 grouping label-subobject {
251 leaf uni-directional {
260 case generalized-label {
261 uses generalized-label;
263 case waveband-switching-label {
264 uses waveband-switching-label;
269 grouping unnumbered-subobject {
282 grouping srlg-subobject {
290 grouping record-route-subobjects {
291 leaf protection-available {
296 leaf protection-in-use {
301 choice subobject-type {
303 uses ip-prefix-subobject;
307 uses label-subobject;
316 uses unnumbered-subobject;
321 grouping basic-explicit-route-subobjects {
322 description "Subobjects shared between XRO and ERO";
323 reference "https://tools.ietf.org/html/rfc4874#section-4.1";
325 choice subobject-type {
327 uses as-number-subobject;
330 uses ip-prefix-subobject;
333 uses label-subobject;
339 uses unnumbered-subobject;
344 grouping exclude-route-subobjects {
345 description "Subobject of an Exclude Route Object";
346 reference "https://tools.ietf.org/html/rfc4874#section-3.1";
368 uses basic-explicit-route-subobjects;
371 grouping explicit-route-subobjects {
372 description "Subobject of an Explicit Route Object";
373 reference "https://tools.ietf.org/html/rfc4874#section-4.1";
374 uses basic-explicit-route-subobjects {
375 augment "subobject-type" {
378 uses exclude-route-subobjects;