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;
52 reference "https://tools.ietf.org/html/rfc3209#section-4.6.2.1";
57 reference "https://tools.ietf.org/html/rfc3209#section-4.6.1.1";
60 typedef ipv4-extended-tunnel-id {
61 type inet:ipv4-address;
62 reference "https://tools.ietf.org/html/rfc3209#section-4.6.1.1";
65 typedef ipv6-extended-tunnel-id {
66 type inet:ipv6-address;
67 reference "https://tools.ietf.org/html/rfc3209#section-4.6.1.2";
72 reference "http://tools.ietf.org/html/rfc4202#section-2.3";
76 reference "https://tools.ietf.org/html/rfc2205#page-81";
105 grouping user-error-spec {
106 reference "https://tools.ietf.org/html/rfc5284#section-3";
109 type iana:enterprise-number;
128 container subobjects {
129 // Filled by enterprise-specific augmentations
136 grouping type1-label {
137 reference "https://tools.ietf.org/html/rfc3209#section-4.1";
147 grouping generalized-label {
148 reference "https://tools.ietf.org/html/rfc3473#section-2.3";
152 leaf generalized-label {
158 grouping waveband-switching-label {
159 reference "https://tools.ietf.org/html/rfc3473#section-2.4";
178 reference "https://tools.ietf.org/html/rfc3473#section-2.6";
182 enum inclusive-list {
185 enum exclusive-list {
188 enum inclusive-range {
191 enum exclusive-range {
197 container label-type {
198 // Technology-specific
207 grouping c-subobject {
211 grouping ip-prefix-subobject {
214 reference "http://tools.ietf.org/html/rfc3209#section-4.3.3.1";
220 grouping as-number-subobject {
223 reference "http://tools.ietf.org/html/rfc3209#section-4.3.3.4";
229 grouping label-subobject {
232 leaf uni-directional {
241 case generalized-label {
242 uses generalized-label;
244 case waveband-switching-label {
245 uses waveband-switching-label;
250 grouping unnumbered-subobject {
263 grouping srlg-subobject {
271 grouping record-route-subobjects {
272 leaf protection-available {
277 leaf protection-in-use {
282 choice subobject-type {
284 uses ip-prefix-subobject;
288 uses label-subobject;
297 uses unnumbered-subobject;
302 grouping basic-explicit-route-subobjects {
303 description "Subobjects shared between XRO and ERO";
304 reference "https://tools.ietf.org/html/rfc4874#section-4.1";
306 choice subobject-type {
308 uses as-number-subobject;
311 uses ip-prefix-subobject;
314 uses label-subobject;
320 uses unnumbered-subobject;
325 grouping exclude-route-subobjects {
326 description "Subobject of an Exclude Route Object";
327 reference "https://tools.ietf.org/html/rfc4874#section-3.1";
349 uses basic-explicit-route-subobjects;
352 grouping explicit-route-subobjects {
353 description "Subobject of an Explicit Route Object";
354 reference "https://tools.ietf.org/html/rfc4874#section-4.1";
355 uses basic-explicit-route-subobjects {
356 augment "subobject-type" {
359 uses exclude-route-subobjects;