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";
75 reference "https://tools.ietf.org/html/rfc2205#page-81";
104 grouping user-error-spec {
105 reference "https://tools.ietf.org/html/rfc5284#section-3";
108 type iana:enterprise-number;
127 container subobjects {
128 // Filled by enterprise-specific augmentations
133 grouping c-subobject {
137 grouping ip-prefix-subobject {
140 reference "http://tools.ietf.org/html/rfc3209#section-4.3.3.1";
146 grouping as-number-subobject {
149 reference "http://tools.ietf.org/html/rfc3209#section-4.3.3.4";
155 grouping label-subobject {
162 leaf uni-directional {
172 grouping unnumbered-subobject {
185 grouping srlg-subobject {
193 grouping record-route-subobjects {
194 leaf protection-available {
199 leaf protection-in-use {
204 choice subobject-type {
206 uses ip-prefix-subobject;
210 uses label-subobject;
214 uses unnumbered-subobject;
219 grouping route-subobjects {
220 choice subobject-type {
222 uses as-number-subobject;
226 uses ip-prefix-subobject;
230 uses label-subobject;
234 uses unnumbered-subobject;
239 grouping exclude-route-subobjects {
240 description "Subobject of an Exclude Route Object";
241 reference "https://tools.ietf.org/html/rfc4874#section-3.1";
253 choice subobject-type {
255 uses as-number-subobject;
258 uses ip-prefix-subobject;
264 uses unnumbered-subobject;