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";
71 reference "https://tools.ietf.org/html/rfc2205#page-81";
100 grouping user-error-spec {
101 reference "https://tools.ietf.org/html/rfc5284#section-3";
104 type iana:enterprise-number;
123 container subobjects {
124 // Filled by enterprise-specific augmentations
128 grouping ip-prefix-subobject {
130 reference "http://tools.ietf.org/html/rfc3209#section-4.3.3.1";
136 grouping as-number-subobject {
138 reference "http://tools.ietf.org/html/rfc3209#section-4.3.3.4";
144 grouping label-subobject {
150 leaf uni-directional {
160 grouping unnumbered-subobject {
172 grouping record-route-subobjects {
173 leaf protection-available {
178 leaf protection-in-use {
183 choice subobject-type {
185 uses ip-prefix-subobject;
189 uses label-subobject;
193 uses unnumbered-subobject;
198 grouping route-subobjects {
199 choice subobject-type {
201 uses as-number-subobject;
205 uses ip-prefix-subobject;
209 uses label-subobject;
213 uses unnumbered-subobject;