1 module topology-tunnel-pcep {
2 // vi: set et smarttab sw=4 tabstop=4:
4 namespace "urn:opendaylight:params:xml:ns:yang:topology:tunnel:pcep";
7 import network-topology { prefix nt; revision-date 2013-10-21; }
8 import network-concepts { prefix netc; revision-date 2013-11-25; }
9 import pcep-types { prefix pcep; revision-date 2018-11-09; }
10 import rsvp { prefix rsvp; revision-date 2015-08-20; }
11 import topology-tunnel { prefix tt; revision-date 2013-08-19; }
12 import topology-tunnel-p2p { prefix p2p; revision-date 2013-08-19; }
14 organization "Cisco Systems, Inc.";
15 contact "Robert Varga <rovarga@cisco.com>";
18 "This module contains the PCEP extensions to base tunnel
21 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.
23 This program and the accompanying materials are made available
24 under the terms of the Eclipse Public License v1.0 which
25 accompanies this distribution, and is available at
26 http://www.eclipse.org/legal/epl-v10.html";
28 revision "2018-11-09" {
34 revision "2013-08-20" {
40 grouping topology-tunnel-pcep-type {
41 container topology-tunnel-pcep {
42 presence "indicates a PCEP tunnel-aware topology";
46 augment "/nt:network-topology/nt:topology/nt:topology-types" {
47 uses topology-tunnel-pcep-type;
50 grouping tunnel-pcep-supporting-node-attributes {
51 container path-computation-client {
59 augment "/nt:network-topology/nt:topology/nt:node/nt:supporting-node" {
60 when "../../../nt:topology-types/topology-tunnel-pcep";
62 uses tunnel-pcep-supporting-node-attributes;
65 grouping tunnel-pcep-type {
66 container pcep-tunnel {
67 presence "indicates a link is a PCEP tunnel";
71 augment "/nt:network-topology/nt:topology/nt:link/tt:tunnel-types" {
72 uses tunnel-pcep-type;
75 grouping tunnel-pcep-link-cfg-attributes {
76 leaf symbolic-path-name {
88 uses rsvp:tunnel-attributes;
91 grouping tunnel-pcep-link-oper-attributes {
95 grouping tunnel-pcep-path-attributes {
99 augment "/nt:network-topology/nt:topology/nt:link" {
100 when "../../tunnel-types/pcep-tunnel";
101 uses tunnel-pcep-link-cfg-attributes;
102 uses tunnel-pcep-link-oper-attributes;
105 augment "/nt:network-topology/nt:topology/tt:paths" {
106 when "../../tunnel-types/pcep-tunnel";
107 uses tunnel-pcep-path-attributes;
110 augment "/nt:network-topology/nt:topology/tt:paths/p2p:explicit-hops" {
111 when "../../tunnel-types/pcep-tunnel";
112 uses rsvp:explicit-route-subobjects;
115 augment "/nt:network-topology/nt:topology/tt:paths/p2p:reported-hops" {
116 when "../../tunnel-types/pcep-tunnel";
117 uses rsvp:record-route-subobjects;