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 nps-concepts { prefix nps-c; }
9 import pcep-types { prefix pcep; revision-date 2013-10-05; }
10 import rsvp { prefix rsvp; revision-date 2013-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 revision "2013-08-20" {
29 typedef administrative-status {
34 reference "https://tools.ietf.org/html/draft-ietf-pce-stateful-pce-05#section-7.3";
37 grouping topology-tunnel-pcep-type {
38 container topology-tunnel-pcep {
39 presence "indicates a PCEP tunnel-aware topology";
43 augment "/nt:network-topology/nt:topology/nt:topology-types" {
44 uses topology-tunnel-pcep-type;
47 grouping tunnel-pcep-supporting-node-attributes {
48 container path-computation-client {
56 augment "/nt:network-topology/nt:topology/nt:node/nt:supporting-node" {
57 when "../../../nt:topology-types/topology-tunnel-pcep";
59 uses tunnel-pcep-supporting-node-attributes;
62 grouping tunnel-pcep-type {
63 container pcep-tunnel {
64 presence "indicates a link is a PCEP tunnel";
68 augment "/nt:network-topology/nt:topology/nt:link/tt:tunnel-types" {
69 uses tunnel-pcep-type;
72 grouping tunnel-pcep-link-cfg-attributes {
73 leaf administrative-status {
74 type administrative-status;
85 leaf symbolic-path-name {
86 type pcep:symbolic-path-name;
89 uses rsvp:tunnel-attributes;
92 grouping tunnel-pcep-link-oper-attributes {
93 leaf operational-status {
94 type pcep:operational-status;
99 grouping tunnel-pcep-path-attributes {
100 leaf administrative-status {
101 type administrative-status;
104 leaf operational-status {
105 type pcep:operational-status;
110 augment "/nt:network-topology/nt:topology/nt:link" {
111 when "../../tunnel-types/pcep-tunnel";
112 uses tunnel-pcep-link-cfg-attributes;
113 uses tunnel-pcep-link-oper-attributes;
116 augment "/nt:network-topology/nt:topology/tt:paths" {
117 when "../../tunnel-types/pcep-tunnel";
118 uses tunnel-pcep-path-attributes;
121 augment "/nt:network-topology/nt:topology/tt:paths/p2p:explicit-hops" {
122 when "../../tunnel-types/pcep-tunnel";
123 uses rsvp:explicit-route-subobjects;
126 augment "/nt:network-topology/nt:topology/tt:paths/p2p:reported-hops" {
127 when "../../tunnel-types/pcep-tunnel";
128 uses rsvp:record-route-subobjects;