1 module network-topology-pcep {
2 // vi: set et smarttab sw=4 tabstop=4:
4 namespace "urn:opendaylight:params:xml:ns:yang:topology:pcep";
7 import network-topology { prefix nt; revision-date 2013-10-21; }
8 import network-topology-programming { prefix ntp; revision-date 2013-11-02; }
9 import pcep-types { prefix pcep; revision-date 2013-10-05; }
11 organization "Cisco Systems, Inc.";
12 contact "Robert Varga <rovarga@cisco.com>";
15 "This module contains the PCEP extensions to base topology model. It
16 exposes the LSPs for which a particular node is the head end.
18 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.";
20 revision "2013-10-24" {
26 typedef pcc-sync-state {
30 "Initial state resynchronization is being performed.";
34 "State synchronization has been achieved.";
39 grouping topology-pcep-type {
40 container topology-pcep {
41 presence "indicates a PCEP-aware topology";
45 augment "/nt:network-topology/nt:topology/nt:topology-types" {
46 uses topology-pcep-type;
49 grouping pcep-client-attributes {
50 description "Data present in a node which is a PCEP client (PCC).";
52 container path-computation-client {
54 "PCC-related run-time information. This container is only
55 present when the node is connected through PCEP in a PCC
59 container stateful-tlv {
60 uses pcep:stateful-capability-tlv;
64 when "../stateful-tlv";
70 type pcep:symbolic-path-name;
79 uses pcep:path-definition;
85 augment "/nt:network-topology/nt:topology/nt:node" {
86 when "../../nt:topology-types/topology-pcep";
88 uses pcep-client-attributes;
93 uses ntp:topology-instruction-input;
101 type pcep:symbolic-path-name;
105 container arguments {
106 leaf administrative {
111 container endpoints {
112 uses pcep:endpoints-object;
115 uses pcep:path-definition;
119 uses ntp:topology-instruction-output;
125 uses ntp:topology-instruction-input;
133 type pcep:symbolic-path-name;
138 uses ntp:topology-instruction-output;
144 uses ntp:topology-instruction-input;
152 type pcep:symbolic-path-name;
156 container arguments {
157 leaf administrative {
162 uses pcep:path-definition;
166 uses ntp:topology-instruction-output;