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 This module exposes three programming instructions,add-lsp,
19 remove-lsp and update-lsp, which map to actively-stateful PCEP
20 operations using PCInitiate and PCUpd messages to initiate,
21 destroy and udpate LSP configuration. The lifecycle of these
22 instructions follows draft-crabbe-pce-pce-initiated-lsp and
23 draft-ietf-pce-stateful-pce, completing execution once the head-end
24 router has acknowledged operation success. Should the router become
25 disconnected, the instruction resolve to Cancelled if the message
26 has not been sent into the TCP socket, or Failed it they have.
28 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.";
30 revision "2013-10-24" {
36 typedef pcc-sync-state {
40 "Initial state resynchronization is being performed.";
44 "State synchronization has been achieved.";
49 grouping topology-pcep-type {
50 container topology-pcep {
51 presence "indicates a PCEP-aware topology";
55 augment "/nt:network-topology/nt:topology/nt:topology-types" {
56 uses topology-pcep-type;
59 grouping pcep-client-attributes {
60 description "Data present in a node which is a PCEP client (PCC).";
62 container path-computation-client {
64 "PCC-related run-time information. This container is only
65 present when the node is connected through PCEP in a PCC
69 container stateful-tlv {
70 uses pcep:stateful-capability-tlv;
74 when "../stateful-tlv";
80 type pcep:symbolic-path-name;
87 uses pcep:path-definition;
93 augment "/nt:network-topology/nt:topology/nt:node" {
94 when "../../nt:topology-types/topology-pcep";
96 uses pcep-client-attributes;
101 uses ntp:topology-instruction-input;
109 type pcep:symbolic-path-name;
113 container arguments {
114 leaf administrative {
119 container endpoints {
120 uses pcep:endpoints-object;
123 uses pcep:path-definition;
127 uses ntp:topology-instruction-output;
133 uses ntp:topology-instruction-input;
141 type pcep:symbolic-path-name;
146 uses ntp:topology-instruction-output;
152 uses ntp:topology-instruction-input;
160 type pcep:symbolic-path-name;
164 container arguments {
165 leaf administrative {
170 uses pcep:path-definition;
174 uses ntp:topology-instruction-output;