1 module network-topology-pcep-programming {
2 // vi: set et smarttab sw=4 tabstop=4:
4 namespace "urn:opendaylight:params:xml:ns:yang:topology:pcep:programming";
7 import network-topology-programming { prefix ntp; revision-date 2013-11-02; }
8 import network-topology-pcep { prefix pcep; revision-date 2013-10-24; }
10 organization "Cisco Systems, Inc.";
11 contact "Robert Varga <rovarga@cisco.com>";
14 "This module contains the PCEP extensions to base topology model. It
15 exposes the LSPs for which a particular node is the head end.
17 This module exposes three programming instructions,add-lsp,
18 remove-lsp and update-lsp, which map to actively-stateful PCEP
19 operations using PCInitiate and PCUpd messages to initiate,
20 destroy and udpate LSP configuration. The lifecycle of these
21 instructions follows draft-crabbe-pce-pce-initiated-lsp and
22 draft-ietf-pce-stateful-pce, completing execution once the head-end
23 router has acknowledged operation success. Should the router become
24 disconnected, the instruction resolve to Cancelled if the message
25 has not been sent into the TCP socket, or Failed it they have.
27 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.
29 This program and the accompanying materials are made available
30 under the terms of the Eclipse Public License v1.0 which
31 accompanies this distribution, and is available at
32 http://www.eclipse.org/legal/epl-v10.html";
34 revision "2013-11-06" {
42 uses ntp:topology-instruction-input;
43 uses pcep:add-lsp-args;
46 uses ntp:topology-instruction-output;
50 rpc submit-remove-lsp {
52 uses ntp:topology-instruction-input;
53 uses pcep:remove-lsp-args;
56 uses ntp:topology-instruction-output;
60 rpc submit-update-lsp {
62 uses ntp:topology-instruction-input;
63 uses pcep:update-lsp-args;
66 uses ntp:topology-instruction-output;
70 rpc submit-ensure-lsp-operational {
72 uses ntp:topology-instruction-input;
73 uses pcep:ensure-lsp-operational-args;
76 uses ntp:topology-instruction-output;
80 rpc submit-trigger-sync {
82 uses ntp:topology-instruction-input;
83 uses pcep:trigger-sync-args;
86 uses ntp:topology-instruction-output;