Add new revision for pcep types model
[bgpcep.git] / pcep / topology / topology-api / src / main / yang / network-pcep-topology-config.yang
1 // vi: set smarttab et sw=4 tabstop=4:
2 module network-pcep-topology-config {
3     yang-version 1;
4     namespace "urn:opendaylight:params:xml:ns:yang:topology:pcep:config";
5     prefix pnc;
6
7     import network-topology { prefix nt; revision-date 2013-10-21; }
8     import network-topology-pcep { prefix pn; revision-date 2018-11-09; }
9     import yang-ext { prefix ext; revision-date 2013-07-09; }
10     import pcep-config { prefix pdc; revision-date 2017-10-25; }
11
12     description
13         "This module contains the PCEP config extensions to base topology model.
14          Copyright (c)2017 AT&T Services, Inc. All rights reserved.;
15
16          This program and the accompanying materials are made available
17          under the terms of the Eclipse Public License v1.0 which
18          accompanies this distribution, and is available at
19          http://www.eclipse.org/legal/epl-v10.html";
20
21     organization "AT&T Services, Inc.";
22     contact "Claudio D. Gasparini <claudio.gasparini@pantheon.sk>";
23
24     revision "2018-11-09" {
25         description
26             "P2MP extension.";
27         reference "RFC8306";
28     }
29
30     revision "2017-10-25" {
31         description
32             "Initial revision.";
33     }
34
35     augment "/nt:network-topology/nt:topology" {
36         when "nt:topology-types/pn:topology-pcep";
37         ext:augment-identifier pcep-topology-type-config;
38         description "Augment Pcep topology with session config";
39
40         uses pdc:pcep-config;
41     }
42
43     augment "/nt:network-topology/nt:topology/nt:node" {
44         when "../nt:topology-types/pn:topology-pcep";
45         ext:augment-identifier pcep-node-config;
46         description "Augment Pcep topology node with config";
47
48         uses pdc:pcep-node-config;
49     }
50 }