298f3e11184f16d04a2e9e2b10d82675205ecdcc
[bgpcep.git] / pcep / topology / topology-api / src / main / yang / network-pcep-topology-stats.yang
1 // vi: set smarttab et sw=4 tabstop=4:
2 module network-pcep-topology-stats {
3     yang-version 1;
4     namespace "urn:opendaylight:params:xml:ns:yang:topology:pcep:stats";
5     prefix npts;
6
7     import network-topology { prefix nt; revision-date 2013-10-21; }
8     import network-topology-pcep { prefix pn; revision-date 2020-01-20; }
9     import yang-ext { prefix ext; revision-date 2013-07-09; }
10     import pcep-session-stats { prefix pss; revision-date 2017-11-13; }
11
12     description
13         "This module contains the PCEP stats 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-11-13" {
31         description
32             "Initial revision.";
33     }
34
35     augment "/nt:network-topology/nt:topology/nt:node" {
36         when "../nt:topology-types/pn:topology-pcep";
37         ext:augment-identifier pcep-topology-node-stats-aug;
38         description "Augment Pcep topology node with session stats";
39
40         uses pss:pcep-session-state-grouping;
41     }
42 }