Merge "Debug tool for openconfig proprietary extensions"
[transportpce.git] / api / src / main / yang / service_path / transportpce-networkmodel@2020-11-16.yang
1 module transportpce-networkmodel {
2   namespace "http://org/opendaylight/transportpce/networkmodel";
3   prefix org-opendaylight-transportpce-networkmodel;
4
5   import org-openroadm-common-state-types {
6     prefix org-openroadm-common-state-types;
7     revision-date 2019-11-29;
8   }
9
10   organization
11     "transportPCE";
12   contact
13     "transportPCE committers - ODL";
14   description
15     "YANG definitions proposed for interface D (transportPCE). Adapted from service definition (openroadm)
16      Copyright © 2020 Nokia, Inc. and others.  All rights reserved.
17
18      openroadm copyright:
19       Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
20       AT&T Intellectual Property.  All other rights reserved.
21
22       Redistribution and use in source and binary forms, with or without modification,
23       are permitted provided that the following conditions are met:
24
25       * Redistributions of source code must retain the above copyright notice, this
26         list of conditions and the following disclaimer.
27       * Redistributions in binary form must reproduce the above copyright notice,
28         this list of conditions and the following disclaimer in the documentation and/or
29         other materials provided with the distribution.
30       * Neither the Members of the Open ROADM MSA Agreement nor the names of its
31         contributors may be used to endorse or promote products derived from this software
32         without specific prior written permission.
33
34       THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
35       AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
36       WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
37       IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
38       INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
39       NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
40       OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
41       WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
42       ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
43       POSSIBILITY OF SUCH DAMAGE";
44
45   revision 2020-11-16 {
46     description
47       "Initial revision of network model version 1.5";
48   }
49
50   notification topology-update-result {
51     description
52       "This Notification indicates result of any termination-point updates in
53        openroadm and/or otn topologies";
54     list topology-changes {
55       key "node-id tp-id";
56       description
57         "Node and tp modified in openroadm or otn topology";
58       leaf tp-id {
59         type string;
60         description
61           "Id of the termination-point changed in the topology";
62       }
63       leaf node-id {
64         type string;
65         description
66           "Node Id supporting the changed termination-point as identified
67            in openroadm and otn topolgoies";
68       }
69       leaf state {
70         type org-openroadm-common-state-types:state;
71         description
72           "New administrative state of the modified termination-point";
73       }
74     }
75   }
76 }