1 module transportpce-networkmodel {
2 namespace "http://org/opendaylight/transportpce/networkmodel";
3 prefix org-opendaylight-transportpce-networkmodel;
5 import transportpce-common-ord-topology-types {
6 prefix transportpce-common-ord-topology-types;
7 revision-date 2020-11-16;
10 import org-openroadm-common-types {
11 prefix org-openroadm-common-types;
12 revision-date 2018-10-19;
18 "transportPCE committers - ODL";
20 "YANG definitions proposed for interface D (transportPCE). Adapted from service definition (openroadm)
21 Copyright © 2020 Nokia, Inc. and others. All rights reserved.
24 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
25 AT&T Intellectual Property. All other rights reserved.
27 Redistribution and use in source and binary forms, with or without modification,
28 are permitted provided that the following conditions are met:
30 * Redistributions of source code must retain the above copyright notice, this
31 list of conditions and the following disclaimer.
32 * Redistributions in binary form must reproduce the above copyright notice,
33 this list of conditions and the following disclaimer in the documentation and/or
34 other materials provided with the distribution.
35 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
36 contributors may be used to endorse or promote products derived from this software
37 without specific prior written permission.
39 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
40 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
41 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
42 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
43 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
44 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
45 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
46 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
47 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
48 POSSIBILITY OF SUCH DAMAGE";
52 "Initial revision of network model version 1.5";
55 grouping element-change {
59 description "Id of abstracted element that changed in the topology";
62 type org-openroadm-common-types:state;
64 description "Operational state of the affected element";
68 notification topology-update-result {
70 "This Notification indicates result of an update in the openroadm topology";
71 leaf notification-type {
72 type transportpce-common-ord-topology-types:topology-notification-types;
74 list ord-topology-changes {