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