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