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