1 module org-openroadm-physical-types {
2 namespace "http://org/openroadm/physical/types";
3 prefix org-openroadm-physical-types;
5 import org-openroadm-common-types {
6 prefix org-openroadm-common-types;
7 revision-date 2018-10-19;
9 import ietf-yang-types {
11 revision-date 2013-07-15;
19 "YANG definitions of physical types.
21 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
22 AT&T Intellectual Property. All other rights reserved.
24 Redistribution and use in source and binary forms, with or without modification,
25 are permitted provided that the following conditions are met:
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.
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.";
61 "Version 2.0.1 - added revision-date to imports";
74 "Physical inventory data used by the node";
80 "Vendor of the equipment";
87 "Physical resource model information.";
94 "Product Code for this physical resource";
98 grouping common-info {
100 "Physical inventory data used by all other entities";
106 "The specific type of this physical resource - ie the type of
107 shelf, type of circuit-pack, etc.";
113 "Product Code for this physical resource";
115 leaf manufacture-date {
116 type yang:date-and-time;
119 "Manufacture date of physical resource";
125 "CLEI for this physical resource";
127 leaf hardware-version {
131 "The version of the hardware.";
133 leaf operational-state {
134 type org-openroadm-common-types:state;
137 "Operational state of the physical resource";