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;
8 import ietf-yang-types {
12 organization "Open ROADM MSA";
16 "YANG definitions of physical types.
18 Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
19 AT&T Intellectual Property. All other rights reserved.
21 Redistribution and use in source and binary forms, with or without modification,
22 are permitted provided that the following conditions are met:
24 * Redistributions of source code must retain the above copyright notice, this
25 list of conditions and the following disclaimer.
26 * Redistributions in binary form must reproduce the above copyright notice,
27 this list of conditions and the following disclaimer in the documentation and/or
28 other materials provided with the distribution.
29 * Neither the Members of the Open ROADM MSA Agreement nor the names of its
30 contributors may be used to endorse or promote products derived from this software
31 without specific prior written permission.
33 THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT ''AS IS''
34 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
35 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
36 IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA AGREEMENT BE LIABLE FOR ANY DIRECT,
37 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
38 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
39 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
40 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
42 POSSIBILITY OF SUCH DAMAGE.";
51 "Physical inventory data used by the node";
54 "Vendor of the equipment";
62 "Physical resource model information.";
68 "Product Code for this physical resource";
75 grouping common-info {
77 "Physical inventory data used by all other entities";
81 "The specific type of this physical resource - ie the type of
82 shelf, type of circuit-pack, etc.";
88 "Product Code for this physical resource";
92 leaf manufacture-date {
94 "Manufactor date of physical resource";
95 type yang:date-and-time;
100 "CLEI for this physical resource";
104 leaf hardware-version {
106 "The version of the hardware.";
110 leaf operational-state {
112 "Operational state of the physical resource";
113 type org-openroadm-common-types:state;