Add TAPI Topology simulated network function type.
[sim/o1-interface.git] / ntsimulator / deploy / smo-nts-ng-topology-server / yang / iana-hardware.yang
1 module iana-hardware {
2 yang-version 1.1;
3 namespace "urn:ietf:params:xml:ns:yang:iana-hardware";
4 prefix ianahw;
5
6 organization "IANA";
7 contact
8   "        Internet Assigned Numbers Authority
9    Postal: ICANN
10            12025 Waterfront Drive, Suite 300
11            Los Angeles, CA  90094-2536
12            United States of America
13    Tel:    +1 310 301 5800
14    E-Mail: iana@iana.org>";
15
16 description
17   "IANA-defined identities for hardware class.
18    The latest revision of this YANG module can be obtained from
19    the IANA website.
20    Requests for new values should be made to IANA via
21    email (iana@iana.org).
22    Copyright (c) 2018 IETF Trust and the persons identified as
23    authors of the code.  All rights reserved.
24    Redistribution and use in source and binary forms, with or
25    without modification, is permitted pursuant to, and subject
26    to the license terms contained in, the Simplified BSD License
27    set forth in Section 4.c of the IETF Trust's Legal Provisions
28    Relating to IETF Documents
29    (https://trustee.ietf.org/license-info).
30    The initial version of this YANG module is part of RFC 8348;
31    see the RFC itself for full legal notices.";
32 reference
33   "https://www.iana.org/assignments/yang-parameters";
34
35 revision 2018-03-13 {
36   description
37     "Initial revision.";
38   reference
39     "RFC 8348: A YANG Data Model for Hardware Management";
40 }
41
42 /*
43  * Identities
44  */
45
46 identity hardware-class {
47   description
48     "This identity is the base for all hardware class
49      identifiers.";
50 }
51
52 identity unknown {
53   base ianahw:hardware-class;
54   description
55     "This identity is applicable if the hardware class is unknown
56      to the server.";
57 }
58
59 identity chassis {
60   base ianahw:hardware-class;
61   description
62     "This identity is applicable if the hardware class is an
63      overall container for networking equipment.  Any class of
64      physical component, except a stack, may be contained within a
65      chassis; a chassis may only be contained within a stack.";
66 }
67
68 identity backplane {
69   base ianahw:hardware-class;
70   description
71     "This identity is applicable if the hardware class is some sort
72      of device for aggregating and forwarding networking traffic,
73      such as a shared backplane in a modular ethernet switch.  Note
74      that an implementation may model a backplane as a single
75      physical component, which is actually implemented as multiple
76      discrete physical components (within a chassis or stack).";
77 }
78
79 identity container {
80   base ianahw:hardware-class;
81   description
82     "This identity is applicable if the hardware class is capable
83      of containing one or more removable physical entities,
84      possibly of different types.  For example, each (empty or
85      full) slot in a chassis will be modeled as a container.  Note
86      that all removable physical components should be modeled
87      within a container component, such as field-replaceable
88      modules, fans, or power supplies.  Note that all known
89      containers should be modeled by the agent, including empty
90      containers.";
91 }
92
93 identity power-supply {
94   base ianahw:hardware-class;
95   description
96     "This identity is applicable if the hardware class is a
97      power-supplying component.";
98 }
99
100 identity fan {
101   base ianahw:hardware-class;
102   description
103     "This identity is applicable if the hardware class is a fan or
104      other heat-reduction component.";
105 }
106
107 identity sensor {
108   base ianahw:hardware-class;
109   description
110     "This identity is applicable if the hardware class is some sort
111      of sensor, such as a temperature sensor within a router
112      chassis.";
113 }
114
115 identity module {
116   base ianahw:hardware-class;
117   description
118     "This identity is applicable if the hardware class is some sort
119      of self-contained sub-system.  If a module component is
120      removable, then it should be modeled within a container
121      component; otherwise, it should be modeled directly within
122      another physical component (e.g., a chassis or another
123      module).";
124 }
125
126 identity port {
127   base ianahw:hardware-class;
128   description
129     "This identity is applicable if the hardware class is some sort
130      of networking port capable of receiving and/or transmitting
131      networking traffic.";
132 }
133
134 identity stack {
135   base ianahw:hardware-class;
136   description
137     "This identity is applicable if the hardware class is some sort
138      of super-container (possibly virtual) intended to group
139      together multiple chassis entities.  A stack may be realized
140      by a virtual cable, a real interconnect cable attached to
141      multiple chassis, or multiple interconnect cables.  A stack
142      should not be modeled within any other physical components,
143      but a stack may be contained within another stack.  Only
144      chassis components should be contained within a stack.";
145 }
146
147 identity cpu {
148   base ianahw:hardware-class;
149   description
150     "This identity is applicable if the hardware class is some sort
151      of central processing unit.";
152 }
153
154 identity energy-object {
155   base ianahw:hardware-class;
156   description
157     "This identity is applicable if the hardware class is some sort
158      of energy object, i.e., it is a piece of equipment that is
159      part of or attached to a communications network that is
160      monitored, it is controlled, or it aids in the management of
161      another device for Energy Management.";
162 }
163
164 identity battery {
165   base ianahw:hardware-class;
166   description
167     "This identity is applicable if the hardware class is some sort
168      of battery.";
169 }
170
171 identity storage-drive {
172   base ianahw:hardware-class;
173   description
174     "This identity is applicable if the hardware class is some sort
175      of component with data storage capability as its main
176      functionality, e.g., hard disk drive (HDD), solid-state device
177      (SSD), solid-state hybrid drive (SSHD), object storage device
178      (OSD), or other.";
179 }
180 }