1 module o-ran-sc-hardware-v1 {
3 namespace "urn:o-ran:sc:hardware:1.0";
6 import o-ran-sc-root-v1 {
12 "RFC 8348: A YANG Data Model for Hardware Management";
16 "O-RAN Software Community";
20 "This module augements the o-ran-sc-controlled-element and
21 o-ran-sc-controlled-function object by adding ietf-hardware.
23 Copyright 2020 the O-RAN Alliance.
25 Licensed under the Apache License, Version 2.0 (the 'License');
26 you may not use this file except in compliance with the License.
27 You may obtain a copy of the License at
29 http://www.apache.org/licenses/LICENSE-2.0
31 Unless required by applicable law or agreed to in writing, software
32 distributed under the License is distributed on an 'AS IS' BASIS,
33 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34 See the License for the specific language governing permissions and
35 limitations under the License.";
41 "O-RAN-OAM-Interface-Specification (O1)";
48 typedef hardware-ref {
50 path "/hw:hardware/hw:component/hw:name";
53 "This type is used by data models that need to reference
61 grouping hardware-grp {
62 leaf-list hardware-reference {
66 "A list of ietf-hardware references using the hardware name as key.";
69 "A group adding ietf-hardware references.";
76 augment "/root:controlled-element" {
79 "An augmentation, which adds ietf-hardware
80 to root:controlled-element.";
83 augment "/root:controlled-element/root:controlled-function" {
86 "An augmentation, which adds ietf-hardware
87 to root:controlled-function.";