1 module yes-o1-notify-pnf-registration-ietf-hardware {
3 namespace "urn:o-ran-sc:params:xml:ns:yang:yes-o1-notify-pnf-registration-ietf-hardware";
6 import ietf-interfaces {
9 "RFC: 8343: A YANG Data Model for Interface Management";
12 import o-ran-wg4-features {
15 "ORAN-WG4.M.0-v05.00";
18 import o-ran-interfaces {
21 "ORAN-WG4.M.0-v05.00";
24 import o-ran-hardware {
27 "ORAN-WG4.M.0-v05.00";
30 import yang-based-event-stream {
33 "wiki.opnfv.org/display/ves/VES+goes+YES";
35 import yes-o1-notify-pnf-registration {
38 import ietf-hardware {
41 "RFC 8348: A YANG Data Model for Hardware Management";
45 "O-RAN Software Community";
49 "The module extends yes-o1-notify-pnf-registration with hardware information
50 and parameters according to RFC 8348.
52 Copyright 2022 highstreet technologies GmbH and others.
54 Licensed under the Apache License, Version 2.0 (the 'License');
55 you may not use this file except in compliance with the License.
56 You may obtain a copy of the License at
58 http://www.apache.org/licenses/LICENSE-2.0
60 Unless required by applicable law or agreed to in writing, software
61 distributed under the License is distributed on an 'AS IS' BASIS,
62 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
63 See the License for the specific language governing permissions and
64 limitations under the License.";
70 "O-RAN Operations and Maintenance Interface Specification (O-RAN.WG10.O1-Interface.0-v07.00)
71 section 2.7.2.4 Operations and Notifications
72 RFC 8348: A YANG Data Model for Hardware Management";
78 grouping hardware-grp {
81 path '/hw:hardware/hw:component/hw:serial-num';
85 "The serial number of the network function.";
87 // macAddress - O /if:interfaces/if:interface/o-ran-int:mac-address
90 path '/if:interfaces/if:interface/o-ran-int:mac-address';
93 "The MAC address of OAM interface of the network function.";
97 path '/hw:hardware/hw:component/hw:model-name';
100 "Version or name of the network function from the vendor.";
102 leaf software-version {
104 path '/hw:hardware/hw:component/hw:software-rev';
107 "The active software version running on the network function.";
109 leaf manufacture-date {
111 path '/hw:hardware/hw:component/hw:mfg-date';
114 "Manufacture date of the network function.";
116 leaf last-service-date {
117 if-feature "o-ran-feat:NON-PERSISTENT-MPLANE";
119 path '/hw:hardware/hw:component/o-ran-hw:last-service-date';
122 "Date when the field operation staff way on-side.";
125 "An object class containing o1-notify-pnf-registration specific parameters
126 according to RFC 8348.";
130 * Augmentation of o1-notify-pnf-registration
133 // vendorName M /hw:hardware/hw:component/hw:mfg-name
134 augment "/yes:event-history/yes:event/ypr:o1-notify-pnf-registration/ypr:vendor" {
138 path '/hw:hardware/hw:component/hw:mfg-name';
141 "Network function vendor name according to IANA Private Enterprise Numbers";
145 "Exposing the vendor-name as defined by IETF.";
148 augment "/yes:yang-based-event-stream/yes:event/ypr:o1-notify-pnf-registration/ypr:vendor" {
152 path '/hw:hardware/hw:component/hw:mfg-name';
155 "Network function vendor name according to IANA Private Enterprise Numbers";
159 "Exposing the vendor-name as defined by ietf:";
161 "3GPP TS 28.632 vendorName";
164 augment "/yes:event-history/yes:event/ypr:o1-notify-pnf-registration" {
165 if-feature "yes:event-history";
168 "Adds to o1-notify-pnf-registration container within the historic data
169 the hardware information and parameters according to ietf.";
172 augment "/yes:yang-based-event-stream/yes:event/ypr:o1-notify-pnf-registration" {
175 "Adds to o1-notify-pnf-registration container within the notification
176 syntax the hardware information and parameters according to ietf.";