1 module yes-o1-notify-pnf-registration-additional-fields {
3 namespace "urn:o-ran-sc:params:xml:ns:yang:yes-o1-notify-pnf-registration-additional-fields";
6 import yang-based-event-stream {
9 "wiki.opnfv.org/display/ves/VES+goes+YES";
11 import yes-o1-notify-pnf-registration {
14 "O-RAN Operations and Maintenance Interface Specification (O-RAN.WG10.O1-Interface.0-v07.00)
15 section 2.7.2.4 Operations and Notifications";
19 "O-RAN Software Community";
23 "This module is inspired by VES 7.1.1 but uses YANG concepts and types to
24 describe the exchanged data format.
25 This module augments yes-o1-notify-pnf-registration for vendor specific
28 Copyright 2022 highstreet technologies GmbH and others.
30 Licensed under the Apache License, Version 2.0 (the 'License');
31 you may not use this file except in compliance with the License.
32 You may obtain a copy of the License at
34 http://www.apache.org/licenses/LICENSE-2.0
36 Unless required by applicable law or agreed to in writing, software
37 distributed under the License is distributed on an 'AS IS' BASIS,
38 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
39 See the License for the specific language governing permissions and
40 limitations under the License.";
46 "ONAP SDN-R: wiki.onap.org/display/DW/SDN-R
47 VES: wiki.opnfv.org/display/ves/VES+Home
48 docs.onap.org/en/frankfurt/submodules/dcaegen2.git/docs/sections/services/ves-http
49 YES: wiki.opnfv.org/display/ves/VES+goes+YES
50 O-RAN Operations and Maintenance Interface Specification (O-RAN.WG10.O1-Interface.0-v07.00)
51 section 2.7.2.4 Operations and Notifications";
58 grouping o1-notify-pnf-registration-additional-fields-grp {
59 // TODO align with ietf-hardware, ONAP AAI, ONF manufactured-thing
60 leaf transport-protocol {
70 "RFC7589: Using the NETCONF Protocol over Transport Layer Security (TLS)
71 with Mutual X.509 Authentication";
76 "Defines the security protocol for NETCONF";
83 "The username for the connection.";
85 choice transport-protocol-details {
92 "The user's password for the SSH session.";
97 "BASE-64 encoded public key which is used by the network-function
98 during the connection.";
105 "Key identifier inside the NETCONF server's keystore.
106 It is used during two-way TLS authentication.";
108 "ietf-keystore.yang";
112 "Provides connectivity details for one of the supported transport protocols";
114 leaf reconnect-on-changed-schema {
118 "Defines if the NETCONF client should reconnect to the network
119 function, if new YANG capabilities are exposed.";
121 leaf connection-timeout {
126 "Defines the NETCONF client timeout to indicate that the connection
129 leaf max-connection-attempts {
133 "Defines the number of attempts by the NETCONF client to connect
134 to the NETCONF server, before the automated connection function, by
135 the NETCONF client is switched off. The value 0 means 'infinity'.";
137 leaf between-attempts-timeout {
142 "Defines the first delay time in milliseconds to try a new reconnect
143 by the NETCONF client. For the next attempts the values is
144 multiplied with the 'sleep-factor'.";
153 "Defines the factor to increase the reconnect attempt.";
155 leaf keepalive-delay {
160 "Defines the time in seconds between two 'empty' NETCONF request to
161 check if the NETCONF server is functional or can be reached. The
162 value 0 turns of such function.";
165 "An object class containing o1-notify-pnf-registration additional fields.";
169 * Augmentation of o1-notify-pnf-registration
172 augment "/yes:event-history/yes:event/ypr:o1-notify-pnf-registration" {
173 when "derived-from-or-self(/yes:event-history/yes:event/yes:header/yes:domain, 'ypr:o1-notify-pnf-registration')" {
175 "The event header must indicate 'o1-notify-pnf-registration'.";
177 if-feature "yes:event-history";
178 uses o1-notify-pnf-registration-additional-fields-grp;
180 "Adds additional fields to o1-notify-pnf-registration notifications.";
183 augment "/yes:yang-based-event-stream/yes:event/ypr:o1-notify-pnf-registration" {
184 when "derived-from-or-self(/yes:yang-based-event-stream/yes:event/yes:header/yes:domain, 'ypr:o1-notify-pnf-registration')" {
186 "The event header must indicate 'o1-notify-pnf-registration'.";
188 uses o1-notify-pnf-registration-additional-fields-grp;
190 "Adds additional fields to o1-notify-pnf-registration notifications.";