3 namespace "urn:opnfv:params:xml:ns:yang:yes-heartbeat";
6 import yang-based-event-stream {
9 "wiki.opnfv.org/display/ves/VES+goes+YES";
14 "wiki.opnfv.org/display/ves/VES+goes+YES";
18 "Open Platform for NFV (OPNFV) - Virtual Event Streaming (VES) project";
20 "wiki.opnfv.org/display/ves";
22 "This module is inspired by VES 7.1.1 but uses YANG concepts and types to
23 describe the exchanged data format.
24 The module yes-heartbeat is only required, if the network function sends
25 HTTP-POST RESTCONF messages to the SMO, otherwise the native NETCONF
26 capabilities will be sufficient.
28 Copyright 2020 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";
58 "Indicates, that the event body contains heartbeat asynchronous
65 grouping heartbeat-grp {
73 "The current heartbeat interval in seconds. The minimal heartbeat
74 interval is 1 minute avoiding overloading the management plane
75 network. The maximal interval is 24h to ensure a daily
79 "An object class containing heartbeat specific parameters.";
85 augment "/yes:event-history/yes:event" {
86 when "derived-from-or-self(/yes:event-history/yes:event/yes:header/yes:domain, 'yh:heartbeat')" {
88 "The event header must indicate 'heartbeat'.";
90 if-feature yes:event-history;
94 "A single object for heartbeat specific parameters.";
97 "Adds to YES the specifics of heartbeat notifications.";
100 augment "/yes:yang-based-event-stream/yes:event" {
101 when "derived-from-or-self(/yes:yang-based-event-stream/yes:event/yes:header/yes:domain, 'yh:heartbeat')" {
103 "The event header must indicate 'heartbeat'.";
105 container heartbeat {
108 "A single object for heartbeat specific parameters.";
111 "Adds to YES the specifics of heartbeat notifications.";