1 module yes-attribute-value-change {
3 namespace "urn:opnfv:params:xml:ns:yang:attribute-value-change";
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 contains a collection of YANG definitions for sending an
23 attribute value change notification.
25 Copyright 2020 highstreet technologies GmbH and others.
27 Licensed under the Apache License, Version 2.0 (the 'License');
28 you may not use this file except in compliance with the License.
29 You may obtain a copy of the License at
31 http://www.apache.org/licenses/LICENSE-2.0
33 Unless required by applicable law or agreed to in writing, software
34 distributed under the License is distributed on an 'AS IS' BASIS,
35 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
36 See the License for the specific language governing permissions and
37 limitations under the License.";
43 "ONAP SDN-R: wiki.onap.org/display/DW/SDN-R
44 VES: wiki.opnfv.org/display/ves/VES+Home
45 docs.onap.org/en/frankfurt/submodules/dcaegen2.git/docs/sections/services/ves-http
46 YES: wiki.opnfv.org/display/ves/VES+goes+YES";
52 grouping attribute-value-change-grp {
53 leaf object-reference {
54 type instance-identifier {
55 require-instance false;
59 "A reference to the object containing the attribute (leaf).";
64 "The YANG module, which defines the type of the attribute
65 identified by its namespace.";
69 "The new value which should be use on client datastores.
70 It must be ensured that the value is defined by a yang module.
71 if the new value is not delivered the manager (NMS;
72 SDN-Controller, SMO, MnS, ...) must send a GET of GET-CONFIG
73 request to the API provider. ";
77 "The new value which should be use on client datastores.
78 It must be ensured that the value is defined by a yang module.";
81 "An object class containing pnf-registration specific parameters.";
87 augment "/yes:event-history/yes:event" {
88 when "derived-from-or-self(/yes:event-history/yes:event/yes:header/yes:domain, 'yavc:attribute-value-change')" {
90 "The event header must indicate 'attribute-value-change'.";
92 if-feature yes:event-history;
93 list attribute-value-change {
94 uses attribute-value-change-grp;
96 "A single object for specific parameters, used for the any change
100 "Adds to YES the specifics of attribute-value-change notifications.";
103 augment "/yes:yang-based-event-stream/yes:event" {
104 when "derived-from-or-self(/yes:yang-based-event-stream/yes:event/yes:header/yes:domain, 'yavc:attribute-value-change')" {
106 "The event header must indicate 'attribute-value-change'.";
108 list attribute-value-change {
109 uses attribute-value-change-grp;
111 "A single object for specific parameters, used for the any change
115 "Adds to YES the specifics of attribute-value-change notifications.";