Update websocketmanager's NotificationOutput interface
[ccsdk/features.git] / sdnr / wt / websocketmanager / model / src / main / yang / websocketmanager.yang
1 module websocketmanager {
2
3   yang-version 1;
4   namespace "urn:opendaylight:params:xml:ns:yang:websocketmanager";
5   prefix websocketmanager;
6
7   import ietf-yang-types {
8     prefix yang;
9   }
10   organization
11     "highstreet technologies GmbH";
12   contact
13     "Web:   <https://highstreet-technologies.com>
14      ONAP:  <https://wiki.onap.org/display/DW/SDN-R+Websocketmanager+Upgrade>";
15
16   description
17     "Websocketmanager Api Module
18
19      Copyright 2021 highstreet technologies GmbH Intellectual Property.
20      All rights reserved.
21
22      Licensed under the Apache License, Version 2.0 (the 'License');
23      you may not use this file except in compliance with the License.
24      You may obtain a copy of the License at
25
26        http://www.apache.org/licenses/LICENSE-2.0
27
28      Unless required by applicable law or agreed to in writing, software
29      distributed under the License is distributed on an 'AS IS' BASIS,
30      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31      See the License for the specific language governing permissions and
32      limitations under the License.";
33
34   revision 2021-03-22 {
35     description
36       "Initial revision";
37   }
38
39   notification items-dropped-notification {
40       uses items-dropped-notification-g;
41       description "none";
42   }
43   grouping items-dropped-notification-g {
44       leaf amount {
45           type uint32;
46           default 0;
47           description "Counts of notifications that were dropped.";
48       }
49       description "To be sent when notifications were dropped in fact of a set ratio limit.";
50   }
51 }