4 namespace "urn:opendaylight:params:xml:ns:yang:devicemanager";
9 revision-date 2020-11-10;
11 import ietf-yang-types {
15 "highstreet technologies GmbH";
17 "Web: <https://highstreet-technologies.com>
18 ONAP: <https://wiki.onap.org/display/DW/ODLUX+DB+API>";
21 "DeviceManager Api Module
23 Copyright 2019 highstreet technologies GmbH Intellectual Property.
25 Update Copyright 2021 Samsung Electronics Intellectual Property.
28 Licensed under the Apache License, Version 2.0 (the 'License');
29 you may not use this file except in compliance with the License.
30 You may obtain a copy of the License at
32 http://www.apache.org/licenses/LICENSE-2.0
34 Unless required by applicable law or agreed to in writing, software
35 distributed under the License is distributed on an 'AS IS' BASIS,
36 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
37 See the License for the specific language governing permissions and
38 limitations under the License.";
44 "https://jira.onap.org/browse/SDNC-877";
47 notification object-creation-notification {
48 uses object-creation-notification-g;
51 grouping object-creation-notification-g {
55 description "Counts object creation notifications.";
58 type yang:date-and-time;
59 default "2017-01-01T00:00:00.0Z";
64 description "ID of the affected MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac.";
68 default "Type of created object not specified.";
69 description "Type of Object to be chosen from the following list of values: 'MW_AirInterface_Pac', 'MW_AirInterfaceDiversity_Pac', 'MW_Structure_Pac', 'MW_PureEthernetStructure_Pac', 'MW_HybridMwStructure_Pac', 'MW_Container_Pac', 'MW_EthernetContainer_Pac' or 'MW_TdmContainer_Pac'.";
71 description "To be sent when a new MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac has to be instancieted in the controller.";
73 notification object-deletion-notification {
74 uses object-deletion-notification-g;
77 grouping object-deletion-notification-g {
81 description "Counts object deletion notifications.";
84 type yang:date-and-time;
85 default "2017-01-01T00:00:00.0Z";
90 description "ID of the affected MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac.";
92 description "To be sent when a new MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac instance has to be deleted in the controller.";
94 notification attribute-value-changed-notification {
95 uses attribute-value-changed-notification-g;
98 grouping attribute-value-changed-notification-g {
102 description "Counts attribute value changed notifications.";
105 type yang:date-and-time;
106 default "2017-01-01T00:00:00.0Z";
111 description "ID of the affected MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac.";
113 leaf attribute-name {
115 default "Attribute name not specified.";
116 description "Name of the attribute that has been changed.";
120 default "New value not specified.";
121 description "Attribute value converted to a string (xml, json, ...)";
123 description "To be sent when an attribute has changed and one or more controllers have to update their data.";
125 notification problem-notification {
126 uses problem-notification-g;
129 grouping problem-notification-g {
133 description "Counts problem notifications";
136 type yang:date-and-time;
137 default "2017-01-01T00:00:00.0Z";
142 description "ID of the affected MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac.";
146 default "Problem name not specified.";
147 description "Name of the problem according to AirInterface::AirInterfaceCapability::supportedAlarms or AirInterfaceDiversity::AirInterfaceDiversityCapability::supportedAlarms or Structure::StructureCapability::supportedAlarms or PureEthernetStructure::PureEthernetStructureCapability::supportedAlarms or HybridMwStructure::HybridMwStructureCapability::supportedAlarms or Container::ContainerCapability::supportedAlarms or EthernetContainer::EthernetContainerCapability::supportedAlarms or TdmContainer::TdmContainerCapability::supportedAlarms.";
152 description "Severity of the problem according to AirInterface::AirInterfaceConfiguration::problemSeverityList, AirInterfaceDiversity::AirInterfaceDiversityConfiguration::problemSeverityList, Structure::StructureConfiguration::problemSeverityList, PureEthernetStructure::PureEthernetStructureConfiguration::problemSeverityList, HybridMwStructure::HybridMwStructureConfiguration::problemSeverityList, Container::ContainerConfiguration::problemSeverityList, EthernetContainer::EthernetContainerConfiguration::problemSeverityList or TdmContainer::TdmContainerConfiguration::problemSeverityList";
154 description "To be sent when a problem occurs at a MW_AirInterface_Pac, MW_AirInterfaceDiversity_Pac, MW_Structure_Pac, MW_PureEthernetStructure_Pac, MW_HybridMwStructure_Pac, MW_Container_Pac, MW_EthernetContainer_Pac or MW_TdmContainer_Pac.";
156 typedef severity-type {
174 description "According to ITU-T M.3160";
177 rpc set-maintenance-mode {
179 "Set maintenance mode for network element";
181 uses data-provider:maintenance-entity;
184 uses data-provider:maintenance-entity;
188 rpc get-maintenance-mode {
190 "Get maintenance mode Configuration";
192 leaf mountpoint-name {
195 "Mountpoint-name as key of node";
199 uses data-provider:maintenance-entity;
203 rpc test-maintenance-mode {
205 "Send test pattern similar to notification that are test from algorithm";
207 leaf mountpoint-name {
211 "mountpoint for test";
217 "object id for test";
229 "point in time used for the test";
237 "Describin if mountpoint was found and result of maintenance mode testing";
239 uses data-provider:maintenance-entity;
243 rpc show-required-network-element {
245 "Get information for required network element";
247 leaf mountpoint-name {
251 "Mountpoint-name as key of the node to be displayed.";
255 container required-network-element {
256 leaf mountpoint-name {
259 "The name of the mountpoint";
264 "Status: pre-provisoning, installed, end-of-life (Later enum)";
269 "Device description";
272 "An output object presenting a network element (or device, NetConf
273 server, network function) which is expected to be connected.";
278 rpc get-required-network-element-keys {
280 "Returns a list of netconf nodes for each data store space";
282 leaf-list mountpoint-names {
285 "List of required-network-element keys that are the mountpoint-names";
290 rpc clear-current-fault-by-nodename {
292 "try to clear alarms and sync the alarm with the devices currently connected";
294 leaf-list nodenames {
297 "list of network-elements to clear alarms for nodenames, if list empty then all";
301 leaf-list nodenames {
304 "list of network-elements alarms cleared";
309 rpc push-fault-notification {
311 "Forward fault problem notification of a network-element";
313 uses data-provider:object-change-reference;
314 uses data-provider:fault;
318 rpc push-cm-notification {
320 "Forward CM notification";
322 uses data-provider:object-change-reference;
323 uses data-provider:cm;
327 rpc push-attribute-change-notification {
329 "Forward attribute change notification of a network-element";
331 uses data-provider:object-change-reference;
332 uses data-provider:attribute-change;