4 namespace "urn:opendaylight:params:xml:ns:yang:devicemanager";
5 prefix "devicemanager";
8 "DeviceManager Api Module";
10 revision "2019-01-09" {
15 grouping maintenance-mode-g {
20 "Mountpoint-name as key of node";
29 container definition {
34 "object id to filter on";
40 "name of the problem to filter";
53 "begin of maintenance-mode";
59 "end of maintenance-mode";
64 rpc set-maintenance-mode{
66 "Set maintenance mode for network element";
68 uses maintenance-mode-g;
71 uses maintenance-mode-g;
74 rpc get-maintenance-mode{
76 "Get maintenance mode Configuration";
82 "Mountpoint-name as key of node";
86 uses maintenance-mode-g;
89 rpc test-maintenance-mode{
91 "Send test pattern similar to notification that are test from algorithm";
93 leaf mountpoint-name {
96 description "mountpoint for test";
101 description "object id for test";
106 description "problem for test";
111 description "point in time used for the test";
119 description "Describin if mountpoint was found and result of maintenance mode testing";
121 uses maintenance-mode-g;
124 rpc show-required-network-element {
126 "Get information for required network element";
129 leaf mountpoint-name {
133 "Mountpoint-name as key of the node to be displayed.";
137 container required-network-element {
138 leaf mountpoint-name {
141 "The name of the mountpoint";
146 "Status: pre-provisoning, installed, end-of-life (Later enum)";
150 description "Device description";
156 rpc get-required-network-element-keys {
158 "Returns a list of netconf nodes for each data store space";
161 leaf-list mountpoint-names {
164 "List of required-network-element keys that are the mountpoint-names";
169 rpc clear-current-fault-by-nodename {
171 "try to clear alarms and sync the alarm with the devices currently connected";
173 leaf-list nodenames {
176 "list of network-elements to clear alarms for nodenames, if list empty then all";
180 leaf-list nodenames {
183 "list of network-elements alarms cleared";