Add blueprint wiring for mdsal-netconf-yang-library
[netconf.git] / netconf / netconf-impl / src / main / yang / netconf-northbound-impl.yang
1 // vi: set smarttab et sw=4 tabstop=4:
2 module netconf-northbound-impl {
3
4     yang-version 1;
5     namespace "urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl";
6     prefix "cfg-net-s-i";
7
8     import config { prefix config; revision-date 2013-04-05; }
9     import netconf-northbound-mapper { prefix nnm; revision-date 2015-01-14; }
10     import netconf-northbound { prefix nn; revision-date 2015-01-14; }
11     import netty {prefix netty; }
12     import threadpool {prefix th;}
13
14     description
15         "This module contains the base YANG definitions for
16         netconf-server-dispatcher implementation.
17
18         Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
19
20         This program and the accompanying materials are made available
21         under the terms of the Eclipse Public License v1.0 which
22         accompanies this distribution, and is available at
23         http://www.eclipse.org/legal/epl-v10.html";
24
25     revision "2015-01-12" {
26         description
27             "Initial revision.";
28     }
29
30     identity netconf-server-dispatcher-impl {
31             base config:module-type;
32             config:provided-service nn:netconf-server-dispatcher;
33             config:java-name-prefix NetconfServerDispatcher;
34             status deprecated;
35     }
36
37     augment "/config:modules/config:module/config:configuration" {
38         status deprecated;
39         case netconf-server-dispatcher-impl {
40             when "/config:modules/config:module/config:type = 'netconf-server-dispatcher-impl'";
41
42         }
43     }
44
45
46     identity netconf-server-monitoring-impl {
47             base config:module-type;
48             config:provided-service nn:netconf-server-monitoring;
49             config:java-name-prefix NetconfServerMonitoring;
50             status deprecated;
51     }
52
53     // TODO Monitoring could expose the monitoring data over JMX...
54
55     augment "/config:modules/config:module/config:configuration" {
56         status deprecated;
57         case netconf-server-monitoring-impl {
58             when "/config:modules/config:module/config:type = 'netconf-server-monitoring-impl'";
59
60         }
61     }
62
63     identity netconf-mapper-aggregator {
64         base config:module-type;
65         config:provided-service nnm:netconf-northbound-mapper;
66         config:provided-service nnm:netconf-mapper-registry;
67         config:java-name-prefix NetconfMapperAggregator;
68         description "Aggregated operation provider for netconf servers. Joins all the operations and capabilities of all the mappers it aggregates and exposes them as a single service. The dependency orientation is reversed in order to prevent cyclic dependencies when monitoring service is considered";
69         status deprecated;
70     }
71
72     augment "/config:modules/config:module/config:configuration" {
73         status deprecated;
74         case netconf-mapper-aggregator {
75             when "/config:modules/config:module/config:type = 'netconf-mapper-aggregator'";
76
77         }
78     }
79
80 }