1 // vi: set smarttab et sw=4 tabstop=4:
2 module netconf-northbound-impl {
5 namespace "urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl";
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;}
15 "This module contains the base YANG definitions for
16 netconf-server-dispatcher implementation.
18 Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
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";
25 revision "2015-01-12" {
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;
37 augment "/config:modules/config:module/config:configuration" {
39 case netconf-server-dispatcher-impl {
40 when "/config:modules/config:module/config:type = 'netconf-server-dispatcher-impl'";
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;
53 // TODO Monitoring could expose the monitoring data over JMX...
55 augment "/config:modules/config:module/config:configuration" {
57 case netconf-server-monitoring-impl {
58 when "/config:modules/config:module/config:type = 'netconf-server-monitoring-impl'";
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";
72 augment "/config:modules/config:module/config:configuration" {
74 case netconf-mapper-aggregator {
75 when "/config:modules/config:module/config:type = 'netconf-mapper-aggregator'";