summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-08-31 10:43:46 +0200
committerMarek Gradzki <mgradzki@cisco.com>2017-09-05 15:39:31 +0000
commit34784c7bc9e0e1177b85cd6f7fca57378fc613ad (patch)
tree89174fbd616ccb827625a8848e290f628f7359b0
parent2c390365f13f5aa8d92672254cee6fae16ba823a (diff)
HONEYCOMB-389 - Netconf whitelist
Change-Id: I279f77fcada863c7ece2c2368fc4b5f957b45435 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
-rw-r--r--infra/northbound/netconf/pom.xml6
-rw-r--r--infra/northbound/netconf/src/main/resources/honeycomb-minimal-resources/config/netconf-whitelist.xml129
2 files changed, 135 insertions, 0 deletions
diff --git a/infra/northbound/netconf/pom.xml b/infra/northbound/netconf/pom.xml
index 562073b03..0e9cf53bb 100644
--- a/infra/northbound/netconf/pom.xml
+++ b/infra/northbound/netconf/pom.xml
@@ -30,6 +30,12 @@
<artifactId>netconf</artifactId>
<version>1.17.10-SNAPSHOT</version>
+ <properties>
+ <yang.modules.whitelist>
+ ${project.basedir}/src/main/resources/honeycomb-minimal-resources/config/netconf-whitelist.xml
+ </yang.modules.whitelist>
+ </properties>
+
<dependencies>
<!-- DI-->
<dependency>
diff --git a/infra/northbound/netconf/src/main/resources/honeycomb-minimal-resources/config/netconf-whitelist.xml b/infra/northbound/netconf/src/main/resources/honeycomb-minimal-resources/config/netconf-whitelist.xml
new file mode 100644
index 000000000..7b69a0253
--- /dev/null
+++ b/infra/northbound/netconf/src/main/resources/honeycomb-minimal-resources/config/netconf-whitelist.xml
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<yangModuleWhitelist>
+ <modules>
+ <module>
+ <package>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715</package>
+ <description>
+ This module contains a collection of generally useful derived
+ YANG data types for Internet addresses and related things.
+
+ Dependency for network-topology,ietf-netconf-notifications,network-topology
+ </description>
+ </module>
+ <module>
+ <package>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.library.rev160621</package>
+ <description>
+ This module contains monitoring information about the YANG
+ modules and submodules that are used within a YANG-based
+ server.
+
+ Required for mounting of netconf devices(Operational read does not work without it)
+ </description>
+ </module>
+ <module>
+ <package>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.base._1._0.rev110601</package>
+ <description>
+ NETCONF Protocol Data Types and Protocol Operations.
+
+ Dependency of ietf-netconf-notifications
+ </description>
+ </module>
+ <module>
+ <package>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206
+ </package>
+ <description>
+ This module defines a YANG data model for use with the
+ NETCONF protocol that allows the NETCONF client to
+ receive common NETCONF base event notifications.
+
+ Directly used for netconf notification binding
+ </description>
+ </module>
+ <module>
+ <package>org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev130712</package>
+ <description>
+ Required for mounting of netconf devices(Operational read does not work without it)
+ </description>
+ </module>
+ <module>
+ <package>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.notification._1._0.rev080714</package>
+ <description>
+ Conversion of the 'ncEvent' XSD in the
+ NETCONF Notifications RFC.
+
+ Directly used for netconf notification binding
+ </description>
+ </module>
+ <module>
+ <package>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netmod.notification.rev080714</package>
+ <description>
+ Conversion of the 'manageEvent' XSD in the NETCONF
+ Notifications RFC.
+
+ Directly used for netconf notification binding
+ </description>
+ </module>
+ <module>
+ <package>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.monitoring.rev101004
+ </package>
+ <description>
+ NETCONF Monitoring Module.
+ All elements in this module are read-only.
+
+ Required for mounting of netconf devices(Operational read does not work without it)
+ </description>
+ </module>
+ <module>
+ <package>
+ org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.netconf.northbound.notification.rev150806
+ </package>
+ <description>
+ This module contains the base YANG definitions for
+ netconf northbound notifications API
+
+ Directly used for netconf notification binding
+ </description>
+ </module>
+ <module>
+ <package>
+ org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.protocol.framework.rev140313
+ </package>
+ <description>
+ This module contains the base YANG definitions for
+ protocol framework.
+
+ Required for mounting of netconf devices(Operational read does not work without it)
+ </description>
+ </module>
+ <module>
+ <package>
+ org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.netconf.north.mapper.rev150114
+ </package>
+ <description>
+ This module contains the base YANG definitions for
+ mapping services plugged into a netconf northbound server
+
+ Required for mounting of netconf devices(Operational read does not work without it)
+ </description>
+ </module>
+ <module>
+ <package>
+ org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.config.netconf.auth.rev150715
+ </package>
+ <description>
+ This module contains the base YANG definitions for
+ netconf northbound server API
+
+ Required for mounting of netconf devices(Operational read does not work without it)
+ </description>
+ </module>
+ <module>
+ <package>
+ org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.monitoring.extension.rev131210
+ </package>
+ <description>
+ Required for mounting of netconf devices(Operational read does not work without it)
+ </description>
+ </module>
+ </modules>
+</yangModuleWhitelist>