diff options
author | Jan Srnicek <jsrnicek@cisco.com> | 2017-08-31 09:51:39 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2017-09-05 15:39:31 +0000 |
commit | 2c390365f13f5aa8d92672254cee6fae16ba823a (patch) | |
tree | 02dc033e610ae375c57c4c94e7462ebad86997a9 /infra/northbound | |
parent | bb9141c63012d0305ac65da763af3fb0c427076f (diff) |
HONEYCOMB-389 - Restconf whitelist
Change-Id: I4c60d0ea569e85b23a9d0127ef496545fc475a61
Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'infra/northbound')
-rw-r--r-- | infra/northbound/restconf/pom.xml | 3 | ||||
-rw-r--r-- | infra/northbound/restconf/src/main/resources/honeycomb-minimal-resources/config/restconf-whitelist.xml | 43 |
2 files changed, 46 insertions, 0 deletions
diff --git a/infra/northbound/restconf/pom.xml b/infra/northbound/restconf/pom.xml index 1f3d2db13..49e5a9013 100644 --- a/infra/northbound/restconf/pom.xml +++ b/infra/northbound/restconf/pom.xml @@ -34,6 +34,9 @@ <jersey.version>1.19.1</jersey.version> <servlet.version>3.1.0</servlet.version> <jetty.version>9.3.11.v20160721</jetty.version> + <yang.modules.whitelist> + ${project.basedir}/src/main/resources/honeycomb-minimal-resources/config/restconf-whitelist.xml + </yang.modules.whitelist> </properties> <dependencies> diff --git a/infra/northbound/restconf/src/main/resources/honeycomb-minimal-resources/config/restconf-whitelist.xml b/infra/northbound/restconf/src/main/resources/honeycomb-minimal-resources/config/restconf-whitelist.xml new file mode 100644 index 000000000..5274cf4a7 --- /dev/null +++ b/infra/northbound/restconf/src/main/resources/honeycomb-minimal-resources/config/restconf-whitelist.xml @@ -0,0 +1,43 @@ +<?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 ietf-restconf-monitoring + </description> + </module> + <module> + <package>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715</package> + <description> + This module contains a collection of generally useful derived + YANG data types. + + Dependency for ietf-restconf-monitoring + </description> + </module> + <module> + <package>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.restconf.monitoring.rev170126 + </package> + <description> + This module contains monitoring information for the + RESTCONF protocol. + + Required for mounting of netconf devices + </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 + </description> + </module> + </modules> +</yangModuleWhitelist> |