1bb9141c6SJan Srnicek= whitelist-aggregator
2bb9141c6SJan Srnicek
3bb9141c6SJan SrnicekYang whitelist's are used to restrict list of modules that will be loaded to SchemaContext
4bb9141c6SJan Srnicekper maven module.
5bb9141c6SJan Srnicek
6bb9141c6SJan Srnicek== Usage
7bb9141c6SJan Srnicek
8bb9141c6SJan SrnicekTwo steps are required to use this feature.
9bb9141c6SJan Srnicek
10bb9141c6SJan Srnicek * Define ***.xml file that defines whitelist itself like so:
11bb9141c6SJan Srnicek
12bb9141c6SJan Srnicek[source,xml]
13bb9141c6SJan Srnicek----
14bb9141c6SJan Srnicek<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
15bb9141c6SJan Srnicek<yangModuleWhitelist>
16bb9141c6SJan Srnicek     <modules>
17bb9141c6SJan Srnicek         <module>
18bb9141c6SJan Srnicek             <package>Package name of YangModuleProvider class generated for respective yang model</package>
19bb9141c6SJan Srnicek             <description>General description for model</description>
20bb9141c6SJan Srnicek         </module>
21bb9141c6SJan Srnicek     ...
22bb9141c6SJan Srnicek     </modules>
23bb9141c6SJan Srnicek</yangModuleWhitelist>
24bb9141c6SJan Srnicek----
25bb9141c6SJan Srnicek
26bb9141c6SJan Srnicek * Define *yang.modules.whitelist* property in you project pom
27bb9141c6SJan Srnicek
28bb9141c6SJan Srnicek[source,xml]
29bb9141c6SJan Srnicek----
30bb9141c6SJan Srnicek<yang.modules.whitelist>
31bb9141c6SJan Srnicek  ${project.basedir}/src/main/resources/honeycomb-minimal-resources/config/restconf-whitelist.xml
32bb9141c6SJan Srnicek</yang.modules.whitelist>
33bb9141c6SJan Srnicek----
34