Improve validation for invalid files in schemas dir 35/99935/8
authorOleksandrZharov <Oleksandr.Zharov@pantheon.tech>
Wed, 2 Mar 2022 14:33:24 +0000 (15:33 +0100)
committerTomas Cere <tomas.cere@pantheon.tech>
Thu, 3 Mar 2022 11:36:57 +0000 (11:36 +0000)
commit0a1d0c2b779ae95ae8b0e67f02c820cb89402b30
tree76283dc3a4c3f0a10aa9e43b54ca4cb4f3cc8619
parentca56779056f1e1c4edb89e689b07a88105421cae
Improve validation for invalid files in schemas dir

Previous validation of schema files was not very specific if
there was problems with files. Now there is more direct message if
something wrong with yang files.

Removed logic that rename not yang files into .yang in schema dir.
We are storing yang models only in .yang files. Therefore all other
files should be rejected.

JIRA: NETCONF-707
Change-Id: Iad4b91fd534eef8ea134a9463de3dab618fe969e
Signed-off-by: OleksandrZharov <Oleksandr.Zharov@pantheon.tech>
netconf/tools/netconf-testtool/src/main/java/org/opendaylight/netconf/test/tool/NetconfDeviceSimulator.java
netconf/tools/netconf-testtool/src/main/java/org/opendaylight/netconf/test/tool/TesttoolParameters.java