commit | b52dc25300ff53d3c41bc66d1dc9adea8943bd1e | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Wed Dec 04 13:03:39 2019 +0100 |
committer | Václav Kubernát <kubernat@cesnet.cz> | Fri Dec 06 15:02:46 2019 +0100 |
tree | 35a266437f6d8306e2ef28370566eb1ac61bd10d | |
parent | 5395e715f637d43b429623dc07744cffd0351739 [diff] |
Fix NetconfAccess not being able to fetch submodules When I implemented SysrepoAccess, I ignored the submoduleRevision argument in the "libyang missing schema callback" as Sysrepo seemed to work just fine without supplying it. However, libnetconf needs it because one can't supply both module name and submodule name to a <get-schema> request. Now, if a submodule is being requested by libyang from NetconfAccess, I pass the submodule name to libnetconf rather than the module name. Issue: https://tree.taiga.io/project/jktjkt-netconf-cli/issue/123 Change-Id: I0e5f6b82b1598ecc9f27732f450b1a204ee500f9
Copyright © Faculty of Information Technology, Czech Technical University in Prague, https://fit.cvut.cz/ . Copyright © CESNET, https://www.cesnet.cz/ . Most of the code was written by Václav Kubernát (FIT ČVUT) and Jan Kundrát (CESNET). The project is distributed under the terms of the Apache 2.0 license.