Fix handling of choice statements in YangSchema

Now that I'm using `libyang::Context::get_node`, the code got a little
less complicated, since it always returns a Schema_Node instead of
a Set.

Change-Id: Iab3734ed4cb5957cb635f268b882963c95d36206
Issue: https://tree.taiga.io/project/jktjkt-netconf-cli/issue/119
3 files changed
tree: 9e90e17de8c8c93c69a4efe464d4abb8556a6966
  1. .clang-format
  2. .gitmodules
  3. .zuul.yaml
  4. CMakeLists.txt
  5. Doxyfile.in
  6. LICENSE
  7. LICENSE.md
  8. README.md
  9. ci/
  10. cmake/
  11. docs/
  12. example-schema.yang
  13. kill_daemons.sh
  14. netopeer-test-config
  15. netopeer_vars.hpp.in
  16. src/
  17. start_daemons.sh.in
  18. submodules/
  19. tests/
README.md

Console interface to NETCONF servers

Credits

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.