Split path_ into schemaPath_ and dataPath_

This change is necessary because different commands accept different
kinds of paths (for example "cd" only accepts a data path, on the other
hand "ls" doesn't care about data, so it accepts both). One option was to
create a new path struct for every command, but that could get quickly
out of control as new commands get added. The other option was define only
the data path and schema path and then change the commands' grammars, so
that they only accept the relevant paths, but in the end always return a
data path or a schema path.

Change-Id: I7668a446fbf674c7a5deae22d9aacdfb3da9b07e
21 files changed
tree: b87d29c4c96b876d3381377a248636743d55a987
  1. .clang-format
  2. .gitmodules
  3. CMakeLists.txt
  4. Doxyfile.in
  5. LICENSE
  6. README.md
  7. ci/
  8. cmake/
  9. docs/
  10. example-schema.yang
  11. src/
  12. submodules/
  13. sysrepo_vars.hpp.in
  14. 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.