commit | 06b0f38c3bbd8da823ed24749e8284eac431659a | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Mon Oct 04 11:20:47 2021 +0200 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Mon Oct 04 11:34:15 2021 +0200 |
tree | acbc154225c859a74ba79354671aff5951b2994f | |
parent | e21d160c68f6ae8a6500b3831dde0f3f42ef86a8 [diff] [blame] |
Handle servers that don't support NMDA Change-Id: I4880f3bbed7485df18d0b27097b6dfc5fef6ef98 Bug: https://tree.taiga.io/project/jktjkt-netconf-cli/issue/222
diff --git a/src/netconf_access.hpp b/src/netconf_access.hpp index 734e5ae..43ca1e8 100644 --- a/src/netconf_access.hpp +++ b/src/netconf_access.hpp
@@ -59,6 +59,10 @@ void doEditFromDataNode(std::shared_ptr<libyang::Data_Node> dataNode); + void checkNMDA(); + + bool m_serverHasNMDA; + std::unique_ptr<libnetconf::client::Session> m_session; std::shared_ptr<YangSchema> m_schema; };