 |
sysrepo
1.4.70
YANG datastore
|
Go to the documentation of this file.
28 #include <libyang/Libyang.hpp>
58 void install_module(
const char *schema_path,
const char *search_dir, std::vector<std::string> features);
60 void install_module_data(
const char *module_name,
const char *data,
const char *data_path, LYD_FORMAT format);
70 void set_module_access(
const char *module_name,
const char *owner,
const char *group, mode_t perm);
std::tuple< std::string, std::string, mode_t > get_module_access(const char *module_name)
public API sysrepo header
Sysrepo class header for internal C++ classes.
Class for wrapping sr_conn_ctx_t.
void enable_module_feature(const char *module_name, const char *feature_name)
void cancel_update_module(const char *module_name)
enum sr_datastore_e sr_datastore_t
Datastores that sysrepo supports. To change which datastore a session operates on,...
uint32_t sr_conn_options_t
Options overriding default connection handling by sr_connect call, it is supposed to be bitwise OR-ed...
Class for wrapping sr_session_ctx_t.
void install_module(const char *schema_path, const char *search_dir, std::vector< std::string > features)
void install_module_data(const char *module_name, const char *data, const char *data_path, LYD_FORMAT format)
Sysrepo Sysrepo class header.
void set_module_replay_support(const char *module_name, int replay_support)
void disable_module_feature(const char *module_name, const char *feature_name)
std::tuple< int, uint32_t, uint32_t, time_t > get_lock(sr_datastore_t datastore, const char *module_name=nullptr)
libyang::S_Data_Node get_module_info()
void update_module(const char *schema_path, const char *search_dir)
Connection(const sr_conn_options_t opts=(sr_conn_options_t) CONN_DEFAULT)
struct sr_conn_ctx_s sr_conn_ctx_t
Sysrepo connection.
libyang::S_Context get_context()
void remove_module(const char *module_name)
void set_module_access(const char *module_name, const char *owner, const char *group, mode_t perm)