sysrepo
1.4.168
YANG datastore
|
It is a utility that enables changing schemas (modules). Specifically, it can list, install, uninstall, or update them. Also, features, replay support, and permissions of a module can be changed. It is important to keep in mind what operations are performed immediatelly and what are postponed (details in schemas).
All currently installed modules are listed in a concise table with basic information about them. There is also information about any prepared changes.
YANG modules are installed simply by specifying the path to them in either YANG or YIN format.
To remove a YANG module, its name (not file name) must be specified. All installed modules that can be removed are printed by --list
.
Installed modules can be changed in several ways, optionally combined into one command. Firstly, their YANG features can be modified.
Then, their replay support (storing received notifications) can be turned on
or off
.
Finally, file system permissions can be adjusted.
Existing installed YANG modules can be updated to newer revision.
Get the number of currently connected clients. Can be used to check whether some schema changes can be immediately applied (if there are no connections) or not.