1
2SYSREPOCTL(1)               General Commands Manual              SYSREPOCTL(1)
3
4
5

NAME

7       sysrepoctl - sysrepo YANG schema manipulation tool
8

SYNOPSIS

10       sysrepoctl OPERATION [OPTIONS]
11

DESCRIPTION

13       sysrepoctl  is  a command-line tool for manipulation of YANG schemas in
14       sysrepo. It can list the currently installed schemas and  add,  remove,
15       or modify them.
16

OPERATION

18       -h, --help
19              Print usage help.
20
21       -V, --version
22              Print only information about sysrepo version.
23
24       -l, --list
25              List YANG modules in sysrepo.
26
27       -i, --install PATH
28              Install the specified schema into sysrepo. Can be in either YANG
29              or YIN format.
30
31       -u, --uninstall MODULE
32              Uninstall the specified module from sysrepo.
33
34       -c, --change MODULE
35              Change access rights, features, or replay support of the  speci‐
36              fied  module.  Use special :ALL module name to change the access
37              rights or replay support of all the modules.
38
39       -U, --update PATH
40              Update the specified schema in sysrepo. Can be in either YANG or
41              YIN format.
42
43       -L, --plugin-list
44              List loaded sysrepo plugins.
45
46       -P, --plugin-install PATH
47              Install  a  datastore or notification sysrepo plugin. The plugin
48              is simply copied to the designated plugin directory.
49

OPTIONS

51       -s, --search-dirs DIR-PATH [:DIR-PATH...]
52              Directories to search for include/import modules. Directory with
53              already-installed  modules  is  always searched. Accepted by in‐
54              stall, update op.
55
56       -e, --enable-feature FEATURE
57              Enabled specific feature. Can be specified  multiple  times  Ac‐
58              cepted by install, change op.
59
60       -d, --disable-feature FEATURE
61              Disable  specific  feature. Can be specified multiple times. Ac‐
62              cepted by change op.
63
64       -r, --replay STATE
65              Change replay support (storing notifications) for  this  module.
66              Accepted by change op. STATE can be:
67on/1
68off/0
69
70       -o, --owner USER
71              Set  filesystem  owner of a module. Accepted by change, install,
72              update op.
73
74       -g, --group GROUP
75              Set filesystem group of a module. Accepted by  change,  install,
76              update op.
77
78       -p, --permissions PERMISSIONS
79              Set  filesystem permissions of a module (chmod format). Accepted
80              by change, install, update op.
81
82       -D, --datastore MOD-DATASTORE
83              Apply operation to a module datastore. Accepted by change op  if
84              permissions are being changed. MOD-DATASTORE can be:
85startup
86running
87candidate
88operational
89notification
90:ALL (default)
91
92       -m, --module-plugin MOD-DATASTORE:PLUGIN-NAME
93              Set specific module datastore plugin for a module datastore, can
94              be specified multiple times for different module datastores. Ac‐
95              cepted by install op.
96
97       -I, --init-data PATH
98              Initial  data in a file with XML or JSON extension to be set for
99              a module, useful when there are mandatory top-level  nodes.  Ac‐
100              cepted by install op.
101
102       -f, --force
103              Force  the specific operation if possible. Accepted by uninstall
104              op.
105
106       -v, --verbosity LEVEL
107              Change verbosity to a level. Accepted by all op. LEVEL can be  a
108              string or a number:
109none/0
110error/1 (default)
111warning/2
112info/3
113debug/4
114

SEE ALSO

116       https://sysrepo.org (sysrepo home page)
117
118       https://github.com/sysrepo/sysrepo (sysrepo Git repository)
119

AUTHORS

121       Michal Vasko <mvasko@cesnet.cz>
122
124       Copyright © 2018-2021 CESNET, a.l.e.
125
126       Copyright © 2018-2021 Deutsche Telekom AG.
127
128
129
130sysrepo                           2021-10-20                     SYSREPOCTL(1)
Impressum