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.  Can be specified multiple times to install  sev‐
30              eral modules. All the options will affect the module of the last
31              operation and can be specified for each.
32
33       -u, --uninstall MODULE
34              Uninstall the specified module from sysrepo.  Can  be  specified
35              multiple times to uninstall several modules.
36
37       -c, --change MODULE
38              Change  access rights, features, or replay support of the speci‐
39              fied module.  Use special :ALL module name to change the  access
40              rights or replay support of all the modules.
41
42       -U, --update PATH
43              Update the specified schema in sysrepo. Can be in either YANG or
44              YIN format.  Can be specified multiple times to  update  several
45              modules.
46
47       -L, --plugin-list
48              List loaded sysrepo plugins.
49
50       -P, --plugin-install PATH
51              Install  a  datastore or notification sysrepo plugin. The plugin
52              is simply copied to the designated plugin directory.
53

OPTIONS

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

SEE ALSO

120       https://www.sysrepo.org (sysrepo home page)
121
122       https://github.com/sysrepo/sysrepo (sysrepo Git repository)
123

AUTHORS

125       Michal Vasko <mvasko@cesnet.cz>
126
128       Copyright © 2018-2022 CESNET, a.l.e.
129
130       Copyright © 2018-2022 Deutsche Telekom AG.
131
132
133
134sysrepo                           2021-10-20                     SYSREPOCTL(1)
Impressum