logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sysrepoctl - sysrepo YANG schema manipulation tool

Authors

       Michal Vasko <mvasko@cesnet.cz>

Description

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

Name

       sysrepoctl - sysrepo YANG schema manipulation tool

Operation

-h, --help
              Print usage help.

       -V, --version
              Print only information about sysrepo version.

       -l, --list
              List YANG modules in sysrepo.

       -i, --installPATH
              Install the specified schema into sysrepo. Can be in either YANG or YIN format.

       -u, --uninstallMODULE[,MODULE,MODULE...]
              Uninstall the specified module(s) from sysrepo.

       -c, --changeMODULE
              Change access rights, features, or replay support of  the  specified  module.   Use  special  :ALL
              module name to change the access rights or replay support of all the modules.

       -U, --updatePATH
              Update the specified schema in sysrepo. Can be in either YANG or YIN format.

       -C, --connection-count
              Print the number of sysrepo connections to STDOUT.

Options

-s, --search-dirsDIR-PATH[:DIR-PATH...]
              Directories  to  search  for  include/import  modules. Directory with already-installed modules is
              always searched. Accepted by install, update op.

       -e, --enable-featureFEATURE
              Enabled specific feature. Can be specified multiple times Accepted by install, change op.

       -d, --disable-featureFEATURE
              Disable specific feature. Can be specified multiple times. Accepted by change op.

       -r, --replaySTATE
              Change replay support (storing notifications) for this module. Accepted by change  op.  STATE  can
              be:
               • on/1off/0-o, --ownerUSER
              Set filesystem owner of a module. Accepted by change op, with --apply even install, update op.

       -g, --groupGROUP
              Set filesystem group of a module. Accepted by change op, with --apply even install, update op.

       -p, --permissionsPERMISSIONS
              Set  filesystem  permissions  of a module (chmod format). Accepted by change op, with --apply even
              install, update op.

       -a, --apply
              Apply schema changes immediately, not only schedule them. Accepted by install, uninstall,  change,
              update op.

       -v, --verbosityLEVEL
              Change verbosity to a level. Accepted by all op. LEVEL can be a string or a number:
               • none/0error/1 (default)
               • warning/2info/3debug/4

See Also

       https://sysrepo.org (sysrepo home page)

       https://github.com/sysrepo/sysrepo (sysrepo Git repository)

Synopsis

sysrepoctlOPERATION [OPTIONS]

See Also