SYSREPOCTL(1)
π SYSREPOCTL π
okay bestie, gather round, because this is sysrepoctl from section 1 of the General Commands Manual and she is that girl π
β¨ NAME β¨
sysrepoctl β the sysrepo YANG schema manipulation tool π
πΈ SYNOPSIS πΈ
sysrepoctl OPERATION [OPTIONS]
π¦ DESCRIPTION π¦
so sysrepoctl is a command-line tool for manipulating YANG schemas in sysrepo, no cap. she can list the schemas you've currently got installed, and she can add, remove, or modify them. that's the whole vibe. π«Ά
π OPERATION π
the main character choices, bestie:
-h,--helpβ prints usage help. the "help me help you" button π-V,--versionβ prints only info about the sysrepo version. that's it, that's the whole job β¨-l,--listβ lists the YANG modules in sysrepo π-i,--install PATHβ installs the schema you point at into sysrepo. it can be in either YANG or YIN format. you can specify this multiple times to install several modules. and listen: all the options will affect the module of the last operation, and they can be specified for each one. so yes, per-module options, go off π-u,--uninstall MODULEβ uninstalls the specified module from sysrepo. can be specified multiple times to uninstall several modules at once. bye bestie π-c,--change MODULEβ changes access rights, features, or replay support of the specified module. and there's a special:ALLmodule name you can use to change the access rights or replay support of all the modules at once. iconic honestly π-U,--update PATHβ updates the specified schema in sysrepo. can be in either YANG or YIN format. can be specified multiple times to update several modules π-L,--plugin-listβ lists the loaded sysrepo plugins π-P,--plugin-install PATHβ installs a datastore or notification sysrepo plugin. the plugin is simply copied to the designated plugin directory, that's the whole move π¦
π OPTIONS π
the flags, the moment, the lore:
-s,--search-dirs DIR-PATH [:DIR-PATH...]β directories to search for include/import modules. the directory with already-installed modules is always searched, so don't worry about that one. accepted byinstall,updateop π-e,--enable-feature FEATUREβ enables a specific feature, or use'*'for all the features. can be specified multiple times. accepted byinstall,changeop β-d,--disable-feature FEATUREβ disables a specific feature. can be specified multiple times. accepted bychangeop π«-r,--replay STATEβ changes replay support (that's the storing of notifications) for this module. accepted bychangeop.STATEcan be:on/1off/0
-o,--owner USERβ sets the filesystem owner of a module. accepted bychange,install,updateop π§-g,--group GROUPβ sets the filesystem group of a module. accepted bychange,install,updateop π₯-p,--permissions PERMISSIONSβ sets the filesystem permissions of a module (chmod format, iykyk). accepted bychange,install,updateop π-D,--datastore MOD-DATASTOREβ applies the operation to a module datastore. accepted bychangeop if permissions are being changed.MOD-DATASTOREcan be:startuprunningcandidateoperationalnotification:ALL(default) β
-m,--module-plugin MOD-DATASTORE:PLUGIN-NAMEβ sets a specific module datastore plugin for a module datastore. can be specified multiple times for different module datastores. ifPLUGIN-NAMEis an empty string, it is set toNULL, which disables the datastore (running datastore only, just so you know). unspecified datastores use the default datastore plugins. accepted byinstallop π§©-I,--init-data PATHβ initial data in a file with XML or JSON extension to be set for a module. super useful when there are mandatory top-level nodes. accepted byinstallop π±-f,--forceβ forces the specific operation if possible. accepted byuninstallop πͺ-v,--verbosity LEVELβ changes verbosity to a level. accepted by all op.LEVELcan be a string or a number:none/0error/1(default)warning/2info/3debug/4π
π SEE ALSO π
- https://www.sysrepo.org β sysrepo home page π
- https://github.com/sysrepo/sysrepo β sysrepo Git repository π
π«Ά AUTHORS π«Ά
Michal Vasko <mvasko@cesnet.cz> β thank you king π
π COPYRIGHT π
Copyright Β© 2018-2022 CESNET, a.l.e.
Copyright Β© 2018-2022 Deutsche Telekom AG.
and that's the whole page bestie, mwah π this was sysrepo version dated 2023-10-10, aka SYSREPOCTL(1), and she ate, no crumbs left πβ¨π
π¦ where this page comes from
- fedora 43: sysrepo-tools 3.6.11-2.fc43 Β· BSD-3-Clause
- fedora 44: sysrepo-tools 3.7.11-2.fc44 Β· BSD-3-Clause
- ubuntu resolute: sysrepo 3.7.11-1 Β· BSD-3-clause~CopyrightHolder
- ubuntu stonking: sysrepo 5.1.0-1 Β· BSD-3-clause~CopyrightHolder
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms