当前位置: 首页 > news >正文

sysrepocfg

sysrepocfg -h
sysrepocfg - sysrepo configuration manipulation tool, compiled with libsysrepo v2.10.1 (SO v7.27.1)

Usage:
sysrepocfg <operation> [options]

Available operations:
-h, --help Print usage help.
-V, --version Print only information about sysrepo version.
-I, --import[=<path>] Import the configuration from a file or STDIN.
-X, --export[=<path>] Export configuration to a file or STDOUT.
-E, --edit[=<path>/<editor>]
Edit configuration data by merging (applying) configuration (edit) data from
STDIN or file or by editing the current datastore content using a text editor.
-R, --rpc[=<path>/<editor>]
Send a RPC/action read from STDIN, file, or using a text editor. Output is printed to STDOUT.
-N, --notification[=<path>/<editor>]
Send a notification read from STDIN, file, or using a text editor.
-C, --copy-from <path>/<source-datastore>
Perform a copy-config from a file or a datastore.
-S, --set <xpath> Set the value of a node on the XPath. It is read from STDIN unless '--value'
parameter is used.
-G, --get <xpath> Get the value of a node on the XPath. It is written to STDOUT unless '--value'
parameter is used.

When both a <path> and <editor>/<source-datastore> can be specified, it is always first checked
that the file exists. If not, then it is interpreted as the other parameter.

Available options:
-d, --datastore <datastore> Datastore to be operated on, "running" by default ("running", "startup",
"candidate", "operational", or "factory-default") or use initials ('r', 's',
'c', 'o', or 'f') respectively. Accepted by import, export, edit, copy-from op.
-m, --module <module-name> Module to be operated on, otherwise it is operated on full datastore.
Accepted by import, export, edit, copy-from op.
-x, --xpath <xpath> XPath to select. Accepted by export op.
-f, --format <format> Data format to be used, by default based on file extension or "xml" if not applicable
("xml", "json", or "lyb"). Accepted by import, export, edit, rpc,
notification, copy-from op.
-l, --lock Lock the specified datastore for the whole operation. Accepted by edit op.
-n, --not-strict Silently ignore any unknown data. Accepted by import, edit, rpc, notification,
copy-from op.
-o, --opaque Parse invalid nodes in the edit into opaque nodes. Accepted by edit op.
-p, --depth <depth> Limit the depth of returned subtrees, 0 (unlimited) by default. Accepted by
export op.
-t, --timeout <seconds> Set the timeout for the operation, otherwise the default one is used.
Accepted by all op.
-e, --defaults <wd-mode> Print the default values, which are trimmed by default ("report-all",
"report-all-tagged", "trim", "explicit", "implicit-tagged").
Accepted by export, edit, rpc op.
-u, --value <value>/<path> Node value to read or the file to write the value into. Accepted by set/get op.
-v, --verbosity <level> Change verbosity to a level (none, error, warning, info, debug) or
number (0, 1, 2, 3, 4).

 

http://www.jsqmd.com/news/776095/

相关文章:

  • 2026年5月8日 60秒读懂世界:五一文旅消费、国考补录、新能源汽车、国际局势与今日热搜
  • WebGPU与MLC编译技术:在浏览器中离线运行大语言模型的实践指南
  • 2026年深圳C1/C2驾照直营培训与智驾陪驾完全指南:避坑拿证、安全上路一站式解决方案 - 优质企业观察收录
  • HPH构造详解 看完秒懂工作原理
  • linux学习进展 mysql数据库
  • 快速变现!永辉超市购物卡回收流程详解! - 团团收购物卡回收
  • 2026年深圳纯直营驾培与智驾陪驾完全避坑指南|宝华驾校官方对接 - 优质企业观察收录
  • 2026年论文AIGC率飙到90%?收藏!学长实测10款降AI工具(含免费),高效解决! - 降AI实验室
  • 2026 安徽彩钢瓦金属屋面厂房防水防腐公司排名|5 家正规防水防腐企业推荐 + 避坑指南 - 速递信息
  • Helmwave:Helm原生多环境部署编排工具深度实践指南
  • 3分钟掌握Get cookies.txt LOCALLY:安全导出浏览器Cookie的终极指南
  • 终极公式转换神器:LaTeX2Word-Equation一键解决数学公式迁移难题
  • 2026 无锡卖金闭眼冲!福正美报价即实付 - 福正美黄金回收
  • CPPM成绩多久出来? - 众智商学院官方
  • 别再混淆了!一文讲透机器学习里的‘在线学习’、‘增量学习’和‘终身学习’到底有啥区别
  • 告别流媒体依赖:用tidal-dl-ng建立你的永久无损音乐库
  • 3步解锁ThinkPad隐藏技能:开源工具如何重塑你的散热体验?
  • 2026年西安印刷厂一站式定制服务深度指南|松林森彩印官方联系方式与行业横评 - 精选优质企业推荐官
  • 2026 合肥彩钢瓦金属屋面厂房防水防腐公司排名|5 家正规防水防腐企业推荐 + 避坑指南 - 速递信息
  • Zenko开源多云数据控制器:统一管理AWS、Azure、GCP对象存储实战
  • 2026 山东最新电锅炉推荐!临沂优质厂家榜单发布,靠谱 - 十大品牌榜
  • Windows Cleaner终极指南:三步快速解决C盘爆红问题
  • 2026年深圳纯直营驾培完全指南:宝华驾校如何破局行业乱象与智驾陪驾新赛道 - 优质企业观察收录
  • 2026深圳纯直营驾培全攻略:宝华驾校直营模式如何破解学车隐形收费陷阱 - 优质企业观察收录
  • 抖音批量下载终极指南:3步实现无水印视频高效获取
  • 深入eMios时钟树:从160MHz CORE_CLK到通道定时,搞懂S32K3xx系列性能调优基础
  • 掌握pycodestyle:Python代码风格检查的终极指南
  • 2026年深圳纯直营驾培与智驾陪驾完全指南|宝华驾校官方联系方式与避坑攻略 - 优质企业观察收录
  • 秒变现金!大润发购物卡回收全解析 - 团团收购物卡回收
  • 永辉超市购物卡回收攻略!方法简单又省心! - 团团收购物卡回收