ljzlml 2017-05-11 11:09 采纳率: 0%
浏览 2055

关于在libnetconf中添加yang模块

我在virtualbox中安装了ubuntu 16.04,然后在里面安装了libnetconf和netopeer,我准备在libnetconf中添加yang模块,步骤如下:
1、$ pyang -f yin /home/bob/YANG_modules/toaster.yang -o /home/bob/YANG_modules/toaster.yin
2、# netopeer-manager add --name toaster --model /home/bob/YANG_modules/toaster.yin --datastore /usr/local/etc/netopeer/modules.conf.d/toaster.xml

添加好模块之后我使用netopeer-server启动服务器,结果报错了,错误如下:
netopeer-server[2400]: Creating datastore failed (Datastore already exists).
netopeer-server[2400]: Invalid datastore.
netopeer-server[2400]: Callback for path /A:netopeer/A:modules/A:module/A:enabled failed (1).
netopeer-server[2400]: Failed perform initial copy of startup to running.
netopeer-server[2400]: Device initialization of module Netopeer failed.
netopeer-server[2400]: Starting necessary Netopeer plugin failed!

我不知道会不会是我添加YANG模块的方式有误。
各位大神,求助啊!

  • 写回答

2条回答 默认 最新

  • 江南1993 2017-06-27 03:35
    关注

    YANG模型的添加是没有错的

    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器