[FROG] bgp yang model
Feng Lei
fenglei at genew.com
Fri Jun 21 02:25:22 UTC 2024
hello, mailto.
I am working retrofite the bgp command to northbound api.
I meet a issue and i did'nt know about libyang well.
I use yang/frr-bgp.yang generate skeleton code.
i execute in vtysh >
localhost.localdomain(config)# router bgp 200
% Failed to edit configuration.
YANG error(s):
Error: YANG version 1.1 expects all includes in main module, includes in submodules (frr-bgp-common-structure) are not necessary.
Error: YANG version 1.1 expects all includes in main module, includes in submodules (frr-bgp-neighbor) are not necessary.
Error: YANG version 1.1 expects all includes in main module, includes in submodules (frr-bgp-neighbor) are not necessary.
Error: YANG version 1.1 expects all includes in main module, includes in submodules (frr-bgp-peer-group) are not necessary.
Error: YANG version 1.1 expects all includes in main module, includes in submodules (frr-bgp-peer-group) are not necessary.
Error: YANG version 1.1 expects all includes in main module, includes in submodules (frr-bgp-bmp) are not necessary.
Path: Schema location "/frr-routing:routing/control-plane-protocols/control-plane-protocol".
Error: Predicate missing for list "control-plane-protocol" in path "/frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp".
this means if i should write bgpd yang model in myself and refer to isisd.
hope your reply!
综合接入 冯磊
深圳震有科技股份有限公司
座机:0755-86099888-1198
电话:13045884882
网址:http://www.genew.com
地址:深圳市南山区高新南区科苑南路3176号彩讯科技大厦6层
邮箱:fenglei at genew.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20240621/e10711ff/attachment.htm>
More information about the frog
mailing list