<html><head><meta http-equiv="content-type" content="text/html; charset=GB2312"><style>body { line-height: 1.5; }body { font-size: 14px; font-family: "Microsoft YaHei UI"; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>hello, mailto.</div><div>I am working retrofite the bgp command to northbound api.</div><div>I meet a issue and i did'nt know about libyang well.</div><div><br></div><div>I use yang/frr-bgp.yang generate skeleton code.</div><div><br></div><div>i execute in vtysh > </div><div><!--StartFragment--><pre><div style="color: rgb(202, 202, 202); background-color: rgba(0, 0, 0, 0); font-family: Consolas, monospace-fallback, "monospace";"><div>localhost.localdomain(config)# router bgp 200                                                                                                                                                                  </div><div>% Failed to edit configuration.                                                                                                                                                                                </div><div>                                                                                                                                                                                                               </div><div>YANG error(s):                                                                                                                                                                                                 </div><div> Error: YANG version 1.1 expects all includes in main module, includes in submodules (frr-bgp-common-structure) are not necessary.                                                                             </div><div> Error: YANG version 1.1 expects all includes in main module, includes in submodules (frr-bgp-neighbor) are not necessary.                                                                                     </div><div> Error: YANG version 1.1 expects all includes in main module, includes in submodules (frr-bgp-neighbor) are not necessary.                                                                                     </div><div> Error: YANG version 1.1 expects all includes in main module, includes in submodules (frr-bgp-peer-group) are not necessary.                                                                                   </div><div> Error: YANG version 1.1 expects all includes in main module, includes in submodules (frr-bgp-peer-group) are not necessary.                                                                                   </div><div> Error: YANG version 1.1 expects all includes in main module, includes in submodules (frr-bgp-bmp) are not necessary.                                                                                          </div><div> Path: Schema location "/frr-routing:routing/control-plane-protocols/control-plane-protocol".                                                                                                                  </div><div> Error: Predicate missing for list "control-plane-protocol" in path "/frr-routing:routing/control-plane-protocols/control-plane-protocol/frr-bgp:bgp".      </div></div></pre><!--EndFragment--></div>
<div><br></div><div>this means if i should write bgpd yang model in myself and refer to isisd.</div><div>hope your reply!</div><hr style="WIDTH: 210px; HEIGHT: 1px" color="#b5c4df" size="1" align="left">
<div><span><div style="margin: 10px; font-size: 10pt;"><div style=""><b style="font-size: 15px; font-family: 楷体;">综合接入   冯磊</b><span style="font-size: 14.6667px; font-family: 楷体;">  </span><br style="font-family: 楷体; font-size: 14.6667px;"><span style="font-size: 14px;">深圳震有科技股份有限公司</span><br style="font-size: 14px;"><span style="font-size: 14px;">座机:0755-86099888-1198</span><br style="font-size: 14px;"><span style="font-size: 14px;">电话:13045884882</span><br style="font-size: 14px;"><span style="font-size: 14px;">网址:http://www.genew.com</span><br style="font-size: 14px;"><span style="font-size: 14px;">地址:深圳市南山区高新南区科苑南路3176号彩讯科技大厦6层</span><br style="font-size: 14px;"><span style="font-size: 14px;">邮箱:fenglei@genew.com</span></div></div></span></div>
</body></html>