Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] frr-route config fail #136

Open
Ali-aqrabawi opened this issue Sep 6, 2024 · 0 comments
Open

[BUG] frr-route config fail #136

Ali-aqrabawi opened this issue Sep 6, 2024 · 0 comments

Comments

@Ali-aqrabawi
Copy link
Contributor

Ali-aqrabawi commented Sep 6, 2024

ali@pc:~/CLionProjects/frr-sysrepo/okda-frr$ sudo onmcli 
[INF] Connection 15 created.
[INF] Session 109 (user "root", CID 15) created.
[INF] Session 110 (user "root", CID 15) created.
[INF] Session 111 (user "root", CID 15) created.
[INF] Session 112 (user "root", CID 15) created.


onmcli version: 0.1.0-develop
by Okda networks (c) 2024
pc> enable 
pc# conf t
pc(config)# routing-frr 
pc(config-routing-frr)# control-plane-protocols control-plane-protocol frr-
  frr-routing:routing-protocol
  frr-bgp:bgp
pc(config-routing-frr)# control-plane-protocols control-plane-protocol frr-bgp:bgp bgp default
pc(config-[type='frr-bgp:bgp'][name='bgp'][vrf='default'])# bgp global local-as 1001
pc(config-[type='frr-bgp:bgp'][name='bgp'][vrf='default'])# commit 
 commit: changes applied successfully!

pc(config-[type='frr-bgp:bgp'][name='bgp'][vrf='default'])# exit
pc(config-routing-frr)# no control-plane-protocols control-plane-protocol frr-bgp:bgp bgp default 
pc(config-routing-frr)# commit 
 commit: changes applied successfully!

pc(config-routing-frr)#  control-plane-protocols control-plane-protocol frr-bgp:bgp bgp default   
pc(config-[type='frr-bgp:bgp'][name='bgp'][vrf='default'])# bgp global local-as 1001
[ERR] Schema node "bgp" for parent "<root>" not found; in expr "/frr-bgp:bgp" with context node "/".
[ERR] Invalid argument (path[0] == '/') || parent (lyd_new_path2()).
[ERR] Not found node "bgp" in path.
[ERR] Not found node "bgp" in path.
Failed to create the yang data node for 'local-as'

pc(config-[type='frr-bgp:bgp'][name='bgp'][vrf='default'])#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant