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

show startupconfiguration bgp is not working for frr #448

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

kirankella
Copy link
Contributor

- What I did
Give the correct file path for the frr startup config

- How I did it
/etc/sonic/frr/frr.conf is the startup config for frr.
Corrected this path in the main.py script for displaying the bgp startup configuration.

- How to verify it

- Previous command output (if the output of a command-line utility has changed)
root@sonic:/home/admin# show startupconfiguration bgp
Routing-Stack is: frr
cat: /etc/frr/bgpd.conf: No such file or directory

- New command output (if the output of a command-line utility has changed)
root@sonic:/home/admin# show startupconfiguration bgp
Routing-Stack is: frr
frr version 4.0
frr defaults traditional
hostname sonic
!
router bgp 65100
coalesce-time 1000
neighbor 12.1.1.0 remote-as 65100
!
address-family ipv4 unicast
redistribute connected
exit-address-family
!
line vty
!
-->

KKK and others added 8 commits January 4, 2019 16:01
…terface status

A bug in intfutil script that gets the keys object from the app-db for a specific interface

Signed-off-by: kiran.kella@broadcom.com
…stead of the optional alias attribute

* Addressed review comment for sonic-net#424
* Undone the change in intfutil file to push that fix in a seperate PR.

Signed-off-by: kiran.kella@broadcom.com
Fix: Print the frr startup config from the right location.
@jleveque jleveque added the Bug label Feb 1, 2019
@kirankella
Copy link
Contributor Author

@nikos-github Changes are approved. Can this PR be merged please?

@@ -1338,7 +1338,7 @@ def bgp(verbose):
if result == "quagga":
run_command('sudo docker exec bgp cat /etc/quagga/bgpd.conf', display_cmd=verbose)
elif result == "frr":
run_command('sudo docker exec bgp cat /etc/frr/bgpd.conf', display_cmd=verbose)
run_command('sudo docker exec bgp cat /etc/sonic/frr/frr.conf', display_cmd=verbose)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to /etc/frr/bgpd.conf

Copy link
Contributor

@lguohan lguohan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bgpd.conf is in /etc/frr/bgpd.conf

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

Successfully merging this pull request may close these issues.

4 participants