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

Add agentx for sonic #107

Merged
merged 6 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/internal/core/reconfigure-switch.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (c *Core) reconfigureSwitch(switchName string) (*models.V1SwitchResponse, e
return nil, fmt.Errorf("could not gather information about eth0 nic: %w", err)
}

c.log.Info("assembled new config for switch", "config", switchConfig)
c.log.Debug("assembled new config for switch", "config", switchConfig)
if !c.enableReconfigureSwitch {
c.log.Debug("skip config application because of environment setting")
return s, nil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ hostname leaf01
password zebra
enable password zebra
!
agentx
log syslog warnings
log facility local4
debug bgp updates
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ hostname leaf01
password zebra
enable password zebra
!
agentx
log syslog debugging
log facility local4
debug bgp updates
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ hostname leaf01
password zebra
enable password zebra
!
agentx
log syslog warnings
log facility local4
debug bgp updates
Expand Down
1 change: 1 addition & 0 deletions cmd/internal/switcher/templates/tpl/sonic_frr.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ hostname {{ .Name }}
password zebra
enable password zebra
!
agentx
log syslog {{ .LogLevel }}
log facility local4
debug bgp updates
Expand Down