Skip to content

Commit

Permalink
Add agentx for sonic (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertvolkmann authored Dec 13, 2024
1 parent d8c102d commit 96bc55b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
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

0 comments on commit 96bc55b

Please sign in to comment.