Skip to content

Commit

Permalink
fix config templating for juniper els: rename port => name
Browse files Browse the repository at this point in the history
  • Loading branch information
msniveau authored and BirknerAlex committed Sep 7, 2023
1 parent 740ab71 commit 17d2983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/vendors/juniper-els/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (j *JuniperELS) ConfigureInterface(update *models.UpdateInterface) (bool, e

config := `<interfaces>
<interface operation="replace">
<name>{{ .Port }}</name>
<name>{{ .Name }}</name>
<description>{{ .Comment }}</description>
{{if .UntaggedVLAN}}<native-vlan-id>{{ .UntaggedVLAN }}</native-vlan-id>{{end}}
<unit>
Expand Down

0 comments on commit 17d2983

Please sign in to comment.