File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ protocol bgp {{ UniqueProtocolName $peer.ProtocolName $peerName $af $peer.ASN $p
5656 {{ if not (BoolDeref $peer .InterpretCommunities ) }}interpret communities off;{{ end }}
5757 {{ if IntDeref $peer .Confederation }}confederation {{ IntDeref $peer .Confederation }};{{ end }}
5858 {{ if IntDeref $peer .DefaultLocalPref }}default bgp_local_pref {{ IntDeref $peer .DefaultLocalPref }};{{ end }}
59+ {{ if BoolDeref $peer .AdvertiseHostname }}advertise hostname on;{{ end }}
5960 {{ StrDeref $peer .SessionGlobal }}
6061 {{ $protocols := MakeSlice }}
6162 {{ if BoolDeref $peer .MPUnicast46 }}
@@ -81,7 +82,6 @@ protocol bgp {{ UniqueProtocolName $peer.ProtocolName $peerName $af $peer.ASN $p
8182 {{ if BoolDeref $peer .NextHopSelfIBGP }}next hop self ibgp;{{ end }}
8283 {{ if BoolDeref $peer .AddPathTx }}add paths tx;{{ end }}
8384 {{ if BoolDeref $peer .AddPathRx }}add paths rx;{{ end }}
84- {{ if BoolDeref $peer .AdvertiseHostname }}advertise hostname on;{{ end }}
8585 {{ if BoolDeref $peer .DisableAfterError }}disable after error on;{{ end }}
8686 import filter {
8787 {{ if $global .NoAccept }}reject; # no-accept: true{{ end }}
You can’t perform that action at this time.
0 commit comments