forked from metallb/metallb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FRR Mode: provide a way to append a piece of configuration
Currently it is not possible to run multiple FRR instances on the same node, due to port clashing in first instance. In order to provide a way to overcome this issue, we provide a non supported - use at your own risk way to append a fixed configuration right after the one generated by metallb. This can be used in short term to mitigate some of the issues reported. This solution will be deprecated in the long term, being replaced by a more cohesive one. Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
- Loading branch information
Showing
13 changed files
with
155 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
log file /etc/frr/frr.log informational | ||
log timestamp precision 3 | ||
hostname dummyhostname | ||
ip nht resolve-via-default | ||
ipv6 nht resolve-via-default | ||
route-map 127.0.0.2-in deny 20 | ||
|
||
route-map 127.0.0.2-out permit 1 | ||
match ip address prefix-list 127.0.0.2-pl-ipv4 | ||
route-map 127.0.0.2-out permit 2 | ||
match ipv6 address prefix-list 127.0.0.2-pl-ipv4 | ||
|
||
|
||
ip prefix-list 127.0.0.2-pl-ipv4 deny any | ||
ipv6 prefix-list 127.0.0.2-pl-ipv4 deny any | ||
|
||
router bgp 100 | ||
no bgp ebgp-requires-policy | ||
no bgp network import-check | ||
no bgp default ipv4-unicast | ||
|
||
bgp router-id 10.1.1.254 | ||
neighbor 127.0.0.2 remote-as 200 | ||
neighbor 127.0.0.2 port 179 | ||
neighbor 127.0.0.2 timers 1 1 | ||
neighbor 127.0.0.2 password password | ||
neighbor 127.0.0.2 update-source 10.1.1.254 | ||
|
||
address-family ipv4 unicast | ||
neighbor 127.0.0.2 activate | ||
neighbor 127.0.0.2 route-map 127.0.0.2-in in | ||
neighbor 127.0.0.2 route-map 127.0.0.2-out out | ||
exit-address-family | ||
address-family ipv6 unicast | ||
neighbor 127.0.0.2 activate | ||
neighbor 127.0.0.2 route-map 127.0.0.2-in in | ||
neighbor 127.0.0.2 route-map 127.0.0.2-out out | ||
exit-address-family | ||
|
||
# hello |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters