mirror of
https://git.proxmox.com/git/pve-network
synced 2025-08-06 15:33:51 +00:00
controllers: evpn : remove ip forwarding, ipv6 forwarding and add frr version
Forwarding is enabled by default since frr 7.4 also add frr version && reorder some options to avoid warning message on frr reload Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
3a46bcb1ce
commit
9c7dded6e3
@ -369,12 +369,11 @@ sub generate_controller_rawconfig {
|
||||
my $nodename = PVE::INotify::nodename();
|
||||
|
||||
my $final_config = [];
|
||||
push @{$final_config}, "log syslog informational";
|
||||
push @{$final_config}, "ip forwarding";
|
||||
push @{$final_config}, "ipv6 forwarding";
|
||||
push @{$final_config}, "frr version 8.0.1";
|
||||
push @{$final_config}, "frr defaults datacenter";
|
||||
push @{$final_config}, "service integrated-vtysh-config";
|
||||
push @{$final_config}, "hostname $nodename";
|
||||
push @{$final_config}, "log syslog informational";
|
||||
push @{$final_config}, "service integrated-vtysh-config";
|
||||
push @{$final_config}, "!";
|
||||
|
||||
if (-e "/etc/frr/frr.conf.local") {
|
||||
|
@ -1,9 +1,8 @@
|
||||
log syslog informational
|
||||
ip forwarding
|
||||
ipv6 forwarding
|
||||
frr version 8.0.1
|
||||
frr defaults datacenter
|
||||
service integrated-vtysh-config
|
||||
hostname localhost
|
||||
log syslog informational
|
||||
service integrated-vtysh-config
|
||||
!
|
||||
!
|
||||
vrf vrf_myzone
|
||||
|
@ -1,9 +1,8 @@
|
||||
log syslog informational
|
||||
ip forwarding
|
||||
ipv6 forwarding
|
||||
frr version 8.0.1
|
||||
frr defaults datacenter
|
||||
service integrated-vtysh-config
|
||||
hostname localhost
|
||||
log syslog informational
|
||||
service integrated-vtysh-config
|
||||
!
|
||||
!
|
||||
vrf vrf_myzone
|
||||
|
@ -1,9 +1,8 @@
|
||||
log syslog informational
|
||||
ip forwarding
|
||||
ipv6 forwarding
|
||||
frr version 8.0.1
|
||||
frr defaults datacenter
|
||||
service integrated-vtysh-config
|
||||
hostname localhost
|
||||
log syslog informational
|
||||
service integrated-vtysh-config
|
||||
!
|
||||
!
|
||||
vrf vrf_myzone
|
||||
|
@ -1,9 +1,8 @@
|
||||
log syslog informational
|
||||
ip forwarding
|
||||
ipv6 forwarding
|
||||
frr version 8.0.1
|
||||
frr defaults datacenter
|
||||
service integrated-vtysh-config
|
||||
hostname localhost
|
||||
log syslog informational
|
||||
service integrated-vtysh-config
|
||||
!
|
||||
ip prefix-list loopbacks_ips seq 10 permit 0.0.0.0/0 le 32
|
||||
ip protocol bgp route-map correct_src
|
||||
|
@ -1,9 +1,8 @@
|
||||
log syslog informational
|
||||
ip forwarding
|
||||
ipv6 forwarding
|
||||
frr version 8.0.1
|
||||
frr defaults datacenter
|
||||
service integrated-vtysh-config
|
||||
hostname localhost
|
||||
log syslog informational
|
||||
service integrated-vtysh-config
|
||||
!
|
||||
!
|
||||
vrf vrf_myzone
|
||||
|
@ -1,9 +1,8 @@
|
||||
log syslog informational
|
||||
ip forwarding
|
||||
ipv6 forwarding
|
||||
frr version 8.0.1
|
||||
frr defaults datacenter
|
||||
service integrated-vtysh-config
|
||||
hostname localhost
|
||||
log syslog informational
|
||||
service integrated-vtysh-config
|
||||
!
|
||||
ip route 10.0.0.0/24 10.255.255.2 xvrf_myzone
|
||||
!
|
||||
|
@ -1,9 +1,8 @@
|
||||
log syslog informational
|
||||
ip forwarding
|
||||
ipv6 forwarding
|
||||
frr version 8.0.1
|
||||
frr defaults datacenter
|
||||
service integrated-vtysh-config
|
||||
hostname localhost
|
||||
log syslog informational
|
||||
service integrated-vtysh-config
|
||||
!
|
||||
!
|
||||
vrf vrf_myzone
|
||||
|
@ -1,9 +1,8 @@
|
||||
log syslog informational
|
||||
ip forwarding
|
||||
ipv6 forwarding
|
||||
frr version 8.0.1
|
||||
frr defaults datacenter
|
||||
service integrated-vtysh-config
|
||||
hostname localhost
|
||||
log syslog informational
|
||||
service integrated-vtysh-config
|
||||
!
|
||||
!
|
||||
vrf vrf_myzone
|
||||
|
@ -1,9 +1,8 @@
|
||||
log syslog informational
|
||||
ip forwarding
|
||||
ipv6 forwarding
|
||||
frr version 8.0.1
|
||||
frr defaults datacenter
|
||||
service integrated-vtysh-config
|
||||
hostname localhost
|
||||
log syslog informational
|
||||
service integrated-vtysh-config
|
||||
!
|
||||
!
|
||||
vrf vrf_myzone
|
||||
|
@ -1,9 +1,8 @@
|
||||
log syslog informational
|
||||
ip forwarding
|
||||
ipv6 forwarding
|
||||
frr version 8.0.1
|
||||
frr defaults datacenter
|
||||
service integrated-vtysh-config
|
||||
hostname localhost
|
||||
log syslog informational
|
||||
service integrated-vtysh-config
|
||||
!
|
||||
!
|
||||
vrf vrf_myzone
|
||||
|
@ -1,9 +1,8 @@
|
||||
log syslog informational
|
||||
ip forwarding
|
||||
ipv6 forwarding
|
||||
frr version 8.0.1
|
||||
frr defaults datacenter
|
||||
service integrated-vtysh-config
|
||||
hostname localhost
|
||||
log syslog informational
|
||||
service integrated-vtysh-config
|
||||
!
|
||||
!
|
||||
vrf vrf_myzone
|
||||
|
@ -1,9 +1,8 @@
|
||||
log syslog informational
|
||||
ip forwarding
|
||||
ipv6 forwarding
|
||||
frr version 8.0.1
|
||||
frr defaults datacenter
|
||||
service integrated-vtysh-config
|
||||
hostname localhost
|
||||
log syslog informational
|
||||
service integrated-vtysh-config
|
||||
!
|
||||
!
|
||||
vrf vrf_myzone
|
||||
|
@ -1,9 +1,8 @@
|
||||
log syslog informational
|
||||
ip forwarding
|
||||
ipv6 forwarding
|
||||
frr version 8.0.1
|
||||
frr defaults datacenter
|
||||
service integrated-vtysh-config
|
||||
hostname localhost
|
||||
log syslog informational
|
||||
service integrated-vtysh-config
|
||||
!
|
||||
!
|
||||
vrf vrf_myzone
|
||||
|
@ -1,9 +1,8 @@
|
||||
log syslog informational
|
||||
ip forwarding
|
||||
ipv6 forwarding
|
||||
frr version 8.0.1
|
||||
frr defaults datacenter
|
||||
service integrated-vtysh-config
|
||||
hostname localhost
|
||||
log syslog informational
|
||||
service integrated-vtysh-config
|
||||
!
|
||||
!
|
||||
vrf vrf_myzone
|
||||
|
Loading…
Reference in New Issue
Block a user