#global options
my @controller_config = (
"bgp router-id $ifaceip",
+ "no bgp hard-administrative-reset",
+ "no bgp graceful-restart notification",
"no bgp default ipv4-unicast",
"coalesce-time 1000",
);
#main vrf router
@controller_config = ();
push @controller_config, "bgp router-id $ifaceip";
+ push @controller_config, "no bgp hard-administrative-reset";
+ push @controller_config, "no bgp graceful-restart notification";
+
# push @controller_config, "!";
push(@{$config->{frr}->{router}->{"bgp $asn vrf $vrf"}->{""}}, @controller_config);
my $nodename = PVE::INotify::nodename();
my $final_config = [];
- push @{$final_config}, "frr version 8.2.2";
+ push @{$final_config}, "frr version 8.5.1";
push @{$final_config}, "frr defaults datacenter";
push @{$final_config}, "hostname $nodename";
push @{$final_config}, "log syslog informational";
-frr version 8.2.2
+frr version 8.5.1
frr defaults datacenter
hostname localhost
log syslog informational
!
router bgp 65000
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
!
router bgp 65000 vrf vrf_myzone
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
!
address-family ipv4 unicast
redistribute connected
-frr version 8.2.2
+frr version 8.5.1
frr defaults datacenter
hostname localhost
log syslog informational
!
router bgp 65000
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
!
router bgp 65000 vrf vrf_myzone
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
exit
!
route-map MAP_VTEP_IN permit 1
-frr version 8.2.2
+frr version 8.5.1
frr defaults datacenter
hostname localhost
log syslog informational
!
router bgp 65001
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
!
router bgp 65001 vrf vrf_myzone
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
!
address-family l2vpn evpn
route-target import 65000:1000
-frr version 8.2.2
+frr version 8.5.1
frr defaults datacenter
hostname localhost
log syslog informational
!
router bgp 65001
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
!
router bgp 65001 vrf vrf_myzone
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
!
address-family l2vpn evpn
route-target import 65000:1000
-frr version 8.2.2
+frr version 8.5.1
frr defaults datacenter
hostname localhost
log syslog informational
!
router bgp 65000
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
!
router bgp 65000 vrf vrf_myzone
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
!
address-family ipv4 unicast
redistribute connected
-frr version 8.2.2
+frr version 8.5.1
frr defaults datacenter
hostname localhost
log syslog informational
!
router bgp 65000
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
!
router bgp 65000 vrf vrf_myzone
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
!
address-family l2vpn evpn
default-originate ipv4
-frr version 8.2.2
+frr version 8.5.1
frr defaults datacenter
hostname localhost
log syslog informational
!
router bgp 65000
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
!
router bgp 65000 vrf vrf_myzone
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
!
address-family ipv4 unicast
redistribute connected
-frr version 8.2.2
+frr version 8.5.1
frr defaults datacenter
hostname localhost
log syslog informational
!
router bgp 65000
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
!
router bgp 65000 vrf vrf_myzone
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
!
address-family ipv4 unicast
redistribute connected
-frr version 8.2.2
+frr version 8.5.1
frr defaults datacenter
hostname localhost
log syslog informational
!
router bgp 65000
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
!
router bgp 65000 vrf vrf_myzone
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
!
address-family ipv4 unicast
redistribute connected
!
router bgp 65000 vrf vrf_myzone2
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
!
address-family ipv4 unicast
redistribute connected
-frr version 8.2.2
+frr version 8.5.1
frr defaults datacenter
hostname localhost
log syslog informational
!
router bgp 65000
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
!
router bgp 65000 vrf vrf_myzone
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
exit
!
route-map MAP_VTEP_IN permit 1
-frr version 8.2.2
+frr version 8.5.1
frr defaults datacenter
hostname localhost
log syslog informational
!
router bgp 65000
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
!
router bgp 65000 vrf vrf_myzone
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
exit
!
route-map MAP_VTEP_IN permit 1
-frr version 8.2.2
+frr version 8.5.1
frr defaults datacenter
hostname localhost
log syslog informational
!
router bgp 65000
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
!
router bgp 65000 vrf vrf_myzone
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
exit
!
route-map MAP_VTEP_IN permit 1
-frr version 8.2.2
+frr version 8.5.1
frr defaults datacenter
hostname localhost
log syslog informational
!
router bgp 65000
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
!
router bgp 65000 vrf vrf_myzone
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
exit
!
route-map MAP_VTEP_IN permit 1
-frr version 8.2.2
+frr version 8.5.1
frr defaults datacenter
hostname localhost
log syslog informational
!
router bgp 65000
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
!
router bgp 65000 vrf vrf_myzone
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
exit
!
route-map MAP_VTEP_IN permit 1
-frr version 8.2.2
+frr version 8.5.1
frr defaults datacenter
hostname localhost
log syslog informational
!
router bgp 65000
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
!
router bgp 65000 vrf vrf_myzone
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
exit
!
router bgp 65000 vrf vrf_myzone2
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
exit
!
route-map MAP_VTEP_IN permit 1
-frr version 8.2.2
+frr version 8.5.1
frr defaults datacenter
hostname localhost
log syslog informational
!
router bgp 65000
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
!
router bgp 65000 vrf vrf_myzone
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
!
address-family l2vpn evpn
route-target import 65001:1000
-frr version 8.2.2
+frr version 8.5.1
frr defaults datacenter
hostname localhost
log syslog informational
!
router bgp 65000
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
no bgp default ipv4-unicast
coalesce-time 1000
neighbor VTEP peer-group
!
router bgp 65000 vrf vrf_myzone
bgp router-id 192.168.0.1
+ no bgp hard-administrative-reset
+ no bgp graceful-restart notification
exit
!
route-map MAP_VTEP_IN permit 1