It's already disabled in the default datacenter profile since frr 7.4
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
@controller_config = ();
if($ebgp) {
@controller_config = ();
if($ebgp) {
- push @controller_config, "no bgp ebgp-requires-policy";
push @controller_config, "bgp disable-ebgp-connected-route-check" if $loopback;
}
push @controller_config, "bgp disable-ebgp-connected-route-check" if $loopback;
}
#main vrf router
@controller_config = ();
push @controller_config, "bgp router-id $ifaceip";
#main vrf router
@controller_config = ();
push @controller_config, "bgp router-id $ifaceip";
- push @controller_config, "no bgp ebgp-requires-policy" if $ebgp;
# push @controller_config, "!";
push(@{$config->{frr}->{router}->{"bgp $asn vrf $vrf"}->{""}}, @controller_config);
# push @controller_config, "!";
push(@{$config->{frr}->{router}->{"bgp $asn vrf $vrf"}->{""}}, @controller_config);
neighbor VTEP bfd
neighbor 192.168.0.2 peer-group VTEP
neighbor 192.168.0.3 peer-group VTEP
neighbor VTEP bfd
neighbor 192.168.0.2 peer-group VTEP
neighbor 192.168.0.3 peer-group VTEP
- no bgp ebgp-requires-policy
neighbor BGP peer-group
neighbor BGP remote-as external
neighbor BGP bfd
neighbor BGP peer-group
neighbor BGP remote-as external
neighbor BGP bfd
!
router bgp 65001 vrf vrf_myzone
bgp router-id 192.168.0.1
!
router bgp 65001 vrf vrf_myzone
bgp router-id 192.168.0.1
- no bgp ebgp-requires-policy
!
address-family l2vpn evpn
route-target import 65000:1000
!
address-family l2vpn evpn
route-target import 65000:1000
neighbor VTEP update-source dummy1
neighbor 192.168.0.2 peer-group VTEP
neighbor 192.168.0.3 peer-group VTEP
neighbor VTEP update-source dummy1
neighbor 192.168.0.2 peer-group VTEP
neighbor 192.168.0.3 peer-group VTEP
- no bgp ebgp-requires-policy
bgp disable-ebgp-connected-route-check
neighbor BGP peer-group
neighbor BGP remote-as external
bgp disable-ebgp-connected-route-check
neighbor BGP peer-group
neighbor BGP remote-as external
!
router bgp 65001 vrf vrf_myzone
bgp router-id 192.168.0.1
!
router bgp 65001 vrf vrf_myzone
bgp router-id 192.168.0.1
- no bgp ebgp-requires-policy
!
address-family l2vpn evpn
route-target import 65000:1000
!
address-family l2vpn evpn
route-target import 65000:1000