@@ -85,7 +85,7 @@ resource "iosxe_bgp_neighbor" "bgp_neighbor" {
8585 timers_holdtime = each. value . timers_holdtime
8686 timers_minimum_neighbor_hold = each. value . timers_minimum_neighbor_hold
8787 ttl_security_hops = each. value . ttl_security_hops
88- update_source_loopback = each. value . update_source_loopback
88+ update_source_interface_loopback = each. value . update_source_loopback
8989 ebgp_multihop = each. value . ebgp_multihop
9090 ebgp_multihop_max_hop = each. value . ebgp_multihop_max_hop
9191}
@@ -169,6 +169,7 @@ resource "iosxe_bgp_address_family_ipv4_vrf" "bgp_address_family_ipv4_vrf" {
169169 ipv4_unicast_aggregate_addresses = try (length (vrf. aggregate_addresses ) == 0 , true ) ? null : [for agg in vrf . aggregate_addresses : {
170170 ipv4_address = try (agg. address , local. defaults . iosxe . configuration . routing . bgp . address_family . ipv4_unicast . vrfs . aggregate_addresses . address , null )
171171 ipv4_mask = try (agg. mask , local. defaults . iosxe . configuration . routing . bgp . address_family . ipv4_unicast . vrfs . aggregate_addresses . mask , null )
172+ summary_only = try (agg. summary_only , local. defaults . iosxe . configuration . routing . bgp . address_family . ipv4_unicast . vrfs . aggregate_addresses . summary_only , null )
172173 }]
173174 ipv4_unicast_admin_distances = try (length (vrf. admin_distances ) == 0 , true ) ? null : [for ad in vrf . admin_distances : {
174175 distance = try (ad. distance , local. defaults . iosxe . configuration . routing . bgp . address_family . ipv4_unicast . vrfs . admin_distances . distance , null )
@@ -188,6 +189,7 @@ resource "iosxe_bgp_address_family_ipv4_vrf" "bgp_address_family_ipv4_vrf" {
188189 route_map = try (net. route_map , local. defaults . iosxe . configuration . routing . bgp . address_family . ipv4_unicast . vrfs . networks . route_map , null )
189190 backdoor = try (net. backdoor , local. defaults . iosxe . configuration . routing . bgp . address_family . ipv4_unicast . vrfs . networks . backdoor , null )
190191 } if try (net. mask , null ) == null ]
192+ ipv4_unicast_import_path_selection_all = try (vrf. import_path_selection_all , local. defaults . iosxe . configuration . routing . bgp . address_family . ipv4_unicast . vrfs . import_path_selection_all , null )
191193 }]
192194
193195 depends_on = [
@@ -313,6 +315,10 @@ locals {
313315 send_community = try (neighbor. send_community , local. defaults . iosxe . configuration . routing . bgp . address_family . l2vpn_evpn . neighbors . send_community , null )
314316 route_reflector_client = try (neighbor. route_reflector_client , local. defaults . iosxe . configuration . routing . bgp . address_family . l2vpn_evpn . neighbors . route_reflector_client , null )
315317 soft_reconfiguration = try (neighbor. soft_reconfiguration , local. defaults . iosxe . configuration . routing . bgp . address_family . l2vpn_evpn . neighbors . soft_reconfiguration , null )
318+ route_maps = try (length (neighbor. route_maps ) == 0 , true ) ? null : [for rm in neighbor . route_maps : {
319+ inout = try (rm. in_out , local. defaults . iosxe . configuration . routing . bgp . address_family . l2vpn_evpn . neighbors . route_maps . in_out , null )
320+ route_map_name = try (rm. name , local. defaults . iosxe . configuration . routing . bgp . address_family . l2vpn_evpn . neighbors . route_maps . name , null )
321+ }]
316322 }
317323 ]
318324 ])
@@ -328,8 +334,9 @@ resource "iosxe_bgp_l2vpn_evpn_neighbor" "bgp_l2vpn_evpn_neighbor" {
328334 send_community = each. value . send_community
329335 route_reflector_client = each. value . route_reflector_client
330336 soft_reconfiguration = each. value . soft_reconfiguration
337+ route_map = each. value . route_maps
331338
332- depends_on = [iosxe_bgp_neighbor . bgp_neighbor ]
339+ depends_on = [iosxe_bgp_neighbor . bgp_neighbor , iosxe_route_map . route_map ]
333340}
334341
335342locals {
0 commit comments