@@ -4,11 +4,11 @@ locals {
44 for bgp_process in try (local. device_config [device . name ]. routing . bgp , []) : [
55 for af_group in try (bgp_process. af_groups , []) : [
66 for af in try (af_group. address_family , []) : {
7- key = format (" %s/%s/%s/%s" , device. name , bgp_process. as_number , af_group. group_name , af. af_name )
7+ key = format (" %s/%s/%s/%s" , device. name , bgp_process. as_number , af_group. name , af. name )
88 device_name = device . name
99 as_number = try (bgp_process. as_number , local. defaults . iosxr . devices . configuration . routing . bgp . as_number , null )
10- af_group_name = try (af_group. group_name , local. defaults . iosxr . devices . configuration . routing . bgp . af_groups . group_name , null )
11- af_name = try (af. af_name , local. defaults . iosxr . devices . configuration . routing . bgp . af_groups . address_family . af_name , null )
10+ af_group_name = try (af_group. name , local. defaults . iosxr . devices . configuration . routing . bgp . af_groups . name , null )
11+ af_name = try (af. name , local. defaults . iosxr . devices . configuration . routing . bgp . af_groups . address_family . name , null )
1212 encapsulation_type = try (af. encapsulation_type , local. defaults . iosxr . devices . configuration . routing . bgp . af_groups . address_family . encapsulation_type , null )
1313 weight = try (af. weight , local. defaults . iosxr . devices . configuration . routing . bgp . af_groups . address_family . weight , null )
1414 multipath = try (af. multipath , local. defaults . iosxr . devices . configuration . routing . bgp . af_groups . address_family . multipath , null )
0 commit comments