{% if 'set-community' in group %}community {{ group['set-community'] }}{% endif %}
{% if 'add-community' in group %}community "additive {{ group['add-community'] }}"{% elif 'set-community' in group %}community {{ group['set-community'] }}{% endif %}
{% if 'set-local-preference' in group %}local-preference {{ group['set-local-preference'] }}{% endif %}
{% if 'set-local-preference' in group %}local-preference {{ group['set-local-preference'] }}{% endif %}
}
}
}
}
@ -1232,8 +1232,12 @@ policy {
rule {{ loop.index }} {
rule {{ loop.index }} {
action permit
action permit
prefix {{ prefix['prefix'] }}
prefix {{ prefix['prefix'] }}
{% if prefix_data['bgpq3'].get('most-specific',False) %}