diff options
author | sever-sever <v.gletenko@vyos.io> | 2020-12-08 09:29:27 +0000 |
---|---|---|
committer | sever-sever <v.gletenko@vyos.io> | 2020-12-08 09:29:27 +0000 |
commit | 9f49c546bed35f2d80946536ccd67de1b13c0bf1 (patch) | |
tree | a1cb28d0b5fd3653f3e5144ef2470348e1666f8e /data/templates/frr/bgp.frr.tmpl | |
parent | 345db48254e2ba94680510d08e85c08d5a6dae37 (diff) | |
download | vyos-1x-9f49c546bed35f2d80946536ccd67de1b13c0bf1.tar.gz vyos-1x-9f49c546bed35f2d80946536ccd67de1b13c0bf1.zip |
bgp: T2174: Fix Template. Update to use FRRConfig framework
Diffstat (limited to 'data/templates/frr/bgp.frr.tmpl')
-rw-r--r-- | data/templates/frr/bgp.frr.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/frr/bgp.frr.tmpl b/data/templates/frr/bgp.frr.tmpl index 86e1aa366..16355a1e5 100644 --- a/data/templates/frr/bgp.frr.tmpl +++ b/data/templates/frr/bgp.frr.tmpl @@ -114,9 +114,9 @@ {% endif %} {% if config.address_family[af].prefix_list is defined and config.address_family[af].prefix_list is not none %} {% if config.address_family[af].prefix_list.export is defined and config.address_family[af].prefix_list.export is not none %} - neighbor {{ neighbor }} route-map {{ config.address_family[af].prefix_list.export }} out + neighbor {{ neighbor }} prefix-list {{ config.address_family[af].prefix_list.export }} out {% elif config.address_family[af].prefix_list.import is defined and config.address_family[af].prefix_list.import is not none %} - neighbor {{ neighbor }} route-map {{ config.address_family[af].prefix_list.export }} in + neighbor {{ neighbor }} prefix-list {{ config.address_family[af].prefix_list.import }} in {% endif %} {% endif %} {% if config.address_family[af].soft_reconfiguration is defined and config.address_family[af].soft_reconfiguration.inbound is defined %} |