From d0497af1a1412d3a01a764bc14f66a3da2e82e69 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 8 May 2022 09:46:57 +0200 Subject: policy: evpn: T3739: support "set evpn gateway-ip" --- data/templates/frr/policy.frr.j2 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'data/templates/frr/policy.frr.j2') diff --git a/data/templates/frr/policy.frr.j2 b/data/templates/frr/policy.frr.j2 index f0a64cb89..a42b73e98 100644 --- a/data/templates/frr/policy.frr.j2 +++ b/data/templates/frr/policy.frr.j2 @@ -259,6 +259,12 @@ route-map {{ route_map }} {{ rule_config.action }} {{ rule }} {% if rule_config.set.distance is vyos_defined %} set distance {{ rule_config.set.distance }} {% endif %} +{% if rule_config.set.evpn.gateway.ipv4 is vyos_defined %} + set evpn gateway-ip ipv4 {{ rule_config.set.evpn.gateway.ipv4 }} +{% endif %} +{% if rule_config.set.evpn.gateway.ipv6 is vyos_defined %} + set evpn gateway-ip ipv6 {{ rule_config.set.evpn.gateway.ipv6 }} +{% endif %} {% if rule_config.set.extcommunity.bandwidth is vyos_defined %} set extcommunity bandwidth {{ rule_config.set.extcommunity.bandwidth }} {% endif %} -- cgit v1.2.3