summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-08 09:46:57 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-08 10:25:17 +0200
commitd0497af1a1412d3a01a764bc14f66a3da2e82e69 (patch)
tree9801ebd10dba419beb1dfadd8774c6197e4df793 /interface-definitions
parentda9fb81131db0e4ca3566cac31257ee212638406 (diff)
downloadvyos-1x-d0497af1a1412d3a01a764bc14f66a3da2e82e69.tar.gz
vyos-1x-d0497af1a1412d3a01a764bc14f66a3da2e82e69.zip
policy: evpn: T3739: support "set evpn gateway-ip"
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/policy.xml.in38
1 files changed, 38 insertions, 0 deletions
diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in
index 1d5d7dd55..50b7cbc84 100644
--- a/interface-definitions/policy.xml.in
+++ b/interface-definitions/policy.xml.in
@@ -1070,6 +1070,44 @@
</constraint>
</properties>
</leafNode>
+ <node name="evpn">
+ <properties>
+ <help>Ethernet Virtual Private Network</help>
+ </properties>
+ <children>
+ <node name="gateway">
+ <properties>
+ <help>Set gateway IP for prefix advertisement route</help>
+ </properties>
+ <children>
+ <leafNode name="ipv4">
+ <properties>
+ <help>Set gateway IPv4 address</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>Gateway IPv4 address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="ipv6">
+ <properties>
+ <help>Set gateway IPv6 address</help>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>Gateway IPv6 address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv6-address"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
<node name="extcommunity">
<properties>
<help>BGP extended community attribute</help>