summaryrefslogtreecommitdiff
path: root/interface-definitions/policy.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-26 18:26:22 +0200
committerGitHub <noreply@github.com>2021-08-26 18:26:22 +0200
commitc2dfb24a0672ea93a4262feeddd6929275eb08cf (patch)
treef973d7518971a5be4196d77fcba62a89c99e1ef5 /interface-definitions/policy.xml.in
parent9471a9bac452c2c5600ef5d91dd842c8e084e8d6 (diff)
parent8681a62fbb413ad3a613ebedb430919a940beef7 (diff)
downloadvyos-1x-c2dfb24a0672ea93a4262feeddd6929275eb08cf.tar.gz
vyos-1x-c2dfb24a0672ea93a4262feeddd6929275eb08cf.zip
Merge pull request #965 from c-po/t3739-evpn-route-map
bgp: evpn: T3739: add route-map match support
Diffstat (limited to 'interface-definitions/policy.xml.in')
-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 bf1832832..cf65daf00 100644
--- a/interface-definitions/policy.xml.in
+++ b/interface-definitions/policy.xml.in
@@ -551,6 +551,44 @@
</leafNode>
</children>
</node>
+ <node name="evpn">
+ <properties>
+ <help>Ethernet Virtual Private Network</help>
+ </properties>
+ <children>
+ <leafNode name="default-route">
+ <properties>
+ <help>Default EVPN type-5 route</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ #include <include/bgp/route-distinguisher.xml.i>
+ <leafNode name="route-type">
+ <properties>
+ <help>Match route-type</help>
+ <completionHelp>
+ <list>macip multicast prefix</list>
+ </completionHelp>
+ <valueHelp>
+ <format>macip</format>
+ <description>mac-ip route</description>
+ </valueHelp>
+ <valueHelp>
+ <format>multicast</format>
+ <description>IMET route</description>
+ </valueHelp>
+ <valueHelp>
+ <format>prefix</format>
+ <description>Prefix route</description>
+ </valueHelp>
+ <constraint>
+ <regex>^(macip|multicast|prefix)$</regex>
+ </constraint>
+ </properties>
+ </leafNode>
+ #include <include/vni.xml.i>
+ </children>
+ </node>
<leafNode name="extcommunity">
<properties>
<help>BGP extended community to match</help>