diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-11 21:11:48 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-11 21:13:21 +0200 |
commit | 8681a62fbb413ad3a613ebedb430919a940beef7 (patch) | |
tree | 6821c5e5bef5999d6f14577e6871c5164bc9ca33 /interface-definitions/policy.xml.in | |
parent | b95403a7b4a6a220e41ef27b5247065eff782fd3 (diff) | |
download | vyos-1x-8681a62fbb413ad3a613ebedb430919a940beef7.tar.gz vyos-1x-8681a62fbb413ad3a613ebedb430919a940beef7.zip |
bgp: evpn: T3739: add prefix-list match support
FRR 7.5.1 supports:
vyos(config-route-map)# match evpn
default-route default EVPN type-5 route
rd Route Distinguisher
route-type Match route-type
vni Match VNI
This commit adds a proper VyOS CLI abstraction.
Diffstat (limited to 'interface-definitions/policy.xml.in')
-rw-r--r-- | interface-definitions/policy.xml.in | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in index 5a3c58fa8..fb62d2f89 100644 --- a/interface-definitions/policy.xml.in +++ b/interface-definitions/policy.xml.in @@ -535,6 +535,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> |