summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/afi-route-map-export-import.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-20 18:16:02 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-20 18:16:02 +0200
commit08d5265b06fc3b011df286df4767349e89770a62 (patch)
tree4130ada6da47b8289ea1839d5d76586df5b46291 /interface-definitions/include/bgp/afi-route-map-export-import.xml.i
parent37331e3dc629bfd8a3ddd196ff738c5670cdbac6 (diff)
downloadvyos-1x-08d5265b06fc3b011df286df4767349e89770a62.tar.gz
vyos-1x-08d5265b06fc3b011df286df4767349e89770a62.zip
bgp: T3759: create common export/import building block for re-usable route-maps
Diffstat (limited to 'interface-definitions/include/bgp/afi-route-map-export-import.xml.i')
-rw-r--r--interface-definitions/include/bgp/afi-route-map-export-import.xml.i34
1 files changed, 34 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/afi-route-map-export-import.xml.i b/interface-definitions/include/bgp/afi-route-map-export-import.xml.i
new file mode 100644
index 000000000..eae10d312
--- /dev/null
+++ b/interface-definitions/include/bgp/afi-route-map-export-import.xml.i
@@ -0,0 +1,34 @@
+<!-- include start from bgp/afi-route-map.xml.i -->
+<leafNode name="export">
+ <properties>
+ <help>Route-map to filter outgoing route updates</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ <valueHelp>
+ <format>txt</format>
+ <description>Route map name</description>
+ </valueHelp>
+ <constraint>
+ <regex>^[-_a-zA-Z0-9.]+$</regex>
+ </constraint>
+ <constraintErrorMessage>Name of route-map can only contain alpha-numeric letters, hyphen and underscores</constraintErrorMessage>
+ </properties>
+</leafNode>
+<leafNode name="import">
+ <properties>
+ <help>Route-map to filter incoming route updates</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ <valueHelp>
+ <format>txt</format>
+ <description>Route map name</description>
+ </valueHelp>
+ <constraint>
+ <regex>^[-_a-zA-Z0-9.]+$</regex>
+ </constraint>
+ <constraintErrorMessage>Name of route-map can only contain alpha-numeric letters, hyphen and underscores</constraintErrorMessage>
+ </properties>
+</leafNode>
+<!-- include end -->