diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-18 12:53:16 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-18 12:59:14 +0200 |
commit | 8ce0cd9f09940f8c365ea1cc76b1b14197fdfd2a (patch) | |
tree | 4d959e1362add4178c7e29ba60bfdd1f4de7994e /interface-definitions/include/bgp/route-target-export.xml.i | |
parent | 0df3e23d57192a1e1e9d12c00e3ca532138eed87 (diff) | |
download | vyos-1x-8ce0cd9f09940f8c365ea1cc76b1b14197fdfd2a.tar.gz vyos-1x-8ce0cd9f09940f8c365ea1cc76b1b14197fdfd2a.zip |
bgp: evpn: T1513: re-structure route-target XML blocks
Make the both, export and import XML block re-usable by the IPv4 AFI.
Diffstat (limited to 'interface-definitions/include/bgp/route-target-export.xml.i')
-rw-r--r-- | interface-definitions/include/bgp/route-target-export.xml.i | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/route-target-export.xml.i b/interface-definitions/include/bgp/route-target-export.xml.i new file mode 100644 index 000000000..0542000a5 --- /dev/null +++ b/interface-definitions/include/bgp/route-target-export.xml.i @@ -0,0 +1,14 @@ +<!-- include start from bgp/route-target-export.xml.i -->
+<leafNode name="export">
+ <properties>
+ <help>Route Target export</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>Route target (x.x.x.x:yyy|xxxx:yyyy)</description>
+ </valueHelp>
+ <constraint>
+ <regex>^((25[0-5]|2[0-4][0-9]|[1][0-9][0-9]|[1-9][0-9]|[0-9]?)(\.(25[0-5]|2[0-4][0-9]|[1][0-9][0-9]|[1-9][0-9]|[0-9]?)){3}|[0-9]{1,10}):[0-9]{1,5}$</regex>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->
|