From 8ce0cd9f09940f8c365ea1cc76b1b14197fdfd2a Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 18 Aug 2021 12:53:16 +0200 Subject: bgp: evpn: T1513: re-structure route-target XML blocks Make the both, export and import XML block re-usable by the IPv4 AFI. --- interface-definitions/include/bgp/route-target-both.xml.i | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 interface-definitions/include/bgp/route-target-both.xml.i (limited to 'interface-definitions/include/bgp/route-target-both.xml.i') diff --git a/interface-definitions/include/bgp/route-target-both.xml.i b/interface-definitions/include/bgp/route-target-both.xml.i new file mode 100644 index 000000000..2381f420f --- /dev/null +++ b/interface-definitions/include/bgp/route-target-both.xml.i @@ -0,0 +1,14 @@ + + + + Route Target both import and export + + txt + Route target (x.x.x.x:yyy|xxxx:yyyy) + + + ^((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}$ + + + + -- cgit v1.2.3