From 1db31230890811d701a3d64c1571e3d4bfa4b3d4 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 17 Jun 2021 19:04:47 +0200 Subject: route-map: T3632: fix invalid validation regex for extcommunity-rt|soo Use the validation string/system available within vyos-1x. This also works on VyOS 1.2 series systems. --- interface-definitions/policy.xml.in | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in index 8cba17330..6a002cc20 100644 --- a/interface-definitions/policy.xml.in +++ b/interface-definitions/policy.xml.in @@ -1031,18 +1031,34 @@ Set route target value - txt - ASN:nn_or_IP_address:nn VPN extended community + ASN:NN + based on autonomous system number + + + IP:NN + Based on a router-id IP address + + ^((?:[0-9]{1,3}\.){3}[0-9]{1,3}|\d+):\d+$ + + Should be in form: ASN:NN or IPADDR:NN where ASN is autonomous system number Set Site of Origin value - txt - ASN:nn_or_IP_address:nn VPN extended community + ASN:NN + based on autonomous system number + + + IP:NN + Based on a router-id IP address + + ^((?:[0-9]{1,3}\.){3}[0-9]{1,3}|\d+):\d+$ + + Should be in form: ASN:NN or IPADDR:NN where ASN is autonomous system number -- cgit v1.2.3