From f69b3041b9994c50ca2d4b137af2a23a354ceb01 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 9 May 2021 11:29:08 +0200 Subject: policy: T3531: Allow prefix-list names to contain an underscore --- .../include/bgp/afi-ipv4-prefix-list.xml.i | 16 ++++++++++++++++ .../include/bgp/afi-ipv6-prefix-list.xml.i | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) (limited to 'interface-definitions/include') diff --git a/interface-definitions/include/bgp/afi-ipv4-prefix-list.xml.i b/interface-definitions/include/bgp/afi-ipv4-prefix-list.xml.i index f4710e9aa..de42eeac9 100644 --- a/interface-definitions/include/bgp/afi-ipv4-prefix-list.xml.i +++ b/interface-definitions/include/bgp/afi-ipv4-prefix-list.xml.i @@ -10,6 +10,14 @@ policy prefix-list + + txt + Name of IPv4 prefix-list + + + ^[-_a-zA-Z0-9]+$ + + Name of prefix-list can only contain alpha-numeric letters, hyphen and underscores @@ -18,6 +26,14 @@ policy prefix-list + + txt + Name of IPv4 prefix-list + + + ^[-_a-zA-Z0-9]+$ + + Name of prefix-list can only contain alpha-numeric letters, hyphen and underscores diff --git a/interface-definitions/include/bgp/afi-ipv6-prefix-list.xml.i b/interface-definitions/include/bgp/afi-ipv6-prefix-list.xml.i index bdb591290..2bf4753be 100644 --- a/interface-definitions/include/bgp/afi-ipv6-prefix-list.xml.i +++ b/interface-definitions/include/bgp/afi-ipv6-prefix-list.xml.i @@ -10,6 +10,14 @@ policy prefix-list6 + + txt + Name of IPv6 prefix-list + + + ^[-_a-zA-Z0-9]+$ + + Name of prefix-list6 can only contain alpha-numeric letters, hyphen and underscores @@ -18,6 +26,14 @@ policy prefix-list6 + + txt + Name of IPv6 prefix-list + + + ^[-_a-zA-Z0-9]+$ + + Name of prefix-list6 can only contain alpha-numeric letters, hyphen and underscores -- cgit v1.2.3