From a509d5ee53f42912d9722c9aae890e2ca6967680 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 3 Apr 2020 14:23:00 +0200 Subject: vrf: T31: name of isntance is not allowed to mimic an interface name Every VRF that's created is not allowed to be named like any interface that can be active on the system. This includes eth, lan, br, dum, lo .... In theoriy this would work but as soon as such a regular interface is created things will go sideways rather quick thus we limit the namespace which can be used to create a VRF. Appending an interface name is still possible like coolvrf-eth0. --- interface-definitions/vrf.xml.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/vrf.xml.in b/interface-definitions/vrf.xml.in index 76748e5ae..7c75bf824 100644 --- a/interface-definitions/vrf.xml.in +++ b/interface-definitions/vrf.xml.in @@ -17,9 +17,9 @@ VRF instance name - [^/\s]{1,16}$ + - VRF instance name must be 16 characters or less + VRF instance name must be 16 characters or less and can not\nbe named as regular network interfaces name Instance name @@ -44,4 +44,4 @@ - \ No newline at end of file + -- cgit v1.2.3