summaryrefslogtreecommitdiff
path: root/src/validators/vrf-name
AgeCommit message (Collapse)Author
2020-05-30vrf: T2530: instance name must be 15 characters or lessChristian Poessinger
2020-05-06validator: T2417: try to make the code clearerThomas Mangin
2020-04-03vrf: T31: Allow vrf name to look more like interface nameRunar Borge
Fix the regex to allow vrf instances like "eth0vrf" but not to allow "eth0"
2020-04-03vrf: T31: name of isntance is not allowed to mimic an interface nameChristian Poessinger
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.