<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/validators/mac-address-exclude, branch c-po-patch-1</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=c-po-patch-1</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=c-po-patch-1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2022-11-03T17:04:12+00:00</updated>
<entry>
<title>validators: T4795: migrate mac-address python validator to validate-value</title>
<updated>2022-11-03T17:04:12+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-11-03T16:47:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=3f5464d0ee857d204dc58867065380340008f79b'/>
<id>urn:sha1:3f5464d0ee857d204dc58867065380340008f79b</id>
<content type='text'>
Instead of spawning the Python interpreter for every mac-address to
validate, rather use the base validate-value OCaml implementation which
is much faster.

This removes redundant code and also makes the CLI more responsive.

Validator is moved out to a dedicated file instead of using XML inlined &lt;regex&gt;
for the reason of re-usability. So if that regex needs to be touched again - it
can all happen in one single file.
</content>
</entry>
</feed>
