<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 12, 2023 at 3:17 PM Ondrej Zajicek <<a href="mailto:santiago@crfreenet.org">santiago@crfreenet.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Jun 12, 2023 at 01:08:15PM +0200, Alexander Zubkov via Bird-users wrote:<br>
> Hi,<br>
> <br>
> The main concern is that a 6-byte bytestring conflicts with the MAC address<br>
> representation. Bird does not have the type for it currently, but who<br>
> knows, it might need it in the future. So we might need some new syntax for<br>
> bytestring in that case. Or it can be postponed to later time. In this case<br>
> introduction of MAC-address lexems would break configs that use 6-byte<br>
> bytestrings (if we want to care much about those).<br>
<br>
Hi<br>
<br>
I already added MAC-address lexem and shortened minimum bytestring length<br>
to 9 bytes in EVPN branch (to represent 10-byte ESI) :<br>
<br>
<a href="https://gitlab.nic.cz/labs/bird/-/commit/cf0661c9762090231c9f2d973968a7ce9f98407e" rel="noreferrer" target="_blank">https://gitlab.nic.cz/labs/bird/-/commit/cf0661c9762090231c9f2d973968a7ce9f98407e</a><br>
<br></blockquote><div><br></div><div>I was afraid to shorten non-colon variant, becuase somebody using the variable name "feedfacecafebeef01" might get hurt. :)<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
So i would keep it at that limit and used e.g. hex:XX:YY:... syntax<br>
for shorter ones.<br></blockquote><div><br></div><div>But Maria has a good point, that it may be beneficial to be able to input the blob with spaces or even line breaks, which requires some sort of "brackets".<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
-- <br>
Elen sila lumenn' omentielvo<br>
<br>
Ondrej 'Santiago' Zajicek (email: <a href="mailto:santiago@crfreenet.org" target="_blank">santiago@crfreenet.org</a>)<br>
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, <a href="http://wwwkeys.pgp.net" rel="noreferrer" target="_blank">wwwkeys.pgp.net</a>)<br>
"To err is human -- to blame it on a computer is even more so."<br>
</blockquote></div></div>