<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 28, 2022, at 10:34 AM, Maria Matejka <<a href="mailto:maria.matejka@nic.cz" class="">maria.matejka@nic.cz</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello!<br class=""><br class=""><blockquote type="cite" class="">So, the questions here is:<br class="">1) My understanding of the way RPKI-RTR works is that it's basically handed a tuple of prefix and AS, and RTR says "valid", "invalid", or "unknown".  It feels like to check for AS 0 ROAs, we'd basically have to do two lookups for each route that's otherwise invalid, which feels inefficient.  Is there a better way?<br class=""></blockquote><br class="">Probably not. Anyway, there are some plans to look into roa check efficiency, there are also going to be some aspa / as cones checks and more so we have to make it fast.<br class=""><br class=""><blockquote type="cite" class="">2) Can the output of "show route" be extended to include user defined fields, or are we locked into what's there?<br class="">3) If not, we're limited to adding communities or MEDs or local prefs or something like that, which is a hack, but at least gives us some info we can view.  Is that a dangerous trade off?<br class=""></blockquote><br class="">You can declare and use your own route attributes exactly for this:<br class=""><a href="https://bird.network.cz/?get_doc&v=20&f=bird-3.html#opt-attribute" class="">https://bird.network.cz/?get_doc&v=20&f=bird-3.html#opt-attribute</a></div></div></blockquote><br class=""></div><div>This is awesome.  Given the : </div><div><dl style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Arial, Helvetica, sans-serif; font-size: 12.800000190734863px;" class=""><dt class=""><code class="">attribute <em class="">type</em> <em class="">name</em></code></dt></dl><div class="">I assume the type can be any of the ones here?</div><div class=""><br class=""></div><div class=""><a href="https://bird.network.cz/?get_doc&v=20&f=bird-5.html#ss5.2" class="">https://bird.network.cz/?get_doc&v=20&f=bird-5.html#ss5.2</a></div><div class=""><br class=""></div><div class="">-Dan</div></div></body></html>