Re: [c-nsp] IOS XR RPL Matching on neighbor IP/ASN

Saku Ytti <[email protected]>
Newsgroups gmane.network.nsp.cisco
Message-ID <CAAeewD8H_JTQbHr=i0CaHr-WZ1_b0oah0FUMO4NCFZq3V3tg9A@mail.gmail.com>
On Mon, 22 Nov 2021 at 11:14, Gert Doering <[email protected]> wrote:

> Haven't tried, but that would be extremely annoying.
>
> The use case I have in mind is using large communities to control
> per-peer-AS exports, as in:
>
>   <myasn>:0:<yourasn>  --> "do not announce to $yourasn"
>   <myasn>:1:<yourasn>  --> "prepend to $yourasn"

We need to start rejecting complex DSLs for routing policies. And
start asking for correct solution

a) policy api (e.g. gRPC call, where reply gives actions) - could be
your program running on the router itself, not necessarily centralised
server
b) mruby or lua instead of vendor DSL for policy evaluation - ideally
something >1 vendor will implement

So that the built-in DSL is for simple/naive cases, and operators who
need to implement complex policies across multiple vendors have much
simpler time doing that.

-- 
  ++ytti
_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.