... to follow up, from the documentation of bird 2:

string proto

    The name of the protocol which the route has been imported
    from. Read-only.

What I am looking for is the opposite:

string proto_to_or_destination_or_better_name

    The name of the protocol in which the filter or function is being
    called in. Allows to match on the destination.

    Example:

    if(proto_to_or_destination_or_better_name = "asn_1" and net ...)
    then accept;

(obviously I made up the above description, but that's exactly what I'm
looking for).

Still curious on what others think about this.

--
Sustainable and modern Infrastructures by ungleich.ch

Reply via email to