pathpol: Implement ! and & operators for path policy sequences #2356
Labels
feature
New feature or request
i/needs investigation
Issues/proposals that need to be confirmed/explored
These operators are missing. In theory these could be implemented using regexp lookaheads, however, lookaheads are not implemented in golang regexp package. The reason is that there are not trivially, if at all, implementable using simple FSMs. For more context look here: golang/go#18868 (comment)
That being said, it's not entirely clear whether the operators are needed. Some use cases can be implemented using ACLs. There's also stuff that's not doable, but it's rather obscure, e.g. "go through ISD 64 on the second hop but not through AS 64-42; at the same time we don't want to blacklist AS 64-42 in this policy".
The text was updated successfully, but these errors were encountered: