pierky / arouteserver

A tool to automatically build (and test) feature-rich configurations for BGP route servers.
https://arouteserver.readthedocs.org/
GNU General Public License v3.0
288 stars 46 forks source link

Add metadata to policy textual representation #121

Open bluikko opened 1 year ago

bluikko commented 1 year ago

This is yet another operator-quality-of-life small feature request:

The route server policy textual representation file could have simple metadata in it, preferably (IMHO) in a non-visible way such as some specific HTML tag (in head? not sure if suitable ones exist, maybe no?) or simply as a HTML comment.

Suggested metadata:

Personally I'd be fine with just the generation timestamp.

This metadata could help in pinpointing specific versions of the policy. Users may have these cached or lying around for whatever -- usually bad -- reasons.

It might affect automated workflows where the policy files are compared for whatever reason as that metadata would change often.
I could not say if such use cases exist in the real world and this change would probably be net-beneficial to operators.