diff --git a/vyos.conf.j2 b/vyos.conf.j2 index a2b91ab..af8b057 100644 --- a/vyos.conf.j2 +++ b/vyos.conf.j2 @@ -105,10 +105,12 @@ protocols { /* -=-=-=-=-=-=-=-=-=-=-=-=-=- RPKI -=-=-=-=-=-=-=-=-=-=-=-=-=- */ rpki { - cache routinator { - address 185.134.197.215 - port 3323 + {% for cache_name,cache_data in salt['pillar.get']('protocols:rpki:cache',{}).items() %} + cache {{ cache_name }} { + address {{ cache_data[ 'address' ] }} + port {{ cache_data.get('port',3233) }} } + {% endfor %} } /* -=-=-=-=-=-=-=-=-=-=-=-=-=- OSPF -=-=-=-=-=-=-=-=-=-=-=-=-=- */