From 86f12cf4450b259daa200f5139fca0f845da687a Mon Sep 17 00:00:00 2001 From: Marek Isalski Date: Mon, 23 Sep 2019 14:17:36 +0100 Subject: [PATCH] add RPKI cache connections --- vyos.conf.j2 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 -=-=-=-=-=-=-=-=-=-=-=-=-=- */