diff --git a/etc/alice-lg/alice.example.conf b/etc/alice-lg/alice.example.conf index 38fea6a..a4a23be 100644 --- a/etc/alice-lg/alice.example.conf +++ b/etc/alice-lg/alice.example.conf @@ -180,6 +180,11 @@ api = http://rs1.example.com:29186/ type = multi_table peer_table_prefix = T pipe_protocol_prefix = M + +# Configure optional alternative pipes +# alt_pipe_prefix = "C" +# alt_pipe_suffix = "_lg" + # Timeout in seconds to wait for the status data (only required if enable_neighbors_status_refresh is true) neighbors_refresh_timeout = 2 diff --git a/pkg/sources/birdwatcher/config.go b/pkg/sources/birdwatcher/config.go index 31e29b9..2a2f326 100644 --- a/pkg/sources/birdwatcher/config.go +++ b/pkg/sources/birdwatcher/config.go @@ -17,5 +17,7 @@ type Config struct { MainTable string `ini:"main_table"` PeerTablePrefix string `ini:"peer_table_prefix"` PipeProtocolPrefix string `ini:"pipe_protocol_prefix"` + AltPipePrefix string `ini:"alt_pipe_prefix"` + AltPipeSuffix string `ini:"alt_pipe_suffix"` NeighborsRefreshTimeout int `ini:"neighbors_refresh_timeout"` }