Skip to content
Snippets Groups Projects
Commit 2e7dae20 authored by skorpy's avatar skorpy :construction_worker:
Browse files

bird: new peering next5

parent 6269488b
No related branches found
No related tags found
No related merge requests found
Pipeline #19556 passed
......@@ -13,8 +13,8 @@ def all_peerings(proto):
template = 'from {} '.format(peer['template'])
if 'template' in peerproto:
template = 'from {} '.format(peer['template'])
rule.append('protocol bgp {0} {1}{"{"}'.format(
name.replace('-', '_').lower(), template))
rule.append('protocol bgp {0} {1}'.format(
name.replace('-', '_').lower(), template) + '{')
if 'description' in peer:
rule.append('\t# description "{}";'.format(peer['description']))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment