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

bird peering.py add receive_limit

parent 880cf379
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,9 @@ def all_peerings(proto):
if 'import_filter' in peerproto:
rule.append('\timport {};'.format(peerproto['import_filter']))
if 'receive_limit' in peerproto:
rule.append('\treceive limit {} restart;'.format(peerproto['receive_limit']))
if 'self' in peerproto:
rule.append('\tsource address {};'.format(peerproto['self']))
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment