Skip to content
Snippets Groups Projects
Unverified Commit 3d19e744 authored by MatthieuFin's avatar MatthieuFin Committed by GitHub
Browse files

feat(calico): add support filters on bgppeers per node definition (#11079)

parent 929c818b
Branches
Tags
No related merge requests found
......@@ -64,6 +64,9 @@
"asNumber": "{{ item.as }}",
"node": "{{ inventory_hostname }}",
"peerIP": "{{ item.router_id }}",
{% if calico_version is version('v3.26.0', '>=') and (item.filters | default([]) | length > 0) %}
"filters": {{ item.filters }},
{% endif %}
"sourceAddress": "{{ item.sourceaddress | default('UseNodeIP') }}"
}}
register: output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment