Skip to content
Snippets Groups Projects
Unverified Commit c59407f1 authored by kakkotetsu's avatar kakkotetsu Committed by GitHub
Browse files

add support for Calico BGPPeer sourceAddress (#8306)

parent fdc5d745
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,10 @@
# peers:
# - router_id: "10.99.0.34"
# as: "65xxx"
# sourceaddress: "None"
# - router_id: "10.99.0.35"
# as: "65xxx"
# sourceaddress: "None"
# loadbalancer_apiserver:
# address: "10.99.0.44"
......
......@@ -2,8 +2,10 @@
# peers:
# - router_id: "10.99.0.2"
# as: "65xxx"
# sourceaddress: "None"
# - router_id: "10.99.0.3"
# as: "65xxx"
# sourceaddress: "None"
# loadbalancer_apiserver:
# address: "10.99.0.21"
......
......@@ -418,7 +418,8 @@
"spec": {
"asNumber": "{{ item.as }}",
"node": "{{ inventory_hostname }}",
"peerIP": "{{ item.router_id }}"
"peerIP": "{{ item.router_id }}",
"sourceAddress": "{{ item.sourceaddress|default('UseNodeIP') }}"
}}
register: output
retries: 4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment