mirror of
https://gitea.0xace.cc/ansible-galaxy/bird.git
synced 2024-11-24 15:46:39 +00:00
add source ip address support
This commit is contained in:
parent
90a78bf9b9
commit
7075530eff
@ -3,7 +3,8 @@ Use with network role for loopback/dummy interface configuraton
|
||||
|
||||
BIRD config example:
|
||||
|
||||
bird_interface: "dummy0"
|
||||
# Set routing interface
|
||||
bird_interface: "eth1"
|
||||
bird:
|
||||
bgp:
|
||||
common:
|
||||
|
@ -34,6 +34,9 @@ protocol bgp {{ protocol_bgp.name }} {
|
||||
{% if protocol_bgp.confederation is defined %}
|
||||
confederation {{ protocol_bgp.confederation }};
|
||||
confederation member yes;
|
||||
{% endif %}
|
||||
{% if protocol_bgp.source is defined %}
|
||||
source {{ protocol_bgp.source }};
|
||||
{% endif %}
|
||||
local as {{ protocol_bgp.local_asnum }};
|
||||
neighbor {{ protocol_bgp.remote_addr }} as {{ protocol_bgp.remote_asnum }};
|
||||
|
Loading…
Reference in New Issue
Block a user