mirror of
https://gitea.0xace.cc/ansible-galaxy/bird.git
synced 2025-04-05 14:41:56 +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 config example:
|
||||||
|
|
||||||
bird_interface: "dummy0"
|
# Set routing interface
|
||||||
|
bird_interface: "eth1"
|
||||||
bird:
|
bird:
|
||||||
bgp:
|
bgp:
|
||||||
common:
|
common:
|
||||||
|
@ -34,6 +34,9 @@ protocol bgp {{ protocol_bgp.name }} {
|
|||||||
{% if protocol_bgp.confederation is defined %}
|
{% if protocol_bgp.confederation is defined %}
|
||||||
confederation {{ protocol_bgp.confederation }};
|
confederation {{ protocol_bgp.confederation }};
|
||||||
confederation member yes;
|
confederation member yes;
|
||||||
|
{% endif %}
|
||||||
|
{% if protocol_bgp.source is defined %}
|
||||||
|
source {{ protocol_bgp.source }};
|
||||||
{% endif %}
|
{% endif %}
|
||||||
local as {{ protocol_bgp.local_asnum }};
|
local as {{ protocol_bgp.local_asnum }};
|
||||||
neighbor {{ protocol_bgp.remote_addr }} as {{ protocol_bgp.remote_asnum }};
|
neighbor {{ protocol_bgp.remote_addr }} as {{ protocol_bgp.remote_asnum }};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user