Set bgp_router_id to a fixed ip

Review [1] added support for bgp-dragent. By default btp_router_id is
set to fact ipaddress. This fact can change between different puppet
runs as new network interfaces can be added, for exmple bg-ex, breaking
idempotency.

This patch sets bgp_router_id to 127.0.0.1 as it can be any ipv4
address.

[1] https://review.openstack.org/583222

Change-Id: I67e8085b4f4d507c4d3040a7ee4b5e1b928afdb4
This commit is contained in:
Alfredo Moralejo 2018-08-20 09:56:28 +02:00
parent 2d845b9a3b
commit 376c2dfda8
1 changed files with 3 additions and 1 deletions

View File

@ -246,6 +246,8 @@ class openstack_integration::neutron (
}
}
if $bgp_dragent_enabled {
include ::neutron::agents::bgp_dragent
class {'::neutron::agents::bgp_dragent':
bgp_router_id => '127.0.0.1'
}
}
}