4 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov
970fab180c Remove become blocks from tasks
As become is applied to most of the tasks in the role, let's remove
them and suggest applying become on the playbook level instead.
We do not have become applied on task level in any other managed
role.

This also helps to workaround PAM/apparmor issue with CentOS
in Docker for molecule test.

We also deal with an intermittent failures in Docker, as interface
naming/ordering is random and non-deterministic with no way of
controlling it.

Thus, instead of detecting an IP address by interface, we hardcode the
IP address both for containers and in FRR configurations.

Change-Id: I73471dd895eea5c6abfbec24681c796d5e7d813d
2025-04-02 12:24:07 +02:00
Dmitriy Rabotyagov
3cb0aad164 Add support for FRR reload
In case of configuration changes it's better to reload FRR rather then
perform restart. Actions towards FRR lead to networking downtime until
connection is established and required routes reconciled.

To reduce the downtime let's reload FRR in case of simple config changes

Change-Id: I83746f3a101dc0f678a4a82d02160fc1fa8d8e52
2024-12-27 21:35:08 +01:00
Dmitriy Rabotyagov
b04bf138e4 Add ebgp policy definition for tests
According to RFC-8212 policies must be described in order to allow
announce/accept routes. Without policies being described, no routes
will be announced/recieved by default.

This patch fixes current CI failures.

Change-Id: Ia033cc7c3ed3146860ab96452bec988f3c3069bf
2024-02-23 16:05:20 +00:00
Dmitriy Rabotyagov
72aa27b649 Initial commit
Change-Id: I3faf848d4bd096827b81560a16fcfef2441365cb
2020-06-23 17:20:50 +03:00