-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
seapath_setup_network: do not use netplan to create team0
To avoid a bug a Netplan durring OVS cleanup step that reset the RSTP configuration of the bridge that is already configured, we decided to not use Netplan to create the team0 interface. The team0 bridge is now created in anycase by the systemd-networkd. Signed-off-by: Mathieu Dupré <[email protected]>
- Loading branch information
1 parent
e9828a1
commit 431fc74
Showing
7 changed files
with
44 additions
and
61 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Copyright (C) 2021, RTE (http://www.rte-france.com) | ||
# Copyright (C) 2024 Savoir-faire Linux, Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
--- | ||
|
||
systemd_networkd_network_custom: "{{ custom_network | default({}) }}" | ||
systemd_networkd_netdev: "{{ custom_netdev | default({}) }}" | ||
|
||
systemd_networkd_network: "{{ team0_systemd_networkd_network | combine(systemd_networkd_network_custom) if cluster_ip_addr is defined else systemd_networkd_network_custom }}" | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Copyright (C) 2021-2024, RTE (http://www.rte-france.com) | ||
# Copyright (C) 2024 Savoir-faire Linux, Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
--- | ||
|
||
team0_systemd_networkd_network: | ||
79-team0: | ||
- Match: | ||
- Name: "team0" | ||
- Network: | ||
- Address: "{{ cluster_ip_addr|default('0') }}/{{ team0subnet | default(24) }}" | ||
79-team0_0: | ||
- Match: | ||
- Name: "{{ team0_0|default('0') }}" | ||
- Link: | ||
- MTUBytes: 1800 | ||
79-team0_1: | ||
- Match: | ||
- Name: "{{ team0_1|default('0') }}" | ||
- Link: | ||
- MTUBytes: 1800 | ||
|
||
... |