-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
satellites: delete unneeded interfaces
It is now possible to reconfigure the LINSTOR control traffic to only use IPv4 or IPv6. To enforce this even on existing clusters, we need to be able to delete network interfaces. This commit adds management of network interfaces, ensuring only expected network interface are actually configured. We apply the same strategy as with other properties, in that we only try to manage interfaces that where configured by the operator. Since we did not store this information up to now, we simply assume that the Operator managed all interfaces named "default-ipv4" or "default-ipv6". This also fixes an issue when upgrading from Operator v1 to v2, as Operator v1 uses "default" as interface name: After the upgrade, the interface was left unchanged, leaving behind a potentially wrong interface configuration what was not updated by the Operator. We also consider "default" interfaces to be managed by the Operator. Signed-off-by: Moritz Wanzenböck <[email protected]>
- Loading branch information
1 parent
e291295
commit 5d1bc77
Showing
5 changed files
with
209 additions
and
0 deletions.
There are no files selected for viewing
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