-
Notifications
You must be signed in to change notification settings - Fork 596
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manage Security Groups for Octavia (#1984)
This patch makes it possible to use the manage-security-groups with octavia load balancer. It creates a new function `ensureAndUpdateOctaviaSecurityGroup` which is called on `EnsureLoadBalancer` and `UpdateLoadBalancer` and handles the security group and security rule creation for Octavia Load Balancer. To make the changes not bigger than needed, it hooks into the `updateSecurityGroup` and `ensureSecurityGroup` function first, checks if Octavia is used and uses the new code. Otherwise the legacy code is called. So the removal of the legacy code should be quite easy. Also it adds a missing security rule for the HealthCheckNodePort. Signed-off-by: Sven Haardiek <sven.haardiek@uni-muenster.de> Signed-off-by: Sven Haardiek <sven.haardiek@uni-muenster.de>
- Loading branch information
Showing
2 changed files
with
166 additions
and
5 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