-
Notifications
You must be signed in to change notification settings - Fork 618
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[occm] Not all OpenStack providers support AllowedAddressPairs (#2492)
* Ignore allowed_address_pairs if extension is not available Some cloud providers disable extension allowed_address_pairs * Update pkg/openstack/routes.go * Update pkg/openstack/routes.go * Ignore allowed_address_pairs if port_security_enabled=false for port Any changes to allowed_address_pairs will returns errors if port_security_enabled is false for port. Log message in such cases warns users of potential packet drops by Neutron port security as it is only allows port ip to pass through. --------- Co-authored-by: kayrus <[email protected]>
- Loading branch information
1 parent
f3e92a2
commit 822a1de
Showing
2 changed files
with
34 additions
and
13 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