Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to call a custom script from pfupdate to handle VIP in cloud environments #7654

Merged
merged 5 commits into from Jun 7, 2023

Conversation

nqb
Copy link
Contributor

@nqb nqb commented May 5, 2023

Description

  • Call a custom script (outside PF tree), if it exists, each time keepalived is restarted or detected a change
  • pfupdate will receive (as an argument) VIP of VRRP instance(s) when called

Custom script must be executable. Default location is /usr/local/bin/pfupdate-packetfence.sh. Script is not provided by default.

Impacts

  • keepalived configuration
  • pfupdate call

Issue

fixes #6657

Delete branch after merge

YES

NEWS file entries

Enhancements

  • Allow to call a custom script from pfupdate to handle VIP in cloud environments

@nqb nqb added this to the PacketFence-13.0 milestone May 5, 2023
@nqb nqb requested a review from fdurand May 5, 2023 05:11
@satkunas satkunas self-assigned this May 9, 2023
@nqb
Copy link
Contributor Author

nqb commented May 11, 2023

Changes done.

Could you review @satkunas and @fdurand ?

Thanks.

@satkunas satkunas self-requested a review May 16, 2023 14:14
@nqb nqb merged commit 2edb63d into devel Jun 7, 2023
1 check passed
@nqb nqb deleted the fix/6657 branch June 7, 2023 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Virtual IP changes: run a custom script when a change is detected
3 participants