diff options
| author | Martin Schwenke <mschwenke@ddn.com> | 2026-04-09 17:52:20 +1000 |
|---|---|---|
| committer | Martin Schwenke <martins@samba.org> | 2026-04-17 00:11:50 +0000 |
| commit | b605cc7c88089fc5e2f5cce08543e7dbae148a24 (patch) | |
| tree | 6f73e3aa5d044796fed972f691a3fc8b32da128f /source4/scripting/python/samba | |
| parent | 8c8dded9481cae424df0205dd06bfc49014dcf63 (diff) | |
| download | samba-b605cc7c88089fc5e2f5cce08543e7dbae148a24.tar.gz samba-b605cc7c88089fc5e2f5cce08543e7dbae148a24.tar.bz2 samba-b605cc7c88089fc5e2f5cce08543e7dbae148a24.zip | |
ctdb-scripts: Support interface altnames
This avoids generating a warning like:
WARNING: Public IP <ip> hosted on interface <iface> but VNN says <altname>
every time a public IP is removed from an interface that is configured
via an altname.
The new check will nearly always be successful because the IP will be
on the expected interface during releaseip/updateip.
The original check is now used as a backup when the IP is not on the
expected interface. To allow the mask bits check to cover both cases,
the original check and the associated interface check needs to be
inside the else clause.
Update the unit test to reflect the change.
Best reviewed with "git show -w" or similar.
Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Apr 17 00:11:50 UTC 2026 on atb-devel-224
Diffstat (limited to 'source4/scripting/python/samba')
0 files changed, 0 insertions, 0 deletions
