[PATCHES] CTDB 11.natgw cleanup, static routes support, tests
Martin Schwenke
martin at meltin.net
Sun Mar 23 23:20:59 MDT 2014
This set of patches adds a new configuration variable
CTDB_NATGW_STATIC_ROUTES to allow the NAT gateway code to use static
network/host routes (instead of a default route) to reach
infrastructure. This can be useful when there's an inconvenient
default route pointing elsewhere.
The patch set does a few things:
1. Add tests for the existing 11.natgw functionality
Always good to make sure the new feature doesn't break anything.
Also, my broken implementation for "promote secondaries" broke NAT
gateway but we didn't have any tests so we didn't notice.
2. Clean up 11.natgw in a few steps
Pull some code out into functions, make function names consistent,
reformat some code, ...
3. Add support for CTDB_NATGW_STATIC_ROUTES in a couple of steps
First without custom gateway per route, then with.
4. Add tests for CTDB_NATGW_STATIC_ROUTES
Please review and push if OK.
These patches are in my ctdb-11.natgw branch:
http://git.samba.org/?p=martins/samba.git;a=shortlog;h=refs/heads/ctdb-11.natgw
peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctdb-11.natgw.patches
Type: application/octet-stream
Size: 46102 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140324/ab3960b2/attachment.obj>
More information about the samba-technical
mailing list