[PATCH] ctdb-eventscripts: Make 11.natgw stateful

Martin Schwenke martin at meltin.net
Wed Mar 11 02:08:23 MDT 2015


This patch has been sitting in my WIP tree for a long time.  I'm not
going to let this one pass the 12 month mark given that I think it is
better than what we currently have...  :-)

IP addresses and routes are only changed if either the NAT gateway
configuration or the NAT gateway master node has changed.  If running
"ip monitor" this will minimise the amount of noise seen.  It should
also be more lightweight at the expense of managing a couple of state
files.

Add a test to check that configuration changes behave correctly.
Tweak the static route result generation code so that the required
output is sorted.

Review and pushed appreciated...

peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ctdb-eventscripts-Make-11.natgw-stateful.patch
Type: text/x-patch
Size: 8134 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150311/f6df70a1/attachment.bin>


More information about the samba-technical mailing list