kcc_utils: Add a routine for automatic site coverage
authorGarming Sam <garming@catalyst.net.nz>
Tue, 13 Mar 2018 00:04:12 +0000 (13:04 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 21 Mar 2018 03:36:21 +0000 (04:36 +0100)
commit32a543198769c0e50f2039325d2e6eafdd877ba4
tree15d8ba3bc46a24ce38ef9b29707039887594a667
parent245e179340bd870e486957f0a4b82be23ebc9f5a
kcc_utils: Add a routine for automatic site coverage

This allows double-coverage if two links exist with the same cost.
Administrators should only connect an DC-less site via a single site
link.

This also allows unnecessary coverage by all sites in the adjoining site
link (to be resolved in the later patches).

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/kcc/kcc_utils.py