diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2015-05-06 18:05:50 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2015-06-12 06:57:13 +0200 |
commit | 21b792b7ba253553ab19ed0839b9756b2a6d0acd (patch) | |
tree | fa7afda8912ce3f1680bb228b36afb9b4486f48e /python | |
parent | 62a7ae572796f4d45790666582ff53159da03a35 (diff) | |
download | samba-21b792b7ba253553ab19ed0839b9756b2a6d0acd.tar.gz |
KCC improve docstring for KCC.construct_intrasite_graph()
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/kcc/__init__.py | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/python/samba/kcc/__init__.py b/python/samba/kcc/__init__.py index 2d0283a138b..fd7b2be7eb1 100644 --- a/python/samba/kcc/__init__.py +++ b/python/samba/kcc/__init__.py @@ -2001,7 +2001,21 @@ class KCC(object): def construct_intrasite_graph(self, site_local, dc_local, nc_x, gc_only, detect_stale): - # [MS-ADTS] 6.2.2.2 + """Create an intrasite graph using given parameters + + This might be called a number of times per site with different + parameters. + + Based on [MS-ADTS] 6.2.2.2 + + :param site_local: site for which we are working + :param dc_local: local DC that potentially needs a replica + :param nc_x: naming context (x) that we are testing if it + "should be present" on the local DC + :param gc_only: Boolean - only consider global catalog servers + :param detect_stale: Boolean - check whether links seems down + :return: None + """ # We're using the MS notation names here to allow # correlation back to the published algorithm. # |