diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2015-04-28 11:14:04 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2015-05-30 21:05:25 +0200 |
commit | 2f6c70a450163e1fc92de34eefc96581041b9807 (patch) | |
tree | 2dd57cf9debb65613efb97fa8d87ca617f7c2221 /source4 | |
parent | f21d5ee8d7dd65bbed46da2b2c1c6ca58b66ee68 (diff) | |
download | samba-2f6c70a450163e1fc92de34eefc96581041b9807.tar.gz |
KCC: improve docstring for KCC.add_transports()
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 'source4')
-rwxr-xr-x | source4/scripting/bin/samba_kcc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source4/scripting/bin/samba_kcc b/source4/scripting/bin/samba_kcc index 843e49a572d..d483d01c163 100755 --- a/source4/scripting/bin/samba_kcc +++ b/source4/scripting/bin/samba_kcc @@ -1624,7 +1624,21 @@ class KCC(object): self.kept_connections.add(cn) def add_transports(self, vertex, local_vertex, graph, detect_failed): + """Build a Vertex's transport lists + Each vertex has accept_red_red and accept_black lists that + list what transports they accept under various conditions. The + only transport that is ever accepted is IP, and a dummy extra + transport called "EDGE_TYPE_ALL". + + Part of MS-ADTS 6.2.2.3.4.3 -- ColorVertices + + :param vertex: the remote vertex we are thinking about + :param local_vertex: the vertex relating to the local site. + :param graph: the intersite graph + :param detect_failed: whether to detect failed links + :return: True if some bridgeheads were not found + """ # The docs ([MS-ADTS] 6.2.2.3.4.3) say to use local_vertex # here, but using vertex seems to make more sense. That is, # the docs want this: |