summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource4/scripting/bin/samba_kcc14
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: