From 5a3cb71d0ba1391b033526d29c597c627708684c Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Fri, 8 May 2015 14:53:16 +1200 Subject: [PATCH] KCC: docstring for kcc.graph.Vertex Signed-off-by: Douglas Bagnall Reviewed-by: Garming Sam Reviewed-by: Andrew Bartlett --- python/samba/kcc/graph.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/python/samba/kcc/graph.py b/python/samba/kcc/graph.py index d001e934166..c866ccc3bcb 100644 --- a/python/samba/kcc/graph.py +++ b/python/samba/kcc/graph.py @@ -713,8 +713,12 @@ class VertexColor(object): class Vertex(object): - """Class encapsulation of a Site Vertex in the - intersite topology replication algorithm + """intersite graph representation of a Site. + + There is a separate vertex for each partition. + + :param site: the site to make a vertex of. + :param part: the partition. """ def __init__(self, site, part): self.site = site @@ -732,8 +736,7 @@ class Vertex(object): self.interval = 0 def color_vertex(self): - """Color each vertex to indicate which kind of NC - replica it contains + """Color to indicate which kind of NC replica the vertex contains """ # IF s contains one or more DCs with full replicas of the # NC cr!nCName -- 2.11.4.GIT