mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
KCC: docstring for kcc.graph.Vertex
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>
This commit is contained in:
parent
ea48c8f2b6
commit
5a3cb71d0b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user