summaryrefslogtreecommitdiffstats
path: root/lib_cman.py
blob: 60a0e63a4cb3ce0892fbb02194ab2fb6b8fc3987 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
#!/usr/bin/env python
# vim: set fileencoding=UTF-8:
# Copyright 2013 Red Hat, Inc.
# Author: Jan Pokorný <jpokorny at redhat dot com>
# Distributed under GPLv2+;  generated content under CC-BY-SA 3.0
# (to view a copy, visit http://creativecommons.org/licenses/by-sa/3.0/)
"""Library comprising cman cluster entities and relationships"""

from lib_nodes import *
from lib_edges import *
from lib_shared import *


class CmanRGManager(Daemon):
    defaults = dict((
        LABEL('rgmanager'),
    ))
    summary = \
    "RGManager (Resource Group ~) deals with cluster resources"
    web = 'https://fedorahosted.org/cluster/wiki/RGManager'
    repo = dict(
        git='git://git.fedorahosted.org/git/cluster.git',
        web='https://git.fedorahosted.org/cgit/cluster.git',
        ml='https://lists.fedorahosted.org/mailman/listinfo/cluster-commits'
    )
    man = [
        'rgmanager(8)'
    ]
    srpm = 'rgmanager'
    rpm = 'rgmanager'
    rhbz = 'rgmanager'


class CmanClustat(Executable):
    defaults = dict((
        LABEL('clustat'),
    ))
    summary = \
    "clustat is a program to display cluster status"
    repo = dict(
        git='git://git.fedorahosted.org/git/cluster.git',
        web='https://git.fedorahosted.org/cgit/cluster.git',
        ml='https://lists.fedorahosted.org/mailman/listinfo/cluster-commits'
    )
    man = [
        'clustat(8)'
    ]
    srpm = 'rgmanager'
    rpm = 'rgmanager'
    rhbz = 'rgmanager'


class CmanCmanTool(Executable):
    defaults = dict((
        LABEL('cman_tool'),
    ))
    summary = \
    "cman_tool is a program to manage CMAN cluster subsystem"
    repo = dict(
        git='git://git.fedorahosted.org/git/cluster.git',
        web='https://git.fedorahosted.org/cgit/cluster.git',
        ml='https://lists.fedorahosted.org/mailman/listinfo/cluster-commits'
    )
    man = [
        'cman_tool(8)'
    ]
    ids = dict(
        srpm='cluster',
        rpm='cman',
        rhbz='cluster',
    )


class CmanRicci(Daemon):
    defaults = dict((
        LABEL('ricci'),
    ))
    summary = \
    "ricci daemon is an executive back-end within cluster management (conga)"
    #web = 'https://sourceware.org/cluster/conga/'
    repo = dict(
        git='git://git.fedorahosted.org/git/conga.git',
        web='https://git.fedorahosted.org/cgit/conga.git',
    )
    man = [
        'ricci(8)'
    ]
    ids = dict(
        srpm='ricci',
        rpm='ricci',
        rhbz='ricci',
    )


class CmanCcs(Executable):
    defaults = dict((
        LABEL('ccs'),
    ))
    summary = \
    "ccs is a CLI front-end within cluster management (conga)"
    repo = dict(
        #git='git://git.fedorahosted.org/git/conga.git',
        git='git://github.com/feist/ccs.git',
        #web='https://git.fedorahosted.org/cgit/conga.git',
        web='https://github.com/feist/ccs',
    )
    man = [
        'ccs(8)'
    ]
    ids = dict(
        srpm='ricci',
        rpm='ccs',
        rhbz='ricci',
    )


class CmanCcsSync(Executable):
    defaults = dict((
        LABEL('ccs_sync'),
    ))
    summary = \
    "ccs_sync is a program to distribute+propagate cluster configuration"
    repo = dict(
        git='git://git.fedorahosted.org/git/conga.git',
        web='https://git.fedorahosted.org/cgit/conga.git',
    )
    man = [
        'ccs_sync(8)'
    ]
    ids = dict(
        srpm='ricci',
        rpm='ricci',
        rhbz='ricci',
    )


class CmanLuci(Daemon):
    defaults = dict((
        LABEL('luci'),
    ))
    summary = \
    "luci is a web front-end within cluster management (conga)"
    #web = 'https://sourceware.org/cluster/conga/'
    web = 'https://fedorahosted.org/cluster/wiki/Luci'
    repo = dict(
        git='git://git.fedorahosted.org/git/luci.git',
        web='https://git.fedorahosted.org/cgit/luci.git',
        ml='https://lists.fedorahosted.org/mailman/listinfo/luci-commits',
    )
    ids = dict(
        srpm='luci',
        rpm='luci',
        rhbz='luci',
    )


class CmanModclusterd(Daemon):
    defaults = dict((
        LABEL('modclusterd'),
    ))
    summary = \
    "modclusterd is a deamon facilitating info about cluster status (to conga)"
    repo = dict(
        git='git://git.fedorahosted.org/git/conga.git',
        web='https://git.fedorahosted.org/cgit/conga.git',
    )
    ids = dict(
        srpm='clustermon',
        rpm='modcluster',
        rhbz='clustermon',
    )


class  CmanModcluster(Executable):
    defaults = dict((
        LABEL('modcluster'),
    ))
    summary = \
    "modcluster is a ricci's helper dealing with cluster config and status"
    repo = dict(
        git='git://git.fedorahosted.org/git/conga.git',
        web='https://git.fedorahosted.org/cgit/conga.git',
    )
    ids = dict(
        srpm='clustermon',
        rpm='modcluster',
        rhbz='clustermon',
    )