summaryrefslogtreecommitdiffstats
path: root/lib_cman.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib_cman.py')
-rw-r--r--lib_cman.py174
1 files changed, 174 insertions, 0 deletions
diff --git a/lib_cman.py b/lib_cman.py
new file mode 100644
index 0000000..198ca34
--- /dev/null
+++ b/lib_cman.py
@@ -0,0 +1,174 @@
+#!/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)'
+ ]
+ 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)'
+ ]
+ 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)'
+ ]
+ 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)'
+ ]
+ 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',
+ )
+ 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',
+ )
+ 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',
+ )
+ srpm = 'clustermon'
+ rpm = 'modcluster'
+ rhbz = 'clustermon'