From 706f7c7dfade403468ab4dfb836501430dc78d9d Mon Sep 17 00:00:00 2001 From: Jan Pokorný Date: Fri, 8 Nov 2013 16:17:45 +0100 Subject: Start tracking "location" (install. path) for the entities MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Pokorný --- lib.py | 3 +++ lib_cman.py | 10 ++++++++++ lib_shared.py | 3 +++ 3 files changed, 16 insertions(+) diff --git a/lib.py b/lib.py index eb8d818..8ebbec4 100644 --- a/lib.py +++ b/lib.py @@ -183,6 +183,9 @@ def xdot_graph(graph, *args, **kwargs): markup += "" + cls.summary + "\n\n" if hasattr(cls, 'web'): markup += "" + cls.web + "\n\n" + if hasattr(cls, 'location'): + markup += "location:\n" + markup += "" + cls.location + "\n\n" if hasattr(cls, 'repo'): markup += "repository:\n" for name, value in cls.repo.iteritems(): diff --git a/lib_cman.py b/lib_cman.py index fbb1de6..e04ff6f 100644 --- a/lib_cman.py +++ b/lib_cman.py @@ -66,6 +66,7 @@ class CmanRGManager(Daemon): summary = \ "RGManager (Resource Group ~) deals with cluster resources" web = 'https://fedorahosted.org/cluster/wiki/RGManager' + location = '/usr/sbin/rgmanager' repo = dict( git='git://git.fedorahosted.org/git/cluster.git', web='https://git.fedorahosted.org/cgit/cluster.git', @@ -87,6 +88,7 @@ class CmanClustat(Executable): )) summary = \ "clustat is a program to display cluster status" + location = '/usr/sbin/clustat' repo = dict( git='git://git.fedorahosted.org/git/cluster.git', web='https://git.fedorahosted.org/cgit/cluster.git', @@ -112,6 +114,7 @@ class CmanCmanTool(Executable): )) summary = \ "cman_tool is a program to manage CMAN cluster subsystem" + location = '/usr/sbin/cman_tool' repo = dict( git='git://git.fedorahosted.org/git/cluster.git', web='https://git.fedorahosted.org/cgit/cluster.git', @@ -137,6 +140,7 @@ class CmanFenceTool(Executable): )) summary = \ "fence_tool is a utility for the fenced daemon" + location = '/usr/sbin/fence_tool' repo = dict( git='git://git.fedorahosted.org/git/cluster.git', web='https://git.fedorahosted.org/cgit/cluster.git', @@ -159,6 +163,7 @@ class CmanRicci(Daemon): summary = \ "ricci daemon is an executive back-end within cluster management (conga)" #web = 'https://sourceware.org/cluster/conga/' + location = '/usr/sbin/ricci' repo = dict( git='git://git.fedorahosted.org/git/conga.git', web='https://git.fedorahosted.org/cgit/conga.git', @@ -190,6 +195,7 @@ class CmanCcs(Executable, CmanRicciRPCSrc): )) summary = \ "ccs is a CLI front-end within cluster management (conga)" + location = '/usr/sbin/ccs' repo = dict( #git='git://git.fedorahosted.org/git/conga.git', git='git://github.com/feist/ccs.git', @@ -218,6 +224,7 @@ class CmanCcsSync(Executable, CmanRicciRPCSrc): )) summary = \ "ccs_sync is a program to distribute+propagate cluster configuration" + location = '/usr/bin/ccs_sync' repo = dict( git='git://git.fedorahosted.org/git/conga.git', web='https://git.fedorahosted.org/cgit/conga.git', @@ -274,6 +281,7 @@ class CmanModclusterd(Daemon, CmanModclusterdUpdatesPeer): )) summary = \ "modclusterd is a deamon facilitating info about cluster status (to conga)" + location = '/usr/sbin/modclusterd' repo = dict( git='git://git.fedorahosted.org/git/conga.git', web='https://git.fedorahosted.org/cgit/conga.git', @@ -323,6 +331,7 @@ class CmanModcluster(Executable): )) summary = \ "modcluster is a ricci's helper dealing with cluster config and status" + location = '/usr/libexec/modcluster' repo = dict( git='git://git.fedorahosted.org/git/conga.git', web='https://git.fedorahosted.org/cgit/conga.git', @@ -345,6 +354,7 @@ class CmanFenced(Daemon): )) summary = \ "fenced is an I/O fencing daemon" + location = '/usr/sbin/fenced' repo = dict( git='git://git.fedorahosted.org/git/cluster.git', web='https://git.fedorahosted.org/cgit/cluster.git', diff --git a/lib_shared.py b/lib_shared.py index 9ec4fbe..185899c 100644 --- a/lib_shared.py +++ b/lib_shared.py @@ -16,6 +16,7 @@ class SharedFenceVirtd(Daemon): )) summary = \ "fence_virtd is daemon listening for fence_virt's fencing requests" + location = '/usr/sbin/fence_virtd' repo = dict( git='git://github.com/ryan-mccabe/fence-virt.git', #git='git://git.code.sf.net/p/fence-virt/code', @@ -38,6 +39,7 @@ class SharedFenceVirt(Executable): )) summary = \ "fence_{virt,xvm} is a program to request fencing via fence_virtd" + location = '/usr/sbin/fence_virt' repo = dict( git='git://github.com/ryan-mccabe/fence-virt.git', #git='git://git.code.sf.net/p/fence-virt/code', @@ -63,6 +65,7 @@ class SharedCorosync(Daemon): "Corosync is a Group Communication System with additional features" \ + " for implementing high availability within applications" web = 'http://corosync.github.io/corosync/' + location = '/usr/sbin/corosync' repo = dict( git='git://github.com/corosync/corosync.git', web='https://github.com/corosync/corosync', -- cgit