[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci/site/luci/Extensions/ClusterModel A ...



CVSROOT:	/cvs/cluster
Module name:	conga
Branch: 	EXPERIMENTAL
Changes by:	rmccabe sourceware org	2007-05-15 18:58:56

Modified files:
	luci/site/luci/Extensions/ClusterModel: Apache.py 
	                                        BaseResource.py 
	                                        Cluster.py 
	                                        ClusterNode.py 
	                                        ClusterNodes.py 
	                                        Clusterfs.py Cman.py 
	                                        Device.py 
	                                        FailoverDomain.py 
	                                        FailoverDomainNode.py 
	                                        FailoverDomains.py 
	                                        Fence.py FenceDaemon.py 
	                                        FenceDevice.py 
	                                        FenceDevices.py 
	                                        FenceXVMd.py Fs.py 
	                                        GeneralError.py Gulm.py 
	                                        Heuristic.py Ip.py 
	                                        LVM.py Lockserver.py 
	                                        Method.py 
	                                        ModelBuilder.py 
	                                        Multicast.py MySQL.py 
	                                        NFSClient.py 
	                                        NFSExport.py Netfs.py 
	                                        OpenLDAP.py Postgres8.py 
	                                        QuorumD.py RefObject.py 
	                                        Resources.py Rm.py 
	                                        SAPDatabase.py 
	                                        SAPInstance.py Samba.py 
	                                        Script.py Service.py 
	                                        TagObject.py Tomcat5.py 
	                                        Totem.py Vm.py 

Log message:
	Small tidy-ups and insertion of copyright notices.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Apache.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/BaseResource.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Cluster.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/ClusterNode.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/ClusterNodes.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Clusterfs.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Cman.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Device.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/FailoverDomain.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/FailoverDomainNode.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/FailoverDomains.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Fence.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/FenceDaemon.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/FenceDevice.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/FenceDevices.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/FenceXVMd.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Fs.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/GeneralError.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Gulm.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Heuristic.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Ip.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/LVM.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Lockserver.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Method.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/ModelBuilder.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.2&r2=1.1.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Multicast.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/MySQL.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/NFSClient.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/NFSExport.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Netfs.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/OpenLDAP.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Postgres8.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/QuorumD.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/RefObject.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Resources.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Rm.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/SAPDatabase.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/SAPInstance.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Samba.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Script.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Service.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/TagObject.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Tomcat5.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Totem.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/Vm.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.1.2.1&r2=1.1.2.2

--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Apache.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Apache.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,10 +1,15 @@
-from BaseResource import BaseResource
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
 
-import gettext
-_ = gettext.gettext
+from BaseResource import BaseResource
+from gettext import gettext as _
 
-TAG_NAME = "apache"
-RESOURCE_TYPE = _("Apache Server")
+TAG_NAME = 'apache'
+RESOURCE_TYPE = _('Apache Server')
 
 class Apache(BaseResource):
   def __init__(self):
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/BaseResource.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/BaseResource.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "base_resource"  #This tag name should never be seen
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Cluster.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Cluster.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "cluster"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/ClusterNode.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/ClusterNode.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "clusternode"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/ClusterNodes.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/ClusterNodes.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 CLUSTERNODES = "Cluster Nodes"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Clusterfs.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Clusterfs.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,10 +1,15 @@
-from BaseResource import BaseResource
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
 
-import gettext
-_ = gettext.gettext
+from BaseResource import BaseResource
+from gettext import gettext as _
 
-TAG_NAME = "clusterfs"
-RESOURCE_TYPE = _("GFS")
+TAG_NAME = 'clusterfs'
+RESOURCE_TYPE = _('GFS')
 
 class Clusterfs(BaseResource):
   def __init__(self):
@@ -12,4 +17,4 @@
     self.TAG_NAME = TAG_NAME
     self.resource_type = RESOURCE_TYPE
     #only fstype supported right now is gfs
-    self.addAttribute("fstype","gfs")
+    self.addAttribute('fstype', 'gfs')
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Cman.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Cman.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = 'cman'
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Device.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Device.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 import FenceHandler
 from TagObject import TagObject
 
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/FailoverDomain.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/FailoverDomain.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "failoverdomain"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/FailoverDomainNode.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/FailoverDomainNode.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "failoverdomainnode"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/FailoverDomains.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/FailoverDomains.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "failoverdomains"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Fence.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Fence.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "fence"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/FenceDaemon.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/FenceDaemon.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 POST_JOIN_DEFAULT	= '3'
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/FenceDevice.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/FenceDevice.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 import FenceHandler
 from TagObject import TagObject
 
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/FenceDevices.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/FenceDevices.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "fencedevices"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/FenceXVMd.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/FenceXVMd.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "fence_xvmd"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Fs.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Fs.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,10 +1,15 @@
-from BaseResource import BaseResource
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
 
-import gettext
-_ = gettext.gettext
+from BaseResource import BaseResource
+from gettext import gettext as _
 
-TAG_NAME = "fs"
-RESOURCE_TYPE = _("File System")
+TAG_NAME = 'fs'
+RESOURCE_TYPE = _('File System')
 
 class Fs(BaseResource):
   def __init__(self):
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/GeneralError.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/GeneralError.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 """Exception class for throwing except on an 
    unsuccessfully run lvm command.
 """
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Gulm.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Gulm.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "gulm"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Heuristic.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Heuristic.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "heuristic"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Ip.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Ip.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,10 +1,15 @@
-from BaseResource import BaseResource
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
 
-import gettext
-_ = gettext.gettext
+from BaseResource import BaseResource
+from gettext import gettext as _
 
 TAG_NAME = 'ip'
-RESOURCE_TYPE = _("IP Address")
+RESOURCE_TYPE = _('IP Address')
 
 class Ip(BaseResource):
   def __init__(self):
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/LVM.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/LVM.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,7 +1,12 @@
-from BaseResource import BaseResource
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
 
-import gettext
-_ = gettext.gettext
+from BaseResource import BaseResource
+from gettext import gettext as _
 
 TAG_NAME = 'lvm'
 RESOURCE_TYPE = _('Logical Volume Management')
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Lockserver.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Lockserver.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "lockserver"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Method.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Method.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "method"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/ModelBuilder.py	2007/05/08 21:30:59	1.1.2.2
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/ModelBuilder.py	2007/05/15 18:58:55	1.1.2.3
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from xml.dom import minidom, Node
 from TagObject import TagObject
 from Cluster import Cluster
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Multicast.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Multicast.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "multicast"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/MySQL.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/MySQL.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,10 +1,15 @@
-from BaseResource import BaseResource
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
 
-import gettext
-_ = gettext.gettext
+from BaseResource import BaseResource
+from gettext import gettext as _
 
-TAG_NAME = "mysql"
-RESOURCE_TYPE = _("MySQL Server")
+TAG_NAME = 'mysql'
+RESOURCE_TYPE = _('MySQL Server')
 
 class MySQL(BaseResource):
   def __init__(self):
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/NFSClient.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/NFSClient.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,10 +1,15 @@
-from BaseResource import BaseResource
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
 
-import gettext
-_ = gettext.gettext
+from BaseResource import BaseResource
+from gettext import gettext as _
 
-RESOURCE_TYPE = _("NFS Client")
-TAG_NAME = "nfsclient"
+TAG_NAME = 'nfsclient'
+RESOURCE_TYPE = _('NFS Client')
 
 DENY_ALL_CHILDREN = True
 
@@ -13,5 +18,5 @@
     BaseResource.__init__(self)
     self.TAG_NAME = TAG_NAME
     self.resource_type = RESOURCE_TYPE
-    self.addAttribute("name", " ")
+    self.addAttribute('name', ' ')
     self.deny_all_children = DENY_ALL_CHILDREN
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/NFSExport.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/NFSExport.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,10 +1,15 @@
-from BaseResource import BaseResource
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
 
-import gettext
-_ = gettext.gettext
+from BaseResource import BaseResource
+from gettext import gettext as _
 
-RESOURCE_TYPE = _("NFS Export")
-TAG_NAME = "nfsexport"
+TAG_NAME = 'nfsexport'
+RESOURCE_TYPE = _('NFS Export')
 
 class NFSExport(BaseResource):
   def __init__(self):
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Netfs.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Netfs.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,10 +1,15 @@
-from BaseResource import BaseResource
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
 
-import gettext
-_ = gettext.gettext
+from BaseResource import BaseResource
+from gettext import gettext as _
 
-TAG_NAME = "netfs"
-RESOURCE_TYPE = _("NFS Mount")
+TAG_NAME = 'netfs'
+RESOURCE_TYPE = _('NFS Mount')
 
 class Netfs(BaseResource):
   def __init__(self):
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/OpenLDAP.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/OpenLDAP.py	2007/05/15 18:58:55	1.1.2.2
@@ -1,10 +1,15 @@
-from BaseResource import BaseResource
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
 
-import gettext
-_ = gettext.gettext
+from BaseResource import BaseResource
+from gettext import gettext as _
 
-TAG_NAME = "openldap"
-RESOURCE_TYPE = _("Open LDAP Server")
+TAG_NAME = 'openldap'
+RESOURCE_TYPE = _('Open LDAP Server')
 
 class OpenLDAP(BaseResource):
   def __init__(self):
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Postgres8.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Postgres8.py	2007/05/15 18:58:56	1.1.2.2
@@ -1,10 +1,15 @@
-from BaseResource import BaseResource
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
 
-import gettext
-_ = gettext.gettext
+from BaseResource import BaseResource
+from gettext import gettext as _
 
-TAG_NAME = "postgres-8"
-RESOURCE_TYPE = _("PostgreSQL 8 Server")
+TAG_NAME = 'postgres-8'
+RESOURCE_TYPE = _('PostgreSQL 8 Server')
 
 class Postgres8(BaseResource):
   def __init__(self):
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/QuorumD.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/QuorumD.py	2007/05/15 18:58:56	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "quorumd"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/RefObject.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/RefObject.py	2007/05/15 18:58:56	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "ref"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Resources.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Resources.py	2007/05/15 18:58:56	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "resources"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Rm.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Rm.py	2007/05/15 18:58:56	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "rm"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/SAPDatabase.py	2007/05/08 21:30:59	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/SAPDatabase.py	2007/05/15 18:58:56	1.1.2.2
@@ -1,10 +1,15 @@
-from BaseResource import BaseResource
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
 
-import gettext
-_ = gettext.gettext
+from BaseResource import BaseResource
+from gettext import gettext as _
 
-TAG_NAME = "SAPDatabase"
-RESOURCE_TYPE = _("SAP Database")
+TAG_NAME = 'SAPDatabase'
+RESOURCE_TYPE = _('SAP Database')
 
 class SAPDatabase(BaseResource):
   def __init__(self):
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/SAPInstance.py	2007/05/08 21:30:59	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/SAPInstance.py	2007/05/15 18:58:56	1.1.2.2
@@ -1,10 +1,15 @@
-from BaseResource import BaseResource
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
 
-import gettext
-_ = gettext.gettext
+from BaseResource import BaseResource
+from gettext import gettext as _
 
-TAG_NAME = "SAPInstance"
-RESOURCE_TYPE = _("SAP Instance")
+TAG_NAME = 'SAPInstance'
+RESOURCE_TYPE = _('SAP Instance')
 
 class SAPInstance(BaseResource):
   def __init__(self):
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Samba.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Samba.py	2007/05/15 18:58:56	1.1.2.2
@@ -1,10 +1,15 @@
-from BaseResource import BaseResource
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
 
-import gettext
-_ = gettext.gettext
+from BaseResource import BaseResource
+from gettext import gettext as _
 
-TAG_NAME = "smb"
-RESOURCE_TYPE = _("Samba Service")
+TAG_NAME = 'smb'
+RESOURCE_TYPE = _('Samba Service')
 
 class Samba(BaseResource):
   def __init__(self):
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Script.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Script.py	2007/05/15 18:58:56	1.1.2.2
@@ -1,10 +1,15 @@
-from BaseResource import BaseResource
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
 
-import gettext
-_ = gettext.gettext
+from BaseResource import BaseResource
+from gettext import gettext as _
 
-RESOURCE_TYPE = _("Script")
-TAG_NAME = "script"
+TAG_NAME = 'script'
+RESOURCE_TYPE = _('Script')
 
 class Script(BaseResource):
   def __init__(self):
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Service.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Service.py	2007/05/15 18:58:56	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "service"
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/TagObject.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/TagObject.py	2007/05/15 18:58:56	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 TAG_NAME = "document"
 
 class TagObject:
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Tomcat5.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Tomcat5.py	2007/05/15 18:58:56	1.1.2.2
@@ -1,10 +1,15 @@
-from BaseResource import BaseResource
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
 
-import gettext
-_ = gettext.gettext
+from BaseResource import BaseResource
+from gettext import gettext as _
 
-TAG_NAME = "tomcat-5"
-RESOURCE_TYPE = _("Tomcat 5 Server")
+TAG_NAME = 'tomcat-5'
+RESOURCE_TYPE = _('Tomcat 5 Server')
 
 class Tomcat5(BaseResource):
   def __init__(self):
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Totem.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Totem.py	2007/05/15 18:58:56	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = 'totem'
--- conga/luci/site/luci/Extensions/ClusterModel/Attic/Vm.py	2007/05/03 20:16:38	1.1.2.1
+++ conga/luci/site/luci/Extensions/ClusterModel/Attic/Vm.py	2007/05/15 18:58:56	1.1.2.2
@@ -1,3 +1,10 @@
+# Copyright (C) 2006-2007 Red Hat, Inc.
+#
+# This program is free software; you can redistribute
+# it and/or modify it under the terms of version 2 of the
+# GNU General Public License as published by the
+# Free Software Foundation.
+
 from TagObject import TagObject
 
 TAG_NAME = "vm"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]