All of lore.kernel.org
 help / color / mirror / Atom feed
From: jparsons@sourceware.org <jparsons@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/luci/site/luci/Extensions ModelBuilder.p ...
Date: 24 Oct 2006 01:42:53 -0000	[thread overview]
Message-ID: <20061024014253.29306.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	conga
Branch: 	RHEL5
Changes by:	jparsons at sourceware.org	2006-10-24 01:42:53

Modified files:
	luci/site/luci/Extensions: ModelBuilder.py cluster_adapters.py 
Added files:
	luci/site/luci/Extensions: Vm.py 

Log message:
	Change UI name and tag name from Xenvm

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/Vm.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ModelBuilder.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.8&r2=1.8.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.120.2.3&r2=1.120.2.4

--- conga/luci/site/luci/Extensions/ModelBuilder.py	2006/10/16 20:46:55	1.8
+++ conga/luci/site/luci/Extensions/ModelBuilder.py	2006/10/24 01:42:52	1.8.2.1
@@ -33,7 +33,7 @@
 from Service import Service
 from QuorumD import QuorumD
 from Heuristic import Heuristic
-from Xenvm import Xenvm
+from Vm import Vm
 from RefObject import RefObject
 from FailoverDomain import FailoverDomain
 from FailoverDomains import FailoverDomains
@@ -57,7 +57,7 @@
            'lockserver':Lockserver,
            'rm':Rm,
            'service':Service,
-           'xenvm':Xenvm,
+           'vm':Vm,
            'resources':Resources,
            'failoverdomain':FailoverDomain,
            'failoverdomains':FailoverDomains,
@@ -86,7 +86,7 @@
 RESOURCES_PTR_STR="resources"
 FENCEDAEMON_PTR_STR="fence_daemon"
 SERVICE="service"
-XENVM="xenvm"
+VM="vm"
 GULM_TAG_STR="gulm"
 MCAST_STR="multicast"
 CMAN_PTR_STR="cman"
@@ -663,7 +663,7 @@
     if self.resourcemanager_ptr != None:
       kids = self.resourcemanager_ptr.getChildren()
       for kid in kids:
-        if kid.getTagName() == XENVM:
+        if kid.getTagName() == VM:
           rg_list.append(kid)
 
     return rg_list
--- conga/luci/site/luci/Extensions/cluster_adapters.py	2006/10/23 20:47:10	1.120.2.3
+++ conga/luci/site/luci/Extensions/cluster_adapters.py	2006/10/24 01:42:52	1.120.2.4
@@ -16,7 +16,7 @@
 from NFSClient import NFSClient
 from NFSExport import NFSExport
 from Netfs import Netfs
-from Xenvm import Xenvm
+from Vm import Vm
 from Script import Script
 from Samba import Samba
 from clusterOS import resolveOSType
@@ -910,10 +910,10 @@
 
   if model.getIsVirtualized() == True:
     vmadd = {}
-    vmadd['Title'] = "Add a XenVM"
+    vmadd['Title'] = "Add a Virtual Service"
     vmadd['cfg_type'] = "xenvmadd"
     vmadd['absolute_url'] = url + "?pagetype=" + XENVM_ADD + "&clustername=" + cluname
-    vmadd['Description'] = "Add a XenVM to this cluster"
+    vmadd['Description'] = "Add a Virtual Service to this cluster"
     if pagetype == XENVM_ADD:
       vmadd['currentItem'] = True
     else:
@@ -963,7 +963,7 @@
     svc['Title'] = xenname
     svc['cfg_type'] = "xenvm"
     svc['absolute_url'] = url + "?pagetype=" + XENVM_CONFIG + "&servicename=" + xenname + "&clustername=" + cluname
-    svc['Description'] = "Configure this XenVM"
+    svc['Description'] = "Configure this Virtual Service"
     if pagetype == XENVM_CONFIG:
       try:
         xname = request['servicename']
@@ -2512,7 +2512,7 @@
     isNew = True
   
   if isNew == True:
-    xvm = Xenvm()
+    xvm = Vm()
     xvm.addAttribute("name", req.form['xenvmname'])
     xvm.addAttribute("path", req.form['xenvmpath'])
     rmptr = model.getResourceManagerPtr()



             reply	other threads:[~2006-10-24  1:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-24  1:42 jparsons [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-05-11  2:38 [Cluster-devel] conga/luci/site/luci/Extensions ModelBuilder.p rmccabe
2007-05-11  2:38 rmccabe
2007-05-11  2:36 rmccabe
2007-02-15 18:55 rmccabe
2007-01-23 14:05 rmccabe
2007-01-23 14:01 rmccabe
2007-01-10 21:48 kupcevic
2007-01-10 21:36 jparsons
2006-10-26 22:59 rmccabe
2006-10-24 15:05 jparsons
2006-10-06 21:08 rmccabe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061024014253.29306.qmail@sourceware.org \
    --to=jparsons@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.