Skip to contentSkip to conversation

conga/luci/site/luci/Extensions Vm.py

Cluster-devel [email protected] 1 participant 1 message Oct 24, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: jparsons at sourceware.org 2006-10-24 15:04:13

Added files:
luci/site/luci/Extensions: Vm.py

Log message:

	Genesis - part of bz211942

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/Vm.py.diff?cvsroot=cluster&r1=1.1&r2=1.2

luci/site/luci/Extensions/Vm.py +15 -0
@@ -0,0 +1,15 @@
+import string
+from TagObject import TagObject
+
+TAG_NAME = "vm"
+
+class Vm(TagObject):
+  def __init__(self):
+    TagObject.__init__(self)
+    self.TAG_NAME = TAG_NAME
+    #Have autostart set by default
+    self.addAttribute("autostart","1")
+
+  def getProperties(self):
+    stringbuf = ""
+    return stringbuf