Author: justi9
Date: 2008-12-18 11:05:58 -0500 (Thu, 18 Dec 2008)
New Revision: 3024
Modified:
mgmt/trunk/cumin/python/cumin/model.py
mgmt/trunk/mint/python/mint/schema.py
mgmt/trunk/mint/sql/schema.sql
Log:
Update the schema to include the distro property
Modified: mgmt/trunk/cumin/python/cumin/model.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/model.py 2008-12-18 15:58:17 UTC (rev 3023)
+++ mgmt/trunk/cumin/python/cumin/model.py 2008-12-18 16:05:58 UTC (rev 3024)
@@ -647,6 +647,9 @@
prop = CuminProperty(self, "machine")
prop.title = "Architecture"
+ prop = CuminProperty(self, "distro")
+ prop.title = "Distribution"
+
stat = CuminStat(self, "memFree")
stat.title = "Memory Free"
stat.highlow = True
Modified: mgmt/trunk/mint/python/mint/schema.py
===================================================================
--- mgmt/trunk/mint/python/mint/schema.py 2008-12-18 15:58:17 UTC (rev 3023)
+++ mgmt/trunk/mint/python/mint/schema.py 2008-12-18 16:05:58 UTC (rev 3024)
@@ -1324,6 +1324,7 @@
release = StringCol(length=1000, default=None)
version = StringCol(length=1000, default=None)
machine = StringCol(length=1000, default=None)
+ distro = StringCol(length=1000, default=None)
memTotal = BigIntCol(default=None)
swapTotal = BigIntCol(default=None)
Modified: mgmt/trunk/mint/sql/schema.sql
===================================================================
--- mgmt/trunk/mint/sql/schema.sql 2008-12-18 15:58:17 UTC (rev 3023)
+++ mgmt/trunk/mint/sql/schema.sql 2008-12-18 16:05:58 UTC (rev 3024)
@@ -895,6 +895,7 @@
release VARCHAR(1000),
version VARCHAR(1000),
machine VARCHAR(1000),
+ distro VARCHAR(1000),
mem_total BIGINT,
swap_total BIGINT
);
Show replies by date