summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Reports/reports/models.py
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2012-06-14 10:20:12 -0500
committerTim Laszlo <tim.laszlo@gmail.com>2012-06-14 10:21:32 -0500
commit3f3d2138aca930c59a2139f6ff2a5405c2449fe5 (patch)
treeae138e8a9c69d2dd1cfdb8cbb3b059b7a19cf9e7 /src/lib/Bcfg2/Server/Reports/reports/models.py
parent772ea973da6b425e9f2336ed64cb2fd1081b3256 (diff)
downloadbcfg2-3f3d2138aca930c59a2139f6ff2a5405c2449fe5.tar.gz
bcfg2-3f3d2138aca930c59a2139f6ff2a5405c2449fe5.tar.bz2
bcfg2-3f3d2138aca930c59a2139f6ff2a5405c2449fe5.zip
DBStats: Start loading good entries into the db
Diffstat (limited to 'src/lib/Bcfg2/Server/Reports/reports/models.py')
-rw-r--r--src/lib/Bcfg2/Server/Reports/reports/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Reports/reports/models.py b/src/lib/Bcfg2/Server/Reports/reports/models.py
index 750add34d..3bce17a30 100644
--- a/src/lib/Bcfg2/Server/Reports/reports/models.py
+++ b/src/lib/Bcfg2/Server/Reports/reports/models.py
@@ -23,11 +23,13 @@ KIND_CHOICES = (
('Path', 'symlink'),
('Service', 'Service'),
)
+TYPE_GOOD = 0
TYPE_BAD = 1
TYPE_MODIFIED = 2
TYPE_EXTRA = 3
TYPE_CHOICES = (
+ (TYPE_GOOD, 'Good'),
(TYPE_BAD, 'Bad'),
(TYPE_MODIFIED, 'Modified'),
(TYPE_EXTRA, 'Extra'),