From 2e4005f50548e2f6999bf5b6fc11a76e355a9fdc Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sat, 9 May 2015 15:25:46 +0200 Subject: Reporting: Add dry_run and only_important flags Save the status of --dry-run and --only-important in the statistics, so that the reports could be filtered to only respect "normal" runs. --- src/lib/Bcfg2/Reporting/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/Bcfg2/Reporting/models.py') diff --git a/src/lib/Bcfg2/Reporting/models.py b/src/lib/Bcfg2/Reporting/models.py index ae6f6731b..2380621e6 100644 --- a/src/lib/Bcfg2/Reporting/models.py +++ b/src/lib/Bcfg2/Reporting/models.py @@ -144,6 +144,8 @@ class Interaction(models.Model): bad_count = models.IntegerField(default=0) modified_count = models.IntegerField(default=0) extra_count = models.IntegerField(default=0) + dry_run = models.BooleanField(default=False) + only_important = models.BooleanField(default=False) actions = models.ManyToManyField("ActionEntry") packages = models.ManyToManyField("PackageEntry") -- cgit v1.2.3-1-g7c22