summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Reports/urls.py
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2009-11-09 23:51:56 +0000
committerSol Jerome <solj@ices.utexas.edu>2009-11-09 23:51:56 +0000
commitd14eef57303c4b9cef33fa97b71e12aa25e6bd0a (patch)
tree2779f16fc948fcceecc3fe73aac741e4f92ea797 /src/lib/Server/Reports/urls.py
parentd7e21c89c1b2e37ff45b40d14680a74ffc4974a5 (diff)
downloadbcfg2-d14eef57303c4b9cef33fa97b71e12aa25e6bd0a.tar.gz
bcfg2-d14eef57303c4b9cef33fa97b71e12aa25e6bd0a.tar.bz2
bcfg2-d14eef57303c4b9cef33fa97b71e12aa25e6bd0a.zip
Reports: Detailed Client List view from Tim Laszlo
This commit adds a new view for the reporting system submitted by Tim Laszlo. It gives detailed information about clients in a table format with State, Good/Bad/Extra entry counts, time of last run, and server client last communicated with. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5563 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Reports/urls.py')
-rw-r--r--src/lib/Server/Reports/urls.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/Server/Reports/urls.py b/src/lib/Server/Reports/urls.py
index 836808c7e..63c119d14 100644
--- a/src/lib/Server/Reports/urls.py
+++ b/src/lib/Server/Reports/urls.py
@@ -19,7 +19,11 @@ urlpatterns = patterns('',
# (r'^%sBcfg2.Server.Reports/' % web_prefix, include('Bcfg2.Server.Reports.apps.foo.urls.foo')),
(r'^%s*$' % web_prefix_root,'Bcfg2.Server.Reports.reports.views.index'),
- (r'^%sclients/(?P<timestamp>(19|20)\d\d-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])@([01][0-9]|2[0-3]):([0-5][0-9]|60):([0-5][0-9]|60))/$' % web_prefix,'Bcfg2.Server.Reports.reports.views.client_index'),
+ (r'^%sclients-detailed/state/(?P<state>\w+)/$' % web_prefix,'Bcfg2.Server.Reports.reports.views.client_detailed_list'),
+ (r'^%sclients-detailed/server/(?P<server>[\w\-\.]+)/$' % web_prefix,'Bcfg2.Server.Reports.reports.views.client_detailed_list'),
+ (r'^%sclients-detailed/server/(?P<server>[\w\-\.]+)/(?P<state>[A-Za-z]+)/$' % web_prefix,'Bcfg2.Server.Reports.reports.views.client_detailed_list'),
+ (r'^%sclients-detailed/$' % web_prefix,'Bcfg2.Server.Reports.reports.views.client_detailed_list'),
+ (r'^%sclients/(?P<timestamp>(19|20)\d\d-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])@([01][0-9]|2[0-3]):([0-5][0-9]|60):([0-5][0-9]|60))/$' % web_prefix,'Bcfg2.Server.Reports.reports.views.client_index'),
(r'^%sclients/(?P<hostname>\S+)/(?P<pk>\d+)/$' % web_prefix, 'Bcfg2.Server.Reports.reports.views.client_detail'),
(r'^%sclients/(?P<hostname>\S+)/manage/$' % web_prefix, 'Bcfg2.Server.Reports.reports.views.client_manage'),
(r'^%sclients/(?P<hostname>\S+)/$' % web_prefix, 'Bcfg2.Server.Reports.reports.views.client_detail'),