projects
/
freeside.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
torrus, add router UI, RT10574
[freeside.git]
/
httemplate
/
misc
/
process
/
nms-add_router.html
1
<% header('Router added') %>
2
</BODY></HTML>
3
<%init>
4
5
# XXX: access rights
6
7
my $host = $cgi->param('host');
8
die 'invalid host' unless $host =~ /^[0-9.a-zA-Z\-]+$/;
9
10
my $nms = new FS::NetworkMonitoringSystem;
11
$nms->add_router($host);
12
13
</%init>