[freeside-commits] freeside/httemplate/misc/process nms-add_router.html, NONE, 1.1 nms-add_iface.html, 1.1, 1.2
Erik Levinson
levinse at wavetail.420.am
Fri Feb 4 22:32:38 PST 2011
Update of /home/cvs/cvsroot/freeside/httemplate/misc/process
In directory wavetail.420.am:/tmp/cvs-serv26711/httemplate/misc/process
Modified Files:
nms-add_iface.html
Added Files:
nms-add_router.html
Log Message:
torrus, add router UI, RT10574
Index: nms-add_iface.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/process/nms-add_iface.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- nms-add_iface.html 5 Feb 2011 06:04:32 -0000 1.1
+++ nms-add_iface.html 5 Feb 2011 06:32:36 -0000 1.2
@@ -13,9 +13,6 @@
my $serviceid = $cgi->param('serviceid');
die 'invalid serviceid' unless $serviceid =~ /^[0-9A-Za-z_\-.\\\/ ]+$/;
-my $conf = new FS::Conf;
-my $system = $conf->config('network_monitoring_system');
-
my $nms = new FS::NetworkMonitoringSystem;
$nms->add_interface($host,$iface,$serviceid);
--- NEW FILE: nms-add_router.html ---
<% header('Router added') %>
</BODY></HTML>
<%init>
# XXX: access rights
my $host = $cgi->param('host');
die 'invalid host' unless $host =~ /^[0-9.a-zA-Z\-]+$/;
my $nms = new FS::NetworkMonitoringSystem;
$nms->add_router($host);
</%init>
More information about the freeside-commits
mailing list