]> git.sesse.net Git - nms/log
nms
17 years agoUpdate make-named-secondary.pl for TG07.
root [Sun, 1 Apr 2007 15:22:53 +0000 (17:22 +0200)]
Update make-named-secondary.pl for TG07.

17 years agoAdd a static net for Net.
root [Sun, 1 Apr 2007 15:22:48 +0000 (17:22 +0200)]
Add a static net for Net.

17 years agoAdd fugleberget.
root [Sun, 1 Apr 2007 15:22:40 +0000 (17:22 +0200)]
Add fugleberget.

17 years agoFix reverse DHCP automagic.
root [Sun, 1 Apr 2007 12:59:11 +0000 (14:59 +0200)]
Fix reverse DHCP automagic.

17 years agoAdd the WLANs.
root [Sun, 1 Apr 2007 12:59:05 +0000 (14:59 +0200)]
Add the WLANs.

17 years agoAdd cisco auth and basic ios handling for zyxelng.
Eirik A. Nygaard [Sun, 1 Apr 2007 11:27:59 +0000 (13:27 +0200)]
Add cisco auth and basic ios handling for zyxelng.

17 years agoFix a syntax error.
root [Sat, 31 Mar 2007 20:50:48 +0000 (22:50 +0200)]
Fix a syntax error.

17 years agoMer TG07-endringer.
root [Sat, 31 Mar 2007 20:49:24 +0000 (22:49 +0200)]
Mer TG07-endringer.

17 years agoAdd a list of static switches (ie. non-Zyxels).
root [Sat, 31 Mar 2007 20:35:01 +0000 (22:35 +0200)]
Add a list of static switches (ie. non-Zyxels).

17 years agoRun missing zone stuff in make-all-config.sh.
root [Sat, 31 Mar 2007 20:30:28 +0000 (22:30 +0200)]
Run missing zone stuff in make-all-config.sh.

17 years agoUpdate the DNS stuff for TG07.
root [Sat, 31 Mar 2007 20:30:10 +0000 (22:30 +0200)]
Update the DNS stuff for TG07.

17 years agoAdd make-named to the supahconfigstuff.
root [Sat, 31 Mar 2007 20:23:49 +0000 (22:23 +0200)]
Add make-named to the supahconfigstuff.

17 years agoRemove the split stuff from make-named.pl.
root [Sat, 31 Mar 2007 20:23:01 +0000 (22:23 +0200)]
Remove the split stuff from make-named.pl.

17 years agoTimestamp named.pl too.
root [Sat, 31 Mar 2007 20:21:13 +0000 (22:21 +0200)]
Timestamp named.pl too.

17 years agoTimestamp stuff.
root [Sat, 31 Mar 2007 22:17:18 +0000 (00:17 +0200)]
Timestamp stuff.

17 years agoMake a super-config-script.
root [Sat, 31 Mar 2007 22:14:39 +0000 (00:14 +0200)]
Make a super-config-script.

17 years agoChanges for TG07; update IPs and remove option 82 stuff.
root [Sat, 31 Mar 2007 22:13:43 +0000 (00:13 +0200)]
Changes for TG07; update IPs and remove option 82 stuff.

17 years agoVarious changes for TG07.
root [Sat, 31 Mar 2007 22:13:03 +0000 (00:13 +0200)]
Various changes for TG07.

18 years ago"Merge" from running copy on fortran.
Steinar H. Gunderson [Tue, 11 Apr 2006 10:34:05 +0000 (10:34 +0000)]
"Merge" from running copy on fortran.

18 years agoMerge from Kjetil.
Steinar H. Gunderson [Tue, 11 Apr 2006 10:33:00 +0000 (10:33 +0000)]
Merge from Kjetil.

Patches applied:

 * korbekk@start.no--2005-lap-tla/nms--kjetil--1.0--base-0
   tag of sgunderson@bigfoot.com--2006/nms--mainline--1.0--patch-69

 * korbekk@start.no--2005-lap-tla/nms--kjetil--1.0--patch-1
   removed hardcoded switch id and time from the new showswitch.pl

18 years agoRename switches.
Steinar H. Gunderson [Mon, 10 Apr 2006 19:31:54 +0000 (19:31 +0000)]
Rename switches.

18 years agoMove to /24 nets for switches.txt.
Steinar H. Gunderson [Mon, 10 Apr 2006 19:25:26 +0000 (19:25 +0000)]
Move to /24 nets for switches.txt.

18 years agoGo back to full routing.
Steinar H. Gunderson [Mon, 10 Apr 2006 19:13:37 +0000 (19:13 +0000)]
Go back to full routing.

18 years agoSwitch to a predefined starting VLAN for each distro.
Steinar H. Gunderson [Mon, 10 Apr 2006 19:04:00 +0000 (19:04 +0000)]
Switch to a predefined starting VLAN for each distro.

18 years agoChanged to seven distros. Oh, the madness!
Steinar H. Gunderson [Mon, 10 Apr 2006 18:28:56 +0000 (18:28 +0000)]
Changed to seven distros. Oh, the madness!

18 years agoErm, fix a silly comment error.
Steinar H. Gunderson [Sun, 9 Apr 2006 22:06:18 +0000 (22:06 +0000)]
Erm, fix a silly comment error.

18 years agoFixed a syntax error in the secondary's named.conf.
Steinar H. Gunderson [Sun, 9 Apr 2006 22:06:02 +0000 (22:06 +0000)]
Fixed a syntax error in the secondary's named.conf.

18 years agoAdd make-named-secondary.pl, adapted from TG05.
Steinar H. Gunderson [Sun, 9 Apr 2006 22:04:12 +0000 (22:04 +0000)]
Add make-named-secondary.pl, adapted from TG05.

18 years agoFix another typo.
Steinar H. Gunderson [Sun, 9 Apr 2006 20:20:34 +0000 (20:20 +0000)]
Fix another typo.

18 years agoTurn off forwarding until we've got a decent list.
Steinar H. Gunderson [Sun, 9 Apr 2006 20:01:13 +0000 (20:01 +0000)]
Turn off forwarding until we've got a decent list.

18 years agoMinor TG06 adjustments to make-named.pl.
Steinar H. Gunderson [Sun, 9 Apr 2006 19:45:15 +0000 (19:45 +0000)]
Minor TG06 adjustments to make-named.pl.

18 years agoFix a typo.
Steinar H. Gunderson [Sun, 9 Apr 2006 19:44:14 +0000 (19:44 +0000)]
Fix a typo.

18 years agoAdd make-missing-zones.pl from TG05, adjusting for TG06.
Steinar H. Gunderson [Sun, 9 Apr 2006 19:42:04 +0000 (19:42 +0000)]
Add make-missing-zones.pl from TG05, adjusting for TG06.

18 years agoAdded secret. Ahem. :-)
Steinar H. Gunderson [Sun, 9 Apr 2006 19:38:48 +0000 (19:38 +0000)]
Added secret. Ahem. :-)

18 years agoUpdate make-named.pl for TG06.
Steinar H. Gunderson [Sun, 9 Apr 2006 19:38:03 +0000 (19:38 +0000)]
Update make-named.pl for TG06.

18 years agoAdded make-named.pl from TG05.
Steinar H. Gunderson [Sun, 9 Apr 2006 19:29:56 +0000 (19:29 +0000)]
Added make-named.pl from TG05.

18 years agoAdded secret. Eek =)
Steinar H. Gunderson [Sun, 9 Apr 2006 19:28:31 +0000 (19:28 +0000)]
Added secret. Eek =)

18 years agoStart the client nets at 1, not 2.
Steinar H. Gunderson [Sun, 9 Apr 2006 19:20:35 +0000 (19:20 +0000)]
Start the client nets at 1, not 2.

18 years agoMake switchmap.py generate switches.txt for the table switches.
Steinar H. Gunderson [Sun, 9 Apr 2006 19:19:56 +0000 (19:19 +0000)]
Make switchmap.py generate switches.txt for the table switches.

18 years agoInsert extra magic for splitting nets by option 82.
Steinar H. Gunderson [Sun, 9 Apr 2006 19:08:37 +0000 (19:08 +0000)]
Insert extra magic for splitting nets by option 82.

18 years agoUpdate make-dhcpd.pl for TG06 (no split support yet).
Steinar H. Gunderson [Sun, 9 Apr 2006 18:53:52 +0000 (18:53 +0000)]
Update make-dhcpd.pl for TG06 (no split support yet).

18 years agoAdded make-dhcpd.pl from TG05.
Steinar H. Gunderson [Sun, 9 Apr 2006 18:44:50 +0000 (18:44 +0000)]
Added make-dhcpd.pl from TG05.

18 years agoAlso print VLAN numbers after each switch in the map.
Steinar H. Gunderson [Sun, 9 Apr 2006 16:38:29 +0000 (16:38 +0000)]
Also print VLAN numbers after each switch in the map.

18 years agoAdd a k-opt architecture for randomized improvement.
Steinar H. Gunderson [Sat, 8 Apr 2006 01:27:31 +0000 (01:27 +0000)]
Add a k-opt architecture for randomized improvement.

18 years agoCorrect the estimates from last commit; unfortunately, they were overly pessimistic.
Steinar H. Gunderson [Fri, 7 Apr 2006 21:57:28 +0000 (21:57 +0000)]
Correct the estimates from last commit; unfortunately, they were overly pessimistic.

18 years agoMake a slightly more realistic estimate for moving between facing rows (1m plus any...
Steinar H. Gunderson [Fri, 7 Apr 2006 21:55:03 +0000 (21:55 +0000)]
Make a slightly more realistic estimate for moving between facing rows (1m plus any gaps, instead of 0m regardless as before). Amazingly enough, this boosts the time enormously, as the optimistic bound becomes a lot better.

18 years agoAdd gap calculation to the distances in the TSP solver.
Steinar H. Gunderson [Fri, 7 Apr 2006 21:49:53 +0000 (21:49 +0000)]
Add gap calculation to the distances in the TSP solver.

18 years agoCheck the MST before doing anything else.
Steinar H. Gunderson [Fri, 7 Apr 2006 21:20:45 +0000 (21:20 +0000)]
Check the MST before doing anything else.

18 years agoAdd a pessimistic distance to complement the optimistic one.
Steinar H. Gunderson [Fri, 7 Apr 2006 20:21:48 +0000 (20:21 +0000)]
Add a pessimistic distance to complement the optimistic one.

18 years agoImplement a new version of the MST finder (disabled by default).
Steinar H. Gunderson [Fri, 7 Apr 2006 19:56:03 +0000 (19:56 +0000)]
Implement a new version of the MST finder (disabled by default).

18 years agoAdjust the estimates a bit :-)
Steinar H. Gunderson [Fri, 7 Apr 2006 16:20:08 +0000 (16:20 +0000)]
Adjust the estimates a bit :-)

18 years agoCache the distances we need instead of calculating them over and over again (70%...
Steinar H. Gunderson [Fri, 7 Apr 2006 15:33:39 +0000 (15:33 +0000)]
Cache the distances we need instead of calculating them over and over again (70%-ish speedup).

18 years agoUse 0 and 1 for left and right side instead of 0 and 1.
Steinar H. Gunderson [Fri, 7 Apr 2006 15:22:28 +0000 (15:22 +0000)]
Use 0 and 1 for left and right side instead of 0 and 1.

18 years agoMake distance_middle() slightly less dumb.
Steinar H. Gunderson [Fri, 7 Apr 2006 15:14:47 +0000 (15:14 +0000)]
Make distance_middle() slightly less dumb.

18 years agoMerge from andun.
Steinar H. Gunderson [Fri, 7 Apr 2006 13:55:13 +0000 (13:55 +0000)]
Merge from andun.

Patches applied:

 * korbekk@start.no--2006--public/nms--kjetil--1.0--base-0
   tag of sgunderson@bigfoot.com--2006/nms--mainline--1.0--patch-29

 * korbekk@start.no--2006--public/nms--kjetil--1.0--patch-1
   new graph generating code in C to make it faster (about 5x faster)

18 years agoSome restructuring.
Steinar H. Gunderson [Fri, 7 Apr 2006 13:50:41 +0000 (13:50 +0000)]
Some restructuring.
Highlights

 - merge try_order and order
 - no longer keep pointers to points[] around, just copy (row,num)
 - keep a std::set "points_left" at all times instead of scanning for those we
   haven't found yet; this is also nicely feeded to the Prim algorithm which
   already needs such a set.

All this gains us a few percent extra, it seems.

18 years agoPrint out some diagnostics showing how well the MST bound works.
Steinar H. Gunderson [Fri, 7 Apr 2006 13:24:15 +0000 (13:24 +0000)]
Print out some diagnostics showing how well the MST bound works.

18 years agoSend in a proper set to the MST algorithm, instead of letting it deduce it itself...
Steinar H. Gunderson [Fri, 7 Apr 2006 13:15:41 +0000 (13:15 +0000)]
Send in a proper set to the MST algorithm, instead of letting it deduce it itself. This also makes it easier to include the current point in the from-set.

18 years agoOptimize the TSP solver by using the MST of the rest of the graph as a lower bound.
Steinar H. Gunderson [Fri, 7 Apr 2006 13:10:38 +0000 (13:10 +0000)]
Optimize the TSP solver by using the MST of the rest of the graph as a lower bound.

18 years agoAdded a more-or-less naive travelling-salesman solver for finding the optimal switch...
Steinar H. Gunderson [Fri, 7 Apr 2006 12:41:21 +0000 (12:41 +0000)]
Added a more-or-less naive travelling-salesman solver for finding the optimal switch routes.

18 years agoAdd some bling, shiny and centering.
Steinar H. Gunderson [Thu, 6 Apr 2006 21:09:38 +0000 (21:09 +0000)]
Add some bling, shiny and centering.

18 years agoAdd a small switch planning application.
Steinar H. Gunderson [Thu, 6 Apr 2006 20:30:20 +0000 (20:30 +0000)]
Add a small switch planning application.

18 years agoAdded some extra vertical spacing.
Steinar H. Gunderson [Thu, 6 Apr 2006 18:17:31 +0000 (18:17 +0000)]
Added some extra vertical spacing.

18 years agoSet the +x flag on zyxel/*.py.
Steinar H. Gunderson [Thu, 6 Apr 2006 14:54:35 +0000 (14:54 +0000)]
Set the +x flag on zyxel/*.py.

18 years agoInvert the numbering yet again.
Steinar H. Gunderson [Thu, 6 Apr 2006 14:30:17 +0000 (14:30 +0000)]
Invert the numbering yet again.

18 years agoFix the middle again.
Steinar H. Gunderson [Thu, 6 Apr 2006 13:37:05 +0000 (13:37 +0000)]
Fix the middle again.

18 years agoInvert the numbering.
Steinar H. Gunderson [Thu, 6 Apr 2006 13:36:17 +0000 (13:36 +0000)]
Invert the numbering.

18 years agoYet more display fixes, and pull in the last few rows.
Steinar H. Gunderson [Thu, 6 Apr 2006 13:30:06 +0000 (13:30 +0000)]
Yet more display fixes, and pull in the last few rows.

18 years agoVarious display fixes for switchmap.
Steinar H. Gunderson [Thu, 6 Apr 2006 13:28:41 +0000 (13:28 +0000)]
Various display fixes for switchmap.

18 years agoReadjust where the IPs start.
Steinar H. Gunderson [Thu, 6 Apr 2006 13:26:00 +0000 (13:26 +0000)]
Readjust where the IPs start.

18 years agoMore off-by-one fixes.
Steinar H. Gunderson [Thu, 6 Apr 2006 13:23:29 +0000 (13:23 +0000)]
More off-by-one fixes.

18 years agoFix subnet generation typo.
Steinar H. Gunderson [Thu, 6 Apr 2006 13:21:46 +0000 (13:21 +0000)]
Fix subnet generation typo.

18 years agoColor coding!
Steinar H. Gunderson [Thu, 6 Apr 2006 13:20:22 +0000 (13:20 +0000)]
Color coding!

18 years agoAdd a switch map generator.
Steinar H. Gunderson [Thu, 6 Apr 2006 13:17:44 +0000 (13:17 +0000)]
Add a switch map generator.

18 years agoFixed the row/double-row errors.
Steinar H. Gunderson [Thu, 6 Apr 2006 13:15:48 +0000 (13:15 +0000)]
Fixed the row/double-row errors.

18 years agoFactored out some code into zyxelcommon.py.
Steinar H. Gunderson [Thu, 6 Apr 2006 13:04:34 +0000 (13:04 +0000)]
Factored out some code into zyxelcommon.py.

18 years agoReplaced the Z constant by a more hardcoded switch limit.
Steinar H. Gunderson [Thu, 6 Apr 2006 13:00:17 +0000 (13:00 +0000)]
Replaced the Z constant by a more hardcoded switch limit.

18 years agoChanged the subnets in the Zyxel configuration.
Steinar H. Gunderson [Thu, 6 Apr 2006 12:38:54 +0000 (12:38 +0000)]
Changed the subnets in the Zyxel configuration.

18 years agoAdd Zyxel config stuff from TG05.
Steinar H. Gunderson [Thu, 6 Apr 2006 12:35:15 +0000 (12:35 +0000)]
Add Zyxel config stuff from TG05.

18 years agoPoll for errors along with data in/out.
Steinar H. Gunderson [Sun, 2 Apr 2006 21:47:53 +0000 (21:47 +0000)]
Poll for errors along with data in/out.

18 years agoFetch load data for the 6509 matrix as well.
Steinar H. Gunderson [Sun, 2 Apr 2006 19:55:01 +0000 (19:55 +0000)]
Fetch load data for the 6509 matrix as well.

18 years agoMove switch_exec() into nms.pm.
Steinar H. Gunderson [Wed, 29 Mar 2006 12:59:04 +0000 (12:59 +0000)]
Move switch_exec() into nms.pm.

18 years agoMove switch_connect() into nms module.
Steinar H. Gunderson [Wed, 29 Mar 2006 12:57:37 +0000 (12:57 +0000)]
Move switch_connect() into nms module.

18 years agoPut Zyxel password in config.pm.
Steinar H. Gunderson [Wed, 29 Mar 2006 12:53:40 +0000 (12:53 +0000)]
Put Zyxel password in config.pm.

18 years agoUse nms::db_connect() everywhere.
Steinar H. Gunderson [Wed, 29 Mar 2006 12:44:13 +0000 (12:44 +0000)]
Use nms::db_connect() everywhere.

18 years agoChanged the year in dhcptail.pl.
Steinar H. Gunderson [Wed, 29 Mar 2006 12:34:58 +0000 (12:34 +0000)]
Changed the year in dhcptail.pl.

18 years agoBegin moving passwords etc. into a common module.
Steinar H. Gunderson [Wed, 29 Mar 2006 12:34:16 +0000 (12:34 +0000)]
Begin moving passwords etc. into a common module.

18 years agoActually add the new file, too.
Steinar H. Gunderson [Wed, 29 Mar 2006 12:26:05 +0000 (12:26 +0000)]
Actually add the new file, too.

18 years agoUpdate the SQL.
Steinar H. Gunderson [Wed, 29 Mar 2006 12:25:31 +0000 (12:25 +0000)]
Update the SQL.

18 years agoinitial import
Steinar H. Gunderson [Wed, 29 Mar 2006 12:22:57 +0000 (12:22 +0000)]
initial import

(automatically generated log message)