I noticed you planned to improve the boring index.php
page maybe with a ipaddress calc....how about a
treemenu display of customers/areas/ranges/subnets?
it is in the form of:
Customer
+Area1
-+Range1
--+Subnet1
--+Subnet2
--+Subnet3
+Area2
-+Range2
--+Subnet4
--+Subnet5
(Hope that makes sense!)
It also adds autentication to the index page (allows
anonymous access if enabled) and takes into account
whether the current user can view all customers or not.
As it's a complete re-write of the index.php I've attached
the whole file, hope thats OK.
Thanks
Brendan
brendan.cracknell@nationwide.co.uk
replacement index page with treemenu
Logged In: YES
user_id=230197
I quite like this idea. Might not use it on the main menu,
but it maybe has potential to be used as a replacement for
the standard search pages. Only problem is with scaling - if
you have 100000 records then you need some way of limiting
the data to be displayed. Just cannot afford to load the
entire database into a web page on every page reload. This
will kill any network/webserver and database! Any ideas?
Found a bug too. If a range is not attached to an area, the
links are incorrect and no data is diplayed.
Logged In: NO
I'll look into the area/range issue....it's not something
I've noticed as all ranges are assigned to areas in our
setup.
It would be possible to add a select customer/autonomous
system dropdown to limit which customer is displayed and
the number of query's I suppose - I'll look at that.
On our network we currently have setup 4 autonomous sytems,
11 areas, 50 ranges and over 500 subnets and the menu takes
approx 2.5 seconds to display. I can see your point about
10000 subnets....
Great project by the way, it's made keeping track of our IP
address space so much easier.
Logged In: NO
This is a very nice addition!
I had an error message like this. I am using Postgresql,
ipplan version 4.51.
You can contact me juhani.tali@ria.ee
-------------
If you see this message, submit a detailed bug report on
Sourceforge including the message below, the database
platform used and the steps to perform to recreate the problem.
PHP 4.3.10-16 (Linux)
NOTICE: [8] Undefined variable: areaindex Line: 106 File:
.../html/ipplan/index.php
NOTICE: [8] Undefined variable: descrip Line: 114 File:
.../html/ipplan/index.php
NOTICE: [8] Undefined variable: descrip Line: 114 File:
.../html/ipplan/index.php
NOTICE: [8] Undefined variable: descrip Line: 114 File:
.../html/ipplan/index.php
NOTICE: [8] Undefined variable: descrip Line: 114 File:
.../html/ipplan/index.php
NOTICE: [8] Undefined variable: descrip Line: 114 File:
.../html/ipplan/index.php
NOTICE: [8] Undefined variable: descrip Line: 114 File:
.../html/ipplan/index.php
..............
Logged In: YES
user_id=230197
Added into the main IPplan code. Also added the ability to
view subnets not part of any ranges.