Hello,
I just applied the patch, and it's looks really interesting. Thanks a lot !
On the plugin side, it's going to affect several of them :
- fusioninventory : I let David reply, but this is more or less the same
work as for OCS
- addressing : interesting because the plugin integrates a dirty way or
managing reserved IP addresses
- datainjection : will be more complicated to inject for sure, but we
can manage it
- webservices
- for sure others that I don't use
Walid.
On 13/07/2011 12:34, Damien Touraine wrote:
Hello,
With the agreement of MoYo, I specified the evolution I propose inside
the wiki of the forge :
https://forge.indepnet.net/projects/glpi/wiki/NetworkPortReview
Be free to review it and send me comments and propositions to enhance
this evolution of the network port.
I'm working on the enhancement of the patch I have sent yesterday. So,
it is not the final version.
Regards
Damien Touraine
On 07/12/11 14:34, Damien Touraine wrote:
Hello,
First, I would like to congratulate you for this software. It is very
powefull and efficient. Moreover, its object oriented implementation
is very well and allow many evolutions.
I studied this not as a computer information collector (through the
use of OCS inventory, for instance). Actually, I would like to use it
as real computing equipement manager (DNS and DHCP files generator).
However, I pointed that inside GLPI, the "networkport" class include
both physical/media layer (MAC address) and Host Layer (IP address).
However, in our lab, there is several computers that have several
network addresses on the same NIC (sometimes with VLAN). Moreover,
some computers have DNS aliases.
In other word, I suggest to introduce the "networknode" classes that
make abstraction of the material. For instance, the "networkNode"
manage the IP addresses of the card, while the networkport manage the
MAC address and its connections with the other equippements.
Moreover, I propose the creation of two other classes.
The first one manage the internet domains (ie : example.com).
Actually, there is already a domain class. But OCS inventory fills
this one by the Windows Domain.
The second class concern the definition of the networks and the
subnetworks (subnet + netmask + gateway). As such, when we add a
computer, we can, automatically affect it an IP included in a
specific network class (I created the three private classes
10.0.0.0/255.0.0.0, 172.16.0.0/255.240.0 and 192.168.0.0/255.255.0.0).
A attachement, i propose a patch that implement all theses elements.
I applied it on "glpi-unstable-083-2011-07-12" tarball downloaded
from the main site. This patch also include an update to integrate
the mass import from OCS.
I plan to work on this patch to improve it for our requirements
(manage the history, unicity of network names, ...). Moreover, I plan
to work on a specific plugin which purpose is to generate DNS, DHCP
and yellow pages configuration files. Be free to propose other
features in this aim. I will try to integrate it.
If you are satisfy with my proposition, maybe I can work straightly
on a SVN development branch of the project ?
Kind Regards
Damien Touraine
_______________________________________________
Glpi-dev mailing list
Glpi-dev@gna.org
https://mail.gna.org/listinfo/glpi-dev