\PluginFusioninventoryInventoryNetworkEquipmentLib

Manage the update of information into network equipment in GLPI.

Summary

Methods
Properties
Constants
updateNetworkEquipment()
internalPorts()
importPorts()
importConnectionLLDP()
importConnectionMac()
importPortVlan()
addVlan()
importPortAggregate()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

updateNetworkEquipment()

updateNetworkEquipment(array  $a_inventory, integer  $items_id) 

Function to update NetworkEquipment

Parameters

array $a_inventory

data fron agent inventory

integer $items_id

id of the networkequipment

internalPorts()

internalPorts(array  $a_ips, integer  $networkequipments_id, string  $mac, string  $networkname_name) 

IMport internal ports (so internal IP, management IP)

Parameters

array $a_ips
integer $networkequipments_id
string $mac
string $networkname_name

importPorts()

importPorts(array  $a_inventory, integer  $items_id) 

Import ports

Parameters

array $a_inventory
integer $items_id

importConnectionLLDP()

importConnectionLLDP(array  $a_lldp, integer  $networkports_id) 

Import LLDP connexions

Parameters

array $a_lldp
integer $networkports_id

importConnectionMac()

importConnectionMac(array  $a_portconnection, integer  $networkports_id) 

Import connexion with MAC address

Parameters

array $a_portconnection
integer $networkports_id

importPortVlan()

importPortVlan(array  $a_vlans, integer  $networkports_id) 

Import VLANs

Parameters

array $a_vlans
integer $networkports_id

addVlan()

addVlan(array  $a_vlan, integer  $networkports_id) 

Add VLAN if not exist

Parameters

array $a_vlan
integer $networkports_id

importPortAggregate()

importPortAggregate(array  $a_ports, integer  $networkports_id, integer  $networkequipments_id) 

Import aggregate ports

Parameters

array $a_ports
integer $networkports_id
integer $networkequipments_id