in reply to lan inventory

To get a better understanding of OCSInventory, you could use ocsinventory-agent and Ocsinventory::Agent::XML::Inventory.