Devices Install

This is a premium module, only available with NeDi+. Find more details here

At this time only HP ProCurve Switches have been tested!

This module is part of NeDi's provisioning system. It allows for installing unconfigured switches upon discovery. The procedure is divided into the following setps:

  1. Create install entries specifying device type and IP address to be matched. The desired name and IP settings need to be set as well, rest is optional
  2. Create an install template with System-Files (see below)
  3. Perform installation (with nedi.pl -T or checking "Install" in System-NeDi). If type and IP match an install entry with the state "New", the target IP is pinged
  4. If no answer comes back the entry is used to create a device configuration from the install template. The state of the install entry is changed to "Active"
  5. If the device is discovered with the new IP address the state of the install entry is changed to "Used"
  6. Check verbose nedi.pl output, if status changes to "Broken"
  7. By default an install entries summary report is shown

Install Template

An install template persists of a series of commands (1 command per line with optional confirmation and timeout separated by ;) to prepare the target device and a config template with placeholders, which are filled in from the install entry. If used, the password is taken from the appropriate user in nedi.conf, but usually is a fixed/encryped string

Cli command1 Cli command2;y;600 Cli command3;y;0 === sysname %NAME% ip addr %IPADDR% %MASK% ip default route %GATEWAY% vlan %VLANID% snmp location %LOCATION% snmp contact %CONTACT% username %LOGIN% password %PASSWORD% enable password %ENABLEPW%