nd-import-topology - Import a Nedisco 1.x Manual Topology File
~/bin/localenv nd-import-topology /path/to/netdisco-topology.txt
This helper script will read and import the content of a Netdisco 1.x format Manual Topology file into the Netdisco 2.x database's topology table.
topology
It's safe to run the script multiple times on the same file - any new data will be imported.
The file syntax must be like so:
left-device link:left-port,right-device,right-port
The devices can be either host names or IPs. Data will be imported even if the devices are currently unknown to Netdisco. All imported devices will have a discover job queued for them.
discover
To install App::Netdisco, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Netdisco
CPAN shell
perl -MCPAN -e shell install App::Netdisco
For more information on module installation, please visit the detailed CPAN module installation guide.