Import list of IP addresses or subnets as input to the network discovery task from text file

  • 3005351
  • 13-Apr-2007
  • 27-Apr-2012

Environment

Novell ZENworks Asset Management 7

Situation

Ability to Import list of IP addresses or subnets as input to the network discovery task from a comma-delimited file.

Resolution

As of IR9 we now accept an optional comma-delimited subnet list file for the Network Discovery task.
You won't have the opportunity to import a rangeof addresses... only a list of individual subnets & individual addresses, in keeping with the "Available Subnets" list box on the Subnet tab of the Network Discovery Task dialog. Our import helps populate that list.

The "Optional Fields" are anything at all and are just that, optional - they're there in anticipation that you may want to build a spreadsheet of addresses & subnets, and that the spreadsheet may contain anything that may be of interest (like subnet descriptions & such), then export that spreadsheet to a CSV file without stripping the additional stuff. We can import the CSV file as long as the first colu
mns are what we expect.

No error will be generated if this file does not exist. If the file exists, it must be named"subnets.txt", be in the Manager's executable directory. The default location would be C:\Program Files\Novell\Zenworks\Asset Managment\bin. The file should be formatted thus:

subnet1,mask1
subnet2,mask2
...
subnetX,maskX

EXAMPLE:

199.12.64.0,255.255.255.0

Both subnet and mask must be present in every line. The subnet and mask must consist of 4 octets each. The file may contain any number of additional optional fields per line, separated from subnet and mask by a comma, thus:

subnet,mask,OptionalField1,OptionalField2,...,OptionalField3

The maximum allowed line length is 1024 characters. Only numeric values, periods, and commas are permitted before the optional second comma per line.
Any characters are permitted after the second comma, and are completely ignored by the Network Discovery task.

The intent is for the customer to export a spreadsheet of subnets and masks in comma-separated-value format. The Network Discovery task will automatically import this file and use it to populate the"Available Subnets" list in the Subnet tab on the Network Discovery Task dialog.

Interim Releases can be scheduled to run automatically or can be downloaded manually at https://download.novell.com. The Interim releases can also be set up within the ZAM Manager for the Task server to check the site on a scheduled basis, and download and apply them automatically. Please refer to the Help Section for details of how to set up automatic downloads if desired.

Each interim release is cumulative. If Interim Release 9 is not available due to a newer interim release being placed on the website, be assured that the code needed is in the later release.