PDA

View Full Version : Bulk Device Provisioning



aligzaidi
December 15 2009, 02:48 PM
Hi,

I looked at provisionDevices.pl and worked fine for me. Is it possible to inject some more fields into the database using this script, i would like to add following during provisioning time.


Type of Device:
Fully Qualified Host Name/IP Address:
Tag 1:
...
Tag 5: ( i will be using these tags for some references such as address,state,zip, serial number.... that can be done from emerald.xml)

I tried following but type=Router did not populated into the database....hmmm
x.x.x.125 | DBSRTNY005 | public | * | * | * | | type=Router


AGZ

aligzaidi
December 17 2009, 09:23 AM
is anyone out there tried provisionDevices.pl, i need to provision with follwing fields.
Device/OS Vendor:
Device/OS Model/Version:

x.x.x.125 | DBSRTNY005 | public | * | * | * | | Vendor=CISCO SYSTEMS | Model=Cisco 7200

rajib
December 17 2009, 06:37 PM
Hi,

The import file snippet that you had shared should have added the device type while creating the device. At least it works that way in our lab environment against Traverse 5.0. It is possible that this functionality is not available in version 4.8, but you can verify that easily. Could you kindly create a new import file with following content (provide correct IP):


x.x.x.125 | DBSRTNY005-test | public | * | * | * | | type=Router | tag1=test1

and run provisionDevices.pl script with --debug option? You should redirect the output to a file as lot of diagnostic information will be shown. But the output will indicate the exact command being sent to the BVE API server and it's response. In this case you are looking for the lines that start with DEBUG: api command=device.Create. Please post the command and next 3-4 lines of response from the server so that we can analyze the contents.

rajib
December 17 2009, 06:45 PM
Currently the provisioning tool does not support vendor/model information in the import file. You can submit a feature request for this functionality via http://zyrion.com/support/helpdesk