AD sync & REST APIs with v322 for better IT Infrastructure management

We are continuing to work on open APIs so you can easily import your existing and new data into device42 for integrated IT Infrastructure management. Better Active Directory integration with Active Directory/LDAP group members import, new REST APIs and new Excel imports are some of the additions in this version as discussed below.

AD Group members import


You can now bulk add Active Directory/LDAP group members with easy import option. Just give the group DN, select users you want to add, select local groups the users should belong to (for permissions) and you are done!  This is discussed more in detail in an earlier post about bulk adding Active Directory group members.

Option for automatic PDU port numbering using PDU models


In earlier versions, the port name  (or number) on the PDU ports was empty when these were created (based on the PDU model). As per suggestions from Ryan G., we have added a new option to sequentially # the PDU ports. So going forward, you can create new PDUs with automatically numbered ports. (If this option is checked).

Type and Devices for switch port


We have added a new field “Type” for switch port. You have the option of adding the different values here.
The switch port list view now also shows devices connected on that port.  For brevity, we are skipping the listing of virtual devices here, but all other device types show up.  (Devices list is experimental on this page and might be taken out. Please provide feedback.)

Improved Device Import – add devices in cluster and add application components


You can now add comma separated values of the devices in a cluster for a device type cluster via the Excel import.
Similarly, so you can add comma separated values of the application components that run on that device.

Application Components Excel Import


You can easily add application components via Excel import now.  It lets you add comma separated values of “application component it depends on” and also “group affected”.

With this, we have made Responsible Department as an optional field for app components.

Multiple Options for Customer Import

We have added following options to import customers and related custom fields:

  • Customer Import via Excel sheets.
  • Customer Import via REST APIs.
  • Customer custom fields import via REST APIs.  (PUT call via customer id or customer name)

Integrated IT Infrastructure Management with New REST APIs


Following new APIs have been added for easier integration.

/api/1.0/appcomps/ (GET, POST)
/api/1.0/customers/ (added POST )
/api/1.0/rooms (GET)
/api/1.0/racks (GET, POST)
/api/1.0/racks/<id>/ (GET)
/api/1.0/pdu_models/ (GET)
/api/1.0/pdus/ (POST)
/api/1.0/custom_fields/customer/id/ (PUT)
/api/1.0/custom_fields/customer/name/ (PUT)
/api/1.0/vlans/ (GET, POST)
/api/1.0/vlans/<id>/ (GET, PUT)
/api/1.0/switchports/ (GET, POST)
/api/1.0/switchports/<id>/ (GET)
/api/1.0/macs/ (GET, POST)
/api/1.0/macs/<id>/ (GET)

Bug Fix: Duplicated custom fields via APIs

When adding custom fields (key value pairs) to devices via API, it was creating multiple custom pair values if value was empty and you were only uploading value2. This has been fixed in this version.

Update file is available

Update file is available at device42 update page.

New users can try out device42 to bring all their IT Infrastructure management under one tool from device42 download page. (We are still working on uploading the latest image, please download v320 and grab the update file to get to the latest build).

Share this post

About the author