3-51
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 3 Adding and Troubleshooting Devices Using Device Management
Device List Manipulation Service
• The devices are considered as managed when they are in RME with one of these device states
Normal, Alias, and Pre-deployed.
• The devices are considered as unmanaged when they are in RME with either Conflict or Suspended
device states. Also, the devices are considered unmanaged when they are not in RME but in Device
and Credentials Repository.
Note View Permission Report (Common Services > Server > Reports) to check if you have the required
privileges to perform this task.
The Sample XML File for Listing the Managed Devices (dlmsListDevices.xml)
<?xml version="1.0"?>
<!DOCTYPE request SYSTEM "D:\\dlms\\dtdexternal.dtd">
<request responseFormat="xml">
<!-- the value for responseFormat could be xml or csv -->
<authentication name="admin" pwd='YWRtaW4='/>
<!-- pwd is 64-based encoded -->
<source>
<host>CiscoWorks-Server</host>
<product>CiscoWorks:RME</product>
<version>2.0</version>
<description>Using DLMS for listing devices</description>
</source>
<listDevices attr="yes" deviceType="managed">
</listDevices>
The example below is a perl code that calls the DLMS URL and passes in the content of an XML file:
perl d:\dlms\dlms.pl CiscoWorks-Server dlmsListDevices.xml
The DLMS output for listing managed devices is:
Cisco Systems NM data import, source = List Devices; Version = 2.0; Type = Csv
;
; Here are the columns of the table.
; Col# = 1: Name (including domain or simply an IP)
; Col# = 2: device status
;
; Here are the rows of data.
;
192.168.27.16 -CE 507:managed,
192.168.3.2:managed,
rme-blr-3640.cisco.com:managed,
192.168.3.9-UBR925:managed,