createDeviceRemote Operation

Using createDeviceRemote operation you can add a new device to be supported by a managed TIBCO LogLogic® Appliance from a Management Station.

Note: Managing File Transfer Rules is not supported through the Web Services API. You must use the LogLogic user interface to manage File Transfer Rules for each device.

Request Parameters

authToken, applianceIP, deviceName, deviceType, description, enabled, dnsRefreshEnabled, deviceIp

For more information about each common request parameter, see Common Request Parameters.

Response

deviceResponse (see deviceResponse Type)

Example

To add (on remote Appliance 1.2.20.100) a Cisco ASA device named Cisco ASA Sample Device, with a description of Cisco ASA Description, having IP address 10.1.2.3, and enabling the Appliance to retrieve log messages from the device but not enabling DNS name refresh:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dev="DeviceService">
   <soapenv:Header/>
   <soapenv:Body>
      <dev:createDevice>
         <dev:authToken>admin/admin123</dev:authToken>
         <dev:applianceIP>1.2.20.100</dev:applianceIP>
         <dev:deviceName>“Cisco ASA Sample Device”</dev:deviceName>
         <dev:deviceType>Cisco ASA</dev:deviceType>
         <dev:description>“Cisco ASA Description”</dev:description>
         <dev:enabled>"yes"</dev:enabled>
         <dev:dnsRefreshEnabled>"no"</dev:dnsRefreshEnabled>
         <dev:deviceIp>“10.1.2.3”</dev:deviceIp>
      </dev:createDevice>
   </soapenv:Body>
</soapenv:Envelope>

SOAP response for createDeviceRemote Operation:

<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:createDeviceRemoteResponse xmlns:ns="DeviceService">
         <ns:return xsi:type="ax215:DeviceResponse" xmlns:ax215="http://device.services.logapp.loglogic.com/xsd" xmlns:ax216="http://services.logapp.loglogic.com/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ax216:authToken xsi:nil="true"/>
            <ax216:resultCount>1</ax216:resultCount>
            <ax216:statusCode>2000</ax216:statusCode>
            <ax216:statusMessage>Successful</ax216:statusMessage>
            <ax216:summaryOnly>false</ax216:summaryOnly>
            <ax215:resultSet xsi:type="ax215:DeviceDetail">
               <ax215:applianceIp>127.0.0.1</ax215:applianceIp>
               <ax215:applianceName>localhost</ax215:applianceName>
               <ax215:description>test demo</ax215:description>
               <ax215:deviceId>9187343239835811851</ax215:deviceId>
               <ax215:deviceIp>22.2.2.2</ax215:deviceIp>
               <ax215:deviceName>test2</ax215:deviceName>
               <ax215:deviceType>Cisco ASA</ax215:deviceType>
               <ax215:dnsRefreshEnabled>yes</ax215:dnsRefreshEnabled>
               <ax215:enabled>disabled</ax215:enabled>
            </ax215:resultSet>
         </ns:return>
      </ns:createDeviceRemoteResponse>
   </soapenv:Body>
</soapenv:Envelope>