Views

Difference between revisions of "Zero Touch Deployment"

The Wiki of Unify contains information on clients and devices, communications systems and unified communications. - Unify GmbH & Co. KG is a Trademark Licensee of Siemens AG.

Jump to: navigation, search
(API)
Line 118: Line 118:
 
| name
 
| name
 
| The name of the item
 
| The name of the item
 +
|-
 +
| result
 +
| The result of the request. Can be OK or ERROR
 +
|-
 +
| reason<br>''optional''
 +
| If the result is ERROR, will contain the reason for the ERROR response
 +
|}
 +
 +
==== DELETE ====
 +
The DELETE method is used to delete information about devices prepared for zero touch deployment. The data sent in the DELETE request must contain the mac address of up to 100 devices per request.
 +
 +
  [{"mac":"01:23:45:67:89:ab"},...]
 +
 +
the mac address can be provided in the following format
 +
 +
{| {{DefaultTable}}
 +
|-
 +
! width="100" | Key
 +
! width="200" | Value
 +
|-
 +
| mac<br>'''required'''
 +
| 01:23:45:67:89:AB<br>01-23-45-67-89-AB<br>01:23:45:67:89:ab<br>01-23-45-67-89-ab
 +
|}
 +
 +
The data received on a successful request.
 +
 +
  [{"mac":"01:23:45:67:89:ab","result":"OK"},...]
 +
 +
{| {{DefaultTable}}
 +
|-
 +
! width="100" | Key
 +
! width="500" | Value
 +
|-
 +
| mac
 +
| The MAC address sent in the request or ERROR if no MAC given
 
|-
 
|-
 
| result
 
| result

Revision as of 20:00, 4 December 2019

Introduction

Zero Touch Deployment describes a method of deploying a Desk Phone CP SIP device, without user interaction, via the Unify redirect server. For this to work, a service provider needs access to the redirect server API, in order to prepare the deployment of the device. On initial startup or after a factory reset, the device will contact the redirect server and will receive information about the service providers deployment system.

API

The redirect server API is available at https://cloud-setup.com/api/devices and supports the following methods

  • POST
  • PUT
  • DELETE

POST

The POST method is used to retrieve information about devices prepared for zero touch deployment. The data sent in the POST request must contain the mac address of up to 100 devices per request.

 [{"mac":"01:23:45:67:89:ab"},...]

the mac address can be provided in the following format

Key Value
mac
required
01:23:45:67:89:AB
01-23-45-67-89-AB
01:23:45:67:89:ab
01-23-45-67-89-ab

The data received on a successful request.

 [{"mac":"01:23:45:67:89:ab","result":"OK","data":"'<Item name="bw-dms-addr">https://192.168.0.100/home</Item>\r\n<Item name="language-iso">de</Item>'"},...]
Key Value
mac The MAC address sent in the request or ERROR if no MAC given
result The result of the request. Can be OK or ERROR
data
optional
If the result is OK, value will contain the data prepared for the given MAC address
reason
optional
If the result is ERROR, will contain the reason for the ERROR response

PUT

The PUT method is used to prepare information about devices for zero touch deployment. The data sent in the PUT request must contain the mac address and deployment data of up to 100 devices per request.

 [{"mac":"01:23:45:67:89:ab","data":[Data-Object]},...]

the mac address can be provided in the following format

Key Value
mac
required
01:23:45:67:89:AB
01-23-45-67-89-AB
01:23:45:67:89:ab
01-23-45-67-89-ab
data
required
The data provided as another Array of supported item objects

The Data-Object

 [{"name":"acs-server-address","value":"https://acs.cloud-provider.com","index":"0"},...]
Key Value
name
required
The name of the item
value
required
The value of the item with a maximum of 255 characters
index
optional
Contains the index value of the item

The data received on a successful request.

 [{"mac":"01:23:45:67:89:ab","result":"OK","data":"[Data-Object]"},...]
Key Value
mac The MAC address sent in the request or ERROR if no MAC given
result The result of the request. Can be OK or ERROR
data
optional
If the result is OK, value will contain the data prepared for the given MAC address
reason
optional
If the result is ERROR, will contain the reason for the ERROR response

Result for Data-Oject

 [{"name":"acs-server-address","result":"OK"},...]
Key Value
name The name of the item
result The result of the request. Can be OK or ERROR
reason
optional
If the result is ERROR, will contain the reason for the ERROR response

DELETE

The DELETE method is used to delete information about devices prepared for zero touch deployment. The data sent in the DELETE request must contain the mac address of up to 100 devices per request.

 [{"mac":"01:23:45:67:89:ab"},...]

the mac address can be provided in the following format

Key Value
mac
required
01:23:45:67:89:AB
01-23-45-67-89-AB
01:23:45:67:89:ab
01-23-45-67-89-ab

The data received on a successful request.

 [{"mac":"01:23:45:67:89:ab","result":"OK"},...]
Key Value
mac The MAC address sent in the request or ERROR if no MAC given
result The result of the request. Can be OK or ERROR
reason
optional
If the result is ERROR, will contain the reason for the ERROR response