Pull Sync Delete Threshold¶
During a data sync where you delete a VOSS Automate resource from the device so that the key is in the VOSS Automate list but not in the ‘device’ list, a pull sync will remove the resource in VOSS Automate.
In order to manage the number of resources that are deleted on VOSS Automate during this process, a named macro should be added to the system, with the following values:
name
: PULL_SYNC_DELETE_THRESHOLD_<device_type>macro
: numberhierarchy
: the hierarchy where the sync takes place.
Upon a data sync of the device type, a check for the named macro at the hierarchy will take place and local deletes will be restricted to the number defined in the macro.
Note
The
macro
value is a JSON string containing the number, e.g."macro": "2"
. If the macro is created on the GUI, simply type in the number as value.The
<device_type>
value is obtained from the model name component of theconnection_parameters_type
field of thedata/DeviceModelMapping
model. Refer to the table below.
In JSON format, the named macro is for example as in the snippet below:
[...]
"meta": {
"model_type": "data/Macro",
"hierarchy": "sys.hcs.CS-P.CS-NB.AAAGlobal",
"tags": []
},
"data": {
"macro": "2",
"name": "PULL_SYNC_DELETE_THRESHOLD_skypeforbusinessonline",
"description": "PULL_SYNC_DELETE_THRESHOLD_skypeforbusinessonline"
}
[...]
Note
The model name following the data/
model type is inserted into the macro name.
The table below maps the device type names as seen on the Data Sync GUI to the
related model in full (remove data/
in the macro) :
Device Type |
Full data model name |
---|---|
Active Directory |
|
Active Directory Hybrid |
|
Assurance Arbitrator |
|
AzureADOnline |
|
Cisco Unified CM |
|
Cisco TelePresence Exchange |
|
Cisco TelePresence Management Suite |
|
Call Manager Control Center Services |
|
Exchange |
|
Exchange Hybrid |
|
Exchange Online |
|
Call Manager AXL Generic Driver |
|
Unity Connection GUI |
|
CallManager GUI |
|
IMP GUI |
|
Cisco HCM-F |
|
HTTP |
|
IMAP4 |
|
IOS |
|
LDAP |
|
MSExchangeOnline |
|
MSGraph |
|
Microsoft Online |
|
MSTeamsOnline |
|
Notification Service |
|
OracleECB |
|
OracleSBC |
|
Pexip Infinity Conferencing Platform |
|
PGW |
|
PowerShell |
|
PRSCallControl |
|
sfb2015 |
|
SkypeForBusiness |
|
SkypeForBusiness Hybrid |
|
SkypeForBusiness Online |
|
SMTP |
|
Service Now |
|
Spark |
|
Cisco Unified Contact Center Express |
|
Cisco Unity Connection |
|
Cisco WebEx |
|
Zoom |
|
If during a sync the macro is available and the number value in the macro is reached while there are more instances, the sync log will also show an error. If no macro is defined as above, then the pull sync will remove all local instances on VOSS Automate.