This repository has been archived by the owner on Nov 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathDM_Agent.json
98 lines (98 loc) · 2.28 KB
/
DM_Agent.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "DM Agent",
"type": "c8y_SmartRest2Template",
"com_cumulocity_model_smartrest_csv_CsvSmartRestTemplate": {
"requestTemplates": [
{
"method": "PUT",
"response": false,
"msgId": "dm100",
"api": "INVENTORY",
"byId": false,
"externalIdType": "c8y_Serial",
"mandatoryValues": [],
"customValues": [
{
"path": "c8y_Network.c8y_LAN.ip",
"type": "STRING",
"value": ""
},
{
"path": "c8y_Network.c8y_LAN.netmask",
"type": "STRING",
"value": ""
},
{
"path": "c8y_Network.c8y_LAN.name",
"type": "STRING",
"value": ""
},
{
"path": "c8y_Network.c8y_LAN.enabled",
"type": "INTEGER",
"value": null
},
{
"path": "c8y_Network.c8y_LAN.mac",
"type": "STRING",
"value": ""
}
],
"name": "Network"
},
{
"method": "PUT",
"response": false,
"msgId": "dm200",
"api": "INVENTORY",
"byId": false,
"externalIdType": "c8y_Serial",
"mandatoryValues": [],
"customValues": [
{
"path": "c8y_Agent.name",
"type": "STRING",
"value": null
},
{
"path": "c8y_Agent.version",
"type": "STRING",
"value": ""
},
{
"path": "c8y_Agent.url",
"type": "STRING",
"value": ""
}
],
"name": "Agent"
}
],
"responseTemplates": [
{
"msgId": "dm501",
"condition": "c8y_Docker",
"base": "",
"name": "Docker",
"pattern": [
"c8y_Docker.command",
"c8y_Docker.options.name",
"c8y_Docker.options.image",
"c8y_Docker.options.ports",
"c8y_Docker.containerID",
"c8y_Docker.name"
]
},
{
"msgId": "dm502",
"condition": "c8y_Message",
"base": "",
"name": "Message",
"pattern": [
"c8y_Message.text"
]
}
]
},
"__externalId": "c8y-dm-agent-v1.0"
}