Summary
Add a device to Automation Gateway
Description
This method will add a device to Automation Gateway
Route
No Northbound API Available
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
deviceName |
string |
yes |
the name of a device |
deviceVars |
object |
yes |
the information for the device |
Copied to Clipboard
{
"deviceName": "xr9kv-atl"
}
Copied to Clipboard
{
"type": "object",
"properties": {
"deviceName": {
"title": "deviceName",
"$ref": "deviceData#/definitions/deviceName"
},
"deviceVars": {
"type": "object"
}
},
"required": [
"deviceName",
"deviceVars"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
the device that was created |
Copied to Clipboard
{
"name": "xr9kv01-aws",
"device-type": "cli",
"ipaddress": "10.1.6.100",
"port": "22",
"ostype": "cisco-ios-xr",
"host": "nso46",
"actions": [
"turnUpDevice",
"addDeviceGroup",
"verifyConfig",
"runAction"
],
"authgroup": "xr9kv-aws",
"address": "10.1.6.100",
"ned": "cisco-ios-xr",
"admin": true,
"origins": [
"nso46",
"nso46",
"nso46",
"nso46",
"nso46"
]
}