Summary
Add a new device
Description
Provision a new device for management within Cisco NSO
Route
No Northbound API Available
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
deviceInfo |
object |
yes |
JSON object with name, address, port, authgroup, protocol, NED, device-type, and tenant for new device |
Copied to Clipboard
{
"deviceInfo": {
"name": "testsnmp",
"address": "1.2.3.4",
"port": "22",
"authgroup": "default",
"device-type": "snmp",
"snmp-authgroup": "default",
"ned": "snmp",
"version": "v1"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"deviceInfo": {
"title": "deviceInfo",
"type": "object",
"$ref": "addDeviceInput",
"examples": [
{
"name": "testios",
"address": "1.2.3.4",
"port": "22",
"authgroup": "default",
"device-type": "cli",
"ned": "cisco-ios-cli-6.51",
"protocol": "ssh"
},
{
"name": "testf5",
"address": "1.2.3.4",
"port": "22",
"authgroup": "default",
"device-type": "generic",
"ned": "f5-bigip-gen-3.7"
},
{
"name": "testjunos",
"address": "1.2.3.4",
"port": "22",
"authgroup": "default",
"device-type": "netconf",
"ned": "netconf"
},
{
"name": "testsnmp",
"address": "1.2.3.4",
"port": "22",
"authgroup": "default",
"device-type": "snmp",
"snmp-authgroup": "default",
"ned": "snmp",
"version": "v1"
}
]
}
},
"required": [
"deviceInfo"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
Returned result of adding a new device to Cisco NSO |
Copied to Clipboard
{
"code": 0,
"value": {
"result": "success"
}
}