Summary
wrapper of send_config_set of netmiko
Description
wrapper of send_config_set of netmiko
Route
POST /automationgateway/netmiko/send_config
Roles
admin
Parameters
Details Example Schema
Name
Type
Required
Description
netmikoSendConfigParameters
object
yes
-
Copied to Clipboard
{
"netmikoSendConfigParameters": {
"host": "in ut ipsum occaecat",
"config_commands": [
"enim proident nostrud in ea",
"Ut ea officia et elit",
"enim ut",
"nisi consequat sed in"
],
"connection_options": {
"device_type": "aliquip ad do culpa",
"password": "qui est incididunt",
"port": 22,
"username": "fugiat non"
}
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"netmikoSendConfigParameters": {
"properties": {
"config_commands": {
"example": [
"logging buffered 20000",
"logging buffered 20010",
"no logging console"
],
"items": {
"type": "string"
},
"type": "array"
},
"connection_options": {
"properties": {
"device_type": {
"example": "cisco_ios",
"type": "string"
},
"password": {
"example": "password",
"type": "string"
},
"port": {
"default": 22,
"example": 22,
"type": "integer"
},
"username": {
"example": "root",
"type": "string"
}
},
"required": [
"device_type"
],
"type": "object"
},
"host": {
"example": "172.17.0.2",
"type": "string"
}
},
"required": [
"host",
"config_commands",
"connection_options"
],
"type": "object"
}
},
"required": [
"netmikoSendConfigParameters"
],
"additionalProperties": false
}
Return
Details Example Schema
Name
Type
Description
result
object
A JSON Object containing status, code and the result
Copied to Clipboard
{
"title": "result",
"type": "object"
}