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
DetailsExampleSchema
Name |
Type |
Required |
Description |
netmikoSendConfigParameters |
object |
yes |
- |
Copied to Clipboard
{
"netmikoSendConfigParameters": {
"host": "ut incididunt",
"config_commands": [
"officia",
"sunt voluptate mollit non ea"
],
"connection_options": {
"device_type": "Duis ea Lorem tempor amet",
"password": "consequat sit tempor",
"port": 22,
"username": "sed sint eiusmod"
}
}
}
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
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
A JSON Object containing status, code and the result |
Copied to Clipboard
{
"title": "result",
"type": "object"
}