adapter-automation_gateway

On this page:

netmikoSendConfigSet

Summary

IAG Native Netmiko send_config_set

Description

Netmiko send_config_set wrapper which accepts all function parameters

Route

POST /automationgateway/netmikoSendConfigSet

Roles

admin

Parameters

DetailsExampleSchema
Name Type Required Description
host string yes Either hostname or ip accepted
configCommands array yes Multiple configuration commands to be sent to the device
exitConfigMode boolean no Determines whether or not to exit config mode after complete
delayFactor number no Factor to adjust delays
maxLoops number no Controls wait time in conjunction with delay_factor (default to 150)
stripPrompt boolean no Determines whether or not to strip the prompt
stripCommand boolean no Determines whether or not to strip the command
configModeCommand string no The command to enter into config mode
cmdVerify boolean no Whether or not to verify command echo for each command in config_set
enterConfigMode boolean no Do you enter config mode before sending config commands
errorPattern string no Regular expression pattern to detect config errors in the output.

Return

DetailsExampleSchema
Name Type Description
result object A JSON Object containing status, code and the result