adapter-automation_gateway

On this page:

netconfSetConfig

Summary

Configure a device using the NETCONF protocol

Description

This method will configure a device using the NETCONF protocol

Route

POST /automationgateway/netconf/set_config/execute

Roles

admin

Parameters

DetailsExampleSchema
Name Type Required Description
host string yes A host from the Netconf Inventory
configContent string yes The configuration data in xml string format
targetDatastore string no Name of the configuration datastore to be updated
lock boolean no Lock the datastore specified in 'targetDatastore'
saveToStartup boolean no Save the config updates of the datastore specified in 'targetDatastore' to the startup-config
validate boolean no Validate the config updates of the datastore specified in 'targetDatastore'

Return

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