adapter-nso

On this page:

loadConfig

Summary

Load native config

Description

Load native config against a device in NSO versions 5.x

Route

No Northbound API Available

Roles

admin

Parameters

DetailsExampleSchema
Name Type Required Description
deviceName string yes Device Name
config string yes Native Config as string or file path relative to NSO run directory. for example, if you want to change a device's hostname, the path will be the field name 'hostname' + the new name 'test' - 'hostname test'
options object yes Options such as mode of loading config and request verbose

Return

DetailsExampleSchema
Name Type Description
result object Returned result of loading the native config on a device