app-nso_manager

On this page:

applyTemplates

Summary

applyTemplates Task

Description

Applies an array of template/device pairings. Allows a user to include a key/value map of variables. Also supports NSO transaction options.

Route

POST /nso_manager/applyTemplates

Roles

admin

Parameters

DetailsExampleSchema
Name Type Required Description
adapterId string yes The ID of the NSO adapter as defined on the Itential server in its properties.json file. Get the list of adapters using
templates array yes templates {Object[]} The device configuration templates and their device targets. templates[].device {string} Name of the device target. The template will be applied to this device. Get the list of devices using [API DeviceManager.getDevices]{@link cogs.DeviceManager#getDevices}. templates[].template {string} Name of the device configuration template. Get the list of device configuration templates using [API DeviceManager.getTemplates]{@link cogs.DeviceManager#getTemplates}. templates[].variables {Object} if a template takes inputs, pass them inside the variables property. Variable's names are keys in the object. Variable's values are the keys' values.
options object yes NSO NETCONF transaction options

Return

DetailsExampleSchema
Name Type Description
response object An object with information on the requested action and the action's response.