README-ned-settings
NED settings details
This NED is equipped with a number of runtime configuration options "NED settings" allowing for customization by the end user. All options are configurable using the NSO API for NED settings. Most NED settings can be configured globally, per device profile or per device instance in the following locations:
global /ncs:devices/global-settings/ned-settings/nokia-apc/ profile /ncs:devices/ncs:profiles/profile:/ned-settings/nokia-apc/ device /ncs:/device/devices/device:/ned-settings/nokia-apc/
Profiles setting overrides global-settings and device settings override profile settings, hence the narrowest scope of the setting is used by the device.
If user changes a ned-setting, then user must reconnect to the device, i.e. disconnect and connect in order for the new setting to take effect.
From the NSO CLI the device instance NED settings for this NED are available under:
Table of contents
1. ned-settings nokia-apc
2. ned-settings nokia-apc connection
Configure settings specific to the connection between NED and device.
3. ned-settings nokia-apc logger
Settings for controlling logs generated.
4. ned-settings nokia-apc developer
Contains settings used by the NED developers.
5. ned-settings nokia-apc connection skip-errors and soap-read-timeout
In some specific circumstances the Nokia-Apc device can randomly fail to respond to read commands.
In those cases the NED will freeze waiting for the device to respond to the current request, or it can throw an exception and stop the current operation.
The customers requested (NAPC-21/CSP-7127/ BSP-3349) a feature that will allow the NED to continue working by setting a specific time-out for each read operation and by allowing read errors to be silently ignored.This will allow the code to continue working, but will add uncertainty in the data used by trans-id, compare-config and sync-from.
ned-settings nokia-apc connection skip-errors: if TRUE the code will silently skip read errors. It will also signal this in the log file, if enabled, by printing a line "warning: skipped communication error ..." along the SOAP request that trigered the error. If FALSE, an exception will be generated and the current operation will stop.
ned-settings nokia-apc connection soap-read-timeout: this is the time-out value, in seconds. The NED will handle a time-out depending on the value of
ned-settings nokia-apc connection skip-errors
. The user should set a sensible value - one that will cover all possible device delays.
Last updated
Was this helpful?