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/cisco-staros/ profile /ncs:devices/ncs:profiles/profile:/ned-settings/cisco-staros/ device /ncs:/device/devices/device:/ned-settings/cisco-staros/

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:

# config
# devices device dev-1 ned-settings cisco-staros

Press TAB to see all the NED settings.

Table of contents


1. ned-settings cisco-staros
2. connection
3. live-status
4. read
   4.1. replace-config
5. write
   5.1. config-dependency
   5.2. inject-command
   5.3. replace-commit
6. filter-config-in-sync-from
7. hidden-mode
8. behaviour
   8.1. config-error-retry
   8.2. config-warning-ignore
9. developer-settings
10. logger
11. proxy

1. ned-settings cisco-staros


cisco-staros ned-settings.

2. ned-settings cisco-staros connection


Configure settings specific to the connection between NED and device.

3. ned-settings cisco-staros live-status


Configure NED settings related to live-status.

4. ned-settings cisco-staros read


Settings used when reading from device.

4.1. ned-settings cisco-staros read replace-config


Replace (or filter) config when reading from device.

5. ned-settings cisco-staros write


Settings used when writing to device.

5.1. ned-settings cisco-staros write config-dependency


This ned-setting can be used to add dynamic dependency rules to the NED before being permanently fixed in the NED. This can be useful if a dependency bug is found and you do not want to upgrade the NED or are in a hurry for the fix.

5.2. ned-settings cisco-staros write inject-command


Inject command (before or after) specified config-line upon commit.

5.3. ned-settings cisco-staros write replace-commit


Replace (or filter) config when writing to device.

6. ned-settings cisco-staros filter-config-in-sync-from


regexp entry list to filter configs from sync-from.

7. ned-settings cisco-staros hidden-mode


This ned-settings used to set/modify hidden configs on the device. To configure hidden configs through NED, user must configure both "enable-hidden-mode=true" and "test-commands-password=".

8. ned-settings cisco-staros behaviour


NED specific behaviours.

8.1. ned-settings cisco-staros behaviour config-error-retry


These ned-settings are used to retry config commands on certain device warning or error.

Example: Sometime AAA server is overloaded, it throws an intermittent error back to device ( Ex GTAC Failure: communication link down), which in turn throws it back to NSO/NED which starts auto-rollback. In such a scenario, use this ned-settings to NED to retry the command and not start auto-rollback immediately.

8.2. ned-settings cisco-staros behaviour config-warning-ignore


After having sent a config command to the device the NED will treat any text reply as an error and abort the transaction. The config command that caused the failed transaction will be shown together with the error message returned by the device. Sometimes the text message is not an actual error. It could be a warning that should be ignored. The NED has a static list of known warnings.:

If you stumble upon a warning not in NED's static list, which is quite likely due to the large number of warnings or some customers are interested in aborting commit if NED receives those warnings from device, you can configure NED to ignore them using this ned-settings.

9. ned-settings cisco-staros developer-settings


Contains settings used by the NED developers.

10. ned-settings cisco-staros logger


Settings for controlling logs generated.

11. ned-settings cisco-staros proxy


Configure NED to access device via a proxy.

Last updated

Was this helpful?