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-sma/ profile /ncs:devices/ncs:profiles/profile:/ned-settings/cisco-sma/ device /ncs:/device/devices/device:/ned-settings/cisco-sma/
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-sma
Press TAB to see all the NED settings.
Table of contents
1. ned-settings cisco-sma
2. developer
3. proxy
4. proxy-2
5. connection
6. console
6.1. warning
6.2. command
6.3. pattern
6.4. action
6.4.1. state
7. logger
8. live-status1. ned-settings cisco-sma
2. ned-settings cisco-sma developer
Contains settings used by the NED developers.
3. ned-settings cisco-sma proxy
Configure NED to access device via a proxy.
4. ned-settings cisco-sma proxy-2
Configure NED to access device via a second proxy.
5. ned-settings cisco-sma connection
Configure settings specific to the connection between NED and device.
6. ned-settings cisco-sma console
Settings used while interacting with a device.
6.1. ned-settings cisco-sma console extension warning
Add regular expressions for warnings etc. which the ned should ignore when applying the configuration on a device.
6.2. ned-settings cisco-sma console extension command
Extend available commands to send.
6.3. ned-settings cisco-sma console extension pattern
Extend available patterns to expect.
6.4. ned-settings cisco-sma console extension action
Extend available actions to perform.
6.4.1. ned-settings cisco-sma console extension action state
Extend state machine with answers/questions to handle.
7. ned-settings cisco-sma logger
Settings for controlling logs generated.
8. ned-settings cisco-sma live-status
Configure NED settings related to live-status.
9.Configure the NED using ned-settings
The cisco-sma NED can be configured using the cisco-sma ned-settings config, located in three different locations; global, profile and device specific:
/ncs:devices/global-settings/ned-settings/cisco-sma/ /ncs:devices/ncs:profiles/profile:cisco-sma/ned-settings/cisco-sma/ /ncs:/device/devices/device:/ned-settings/cisco-sma/
Note: profiles setting overrides global-settings and device settings override profile settings, hence the narrowest scope of the setting is used by the device.
Note: if you change a ned-setting you must reconnect to the device, i.e. disconnect and connect in order for the new setting(for all above ned-setting) to take effect.
Last updated
Was this helpful?

