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

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 extreme-xos

Press TAB to see all the NED settings.

Table of contents


1. ned-settings extreme-xos
2. developer
3. platform
4. proxy
5. connection
6. console
   6.1. warning
   6.2. command
   6.3. pattern
   6.4. action
        6.4.1. state
7. logger
8. write
   8.1. inject-command

1. ned-settings extreme-xos


2. ned-settings extreme-xos developer


Contains settings used by the NED developers.

3. ned-settings extreme-xos platform


Platform info overrides.

4. ned-settings extreme-xos proxy


Configure NED to access device via a proxy.

5. ned-settings extreme-xos connection


Configure settings specific to the connection between NED and device.

6. ned-settings extreme-xos console


Settings used while interacting with a device.

6.1. ned-settings extreme-xos console extension warning


Device warning regex entry list. Use to ignore warnings/errors etc.

6.2. ned-settings extreme-xos console extension command


Extend available commands to send.

6.3. ned-settings extreme-xos console extension pattern


Extend available patterns to expect.

6.4. ned-settings extreme-xos console extension action


Extend available actions to perform.

6.4.1. ned-settings extreme-xos console extension action state


Extend state machine with answers/questions to handle.

7. ned-settings extreme-xos logger


Settings for controlling logs generated.

8. ned-settings extreme-xos write


Settings used when writing to device.

8.1. ned-settings extreme-xos write inject-command


This ned-setting list can be used to inject commands (e.g. config lines) when writing to the device (i.e. upon commit). This can be used, for example, to undo undesired dynamic config automatically set by the device. Example: toogling the policy when modifying it:

admin@ncs(config-device-exos-30.5)# ned-settings extreme-xos write inject-command c1 config-line "(?:un)?configure policy." command "enable policy" after-each admin@ncs(config-device-exos-30.5)# ned-settings extreme-xos write inject-command c2 config-line "(?:un)?configure policy." command "disable policy" before-each admin@ncs(config-device-exos-30.5)# commit

admin@ncs(config-device-exos-30.5)# config

admin@ncs(config-config)# configure policy rule-model access-list admin@ncs(config-config)# commit dry-run outformat native native { device { name exos-30.5 data disable policy configure policy rule-model access-list enable policy } } admin@ncs(config-config)#

admin@ncs(config-config)# configure policy profile 2 access-list ACL2 admin@ncs(config-config)# configure policy profile 3 access-list ACL3 admin@ncs(config-config)# commit dry-run outformat native native { device { name vz32 data disable policy configure policy profile 2 name ACL2 access-list ACL2 configure policy profile 3 name ACL3 access-list ACL3 enable policy } }

Last updated

Was this helpful?