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

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 checkpoint-gaiaos_rest

Press TAB to see all the NED settings.

Table of contents


1. ned-settings checkpoint-gaiaos_rest
2. logger
3. read
4. domain
5. config-mode-config
   5.1. block-cli-line
   5.2. exclude-load-config
   5.3. special-prompt-handling
6. connection
7. fetch-REST-config
8. block-nat-rule-positions
9. block-rest-call-body
10. functionality-update
11. transaction-id
12. rest-show-limits
13. rest-show-body-params
14. developer-settings
   14.1. ignore-device-warnings
   14.2. request-body-additions
15. developer
16. db-edit-config
17. vsx-settings
   17.1. vsx-credentials
18. mgmt
   18.1. object

1. ned-settings checkpoint-gaiaos_rest


2. ned-settings checkpoint-gaiaos_rest logger


Settings for controlling logs generated.

3. ned-settings checkpoint-gaiaos_rest read


Read from device ned-settings.

4. ned-settings checkpoint-gaiaos_rest domain


Domain settings for multi-domain.

5. ned-settings checkpoint-gaiaos_rest config-mode-config


Control the usage of config mode configurations.

5.1. ned-settings checkpoint-gaiaos_rest config-mode-config block-cli-line


Specify what config line the NED should not send to the device.

5.2. ned-settings checkpoint-gaiaos_rest config-mode-config exclude-load-config


Exclude config to be loaded into the NED. Only supports the exclusion of /config_mode_config/rba/role today.

5.3. ned-settings checkpoint-gaiaos_rest config-mode-config special-prompt-handling


Depending on the checkpoint device some commands in config_mode_config might require special handling of the prompt.

This section lists all commands that the NED have implementation for which require special handling: set net-access telnet on If a needed command is not supported then the NED can be enhanced to support it.

6. ned-settings checkpoint-gaiaos_rest connection


Per device connection configuration.

7. ned-settings checkpoint-gaiaos_rest fetch-REST-config


By default checkpoint-gaiaos_rest NED fetches all the config which the YANG-model supports. If performance is of importance it is possible to excluding config not needed and thereby increase it.

Note that the order you set the objects in the NED-settings matter. Set the object with least dependencies first. For example: Package can contain access-layer, access-layer can contain service-tcp but service-tcp cannot contain any of the other objects. Therefor we set service-tcp first, then access-layer and finally package.

8. ned-settings checkpoint-gaiaos_rest block-nat-rule-positions


Specify what nat-rule position commands the NED will not send.

9. ned-settings checkpoint-gaiaos_rest block-rest-call-body


Specify the rest path and body to be blocked.

10. ned-settings checkpoint-gaiaos_rest functionality-update


Contains flags which updates extisting NED functionality.

11. ned-settings checkpoint-gaiaos_rest transaction-id


Contains flags which modifies the transaction id calculations.

12. ned-settings checkpoint-gaiaos_rest rest-show-limits


Specify how many objects each rest call shall fetch.

13. ned-settings checkpoint-gaiaos_rest rest-show-body-params


14. ned-settings checkpoint-gaiaos_rest developer-settings


Developer settings.

14.1. ned-settings checkpoint-gaiaos_rest developer-settings ignore-device-warnings


Specify what device CLI errors the NED should ignore.

14.2. ned-settings checkpoint-gaiaos_rest developer-settings request-body-additions


Specify what additional key/value the request body shall contain.

15. ned-settings checkpoint-gaiaos_rest developer


Contains settings used for debugging (intended for NED developers).

16. ned-settings checkpoint-gaiaos_rest db-edit-config


Configure the usage of db_edit.

17. ned-settings checkpoint-gaiaos_rest vsx-settings


17.1. ned-settings checkpoint-gaiaos_rest vsx-settings vsx-credentials


18. ned-settings checkpoint-gaiaos_rest mgmt


18.1. ned-settings checkpoint-gaiaos_rest mgmt api sync object


19 Checkpoint modes

===================== The Checkpoint-gaiaos_rest NED can communicate to the device through these modes: REST CLI (called config_mode_config in the NED) Db_edit

The Checkpoint-gaiaos_rest NED has NED-settings which affects how the NED will interact with the different modes. For details, see the referenced ned-settings.

Summary: 1.4 ned-setting to use config mode configuration admin@ncs(config)% set devices device ned-settings checkpoint-gaiaos_rest config-mode-config use-config-mode-configuration true

1.4 ned-setting for using checkpoint-gaiaos_rest against a gateway device admin@ncs(config)% set devices device ned-settings checkpoint-gaiaos_rest config-mode-config is-gateway-device true

1.13 ned-setting for using db_edit admin@ncs% set devices device ned-settings checkpoint-gaiaos_rest db-edit-config use-db-edit-configuration true

1 ned-setting for not using the REST API admin@ncs% set devices device ned-settings checkpoint-gaiaos_rest use-rest-configuration false

The above ned-settings will have the following effect on what modes the NED will communicate to the device through: 1 means that the mode is enabled through the NED-Setting 0 means that the mode is not affected through the NED-Setting -1 means that the mode is disabled through the NED-Setting REST CLI DB_EDIT 1.4 ... config-mode-config use-config-mode-configuration true 0 1 0 1.4 ... config-mode-config is-gateway-device true -1 1 0 1.13 ... db-edit-config use-db-edit-configuration true 0 0 1 1 ... use-rest-configuration true 1 0 0 ------------------- -1 1 1

If nothing is specified in the NED-Settings these are the standard values: REST CLI DB_EDIT 1.4 ... config-mode-config use-config-mode-configuration false 0 -1 0 1.4 ... config-mode-config is-gateway-device false 1 -1 0 1.13 ... db-edit-config use-db-edit-configuration false 0 0 -1 1 ... use-rest-configuration true 1 0 0 ------------------- 1 -1 -1 So by default the NED only communicates through REST mode.

When the device has more than 500 entries for a REST object, the NED will by default issue multiple REST calls to get all the objects.

Last updated

Was this helpful?