For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

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 fortinet-fmg

Press TAB to see all the NED settings.

Table of contents


1. ned-settings fortinet-fmg
2. connection
3. logger
4. read
   4.1. skip-paths
5. write
   5.1. api-multiplexing
6. install-config-to-fortigate

1. ned-settings fortinet-fmg


Fortinet FMG ned-settings.

2. ned-settings fortinet-fmg connection


Configure settings specific to the connection between NED and device.

3. ned-settings fortinet-fmg logger


Settings for controlling logs generated.

4. ned-settings fortinet-fmg read


Settings used when reading from device.

4.1. ned-settings fortinet-fmg read skip-paths


Each entry specifies a plain XPath (no namespace prefixes, no key predicates) that should never be fetched during sync-from/check-sync. Example: /adom/webfilter-profile/youtube-channel-filter /adom/external-resource

5. ned-settings fortinet-fmg write


Settings used when writing to device.

5.1. ned-settings fortinet-fmg write api-multiplexing


Note: This feature is experimental. Behaviour may vary across FortiManager versions and object types. Test thoroughly in a pre-production environment before enabling in production.

API multiplexing batches multiple create/update/delete operations into a single JSON-RPC request to FortiManager. While this can significantly reduce round-trip overhead on large transactions, not all FortiManager object types behave correctly when batched (e.g. external-resource is excluded automatically; other types may have similar limitations that have not yet been identified).

Recommendations:

  • Validate your specific use cases in a pre-production or staging environment before enabling in production.

  • If you observe data corruption or missed writes for a particular object type, add the corresponding path to write/api-multiplexing/exclude-paths to force individual dispatch for that type.

  • Report any such findings so a permanent hard-coded exclusion can be added in a future NED release.

    • api-multiplexing enable-multiplexing <true|false> (default false)

      Enable bulk create/update/delete FMG objects. When enabled, the NED will group multiple operations into a single JSON request payload using FortiManager's multiplexing capability.

    • api-multiplexing multiplexing-max-batch-size (default 100)

      The maximum number of objects to include in a single multiplexed API request.

    • api-multiplexing exclude-paths

      Each entry specifies a plain XPath (no namespace prefixes, no key predicates) that should never be multiplexed. Example: /adom/external-resource.

      • path

        Plain XPath prefix to match against operation paths (e.g. /adom/external-resource). Any operation whose plain XPath starts with this value will be sent individually.

6. ned-settings fortinet-fmg install-config-to-fortigate


These ned-settings are used to control NED behavior when pushing configurations to fortigate device (installation phase).

Last updated

Was this helpful?