# This file controls the activity of nvue

# Uncomment the following to enable debug logging. Restart
# the 'nvued' service for the debug logging to take effect.
# NVUE_DEBUG=yes

# Uncomment the following to enable nvued profiling. Restart
# the 'nvued' service for the profiling to take effect. This
# requires pprofile for python to be installed to work properly.
# NVUE_PROFILE=yes

# Toggle the flag below (yes|no) to allow NVUE to automatically
# backup the configuration, every time users run 'nv config apply'
# CLI command (or the equivalent the REST API operation).
NVUE_AUTO_CONFIG_BACKUP=yes

# Uncomment the following to enable dynamic pruning of OM schema
# based on the pruning tag
# NVUE_DYNAMIC_PRUNING=yes

NVUE_DYNAMIC_PRUNING=yes
# Reference: RM #3571306
# This controls whether on Cumulus VX instances, the SystemD
# `TimeoutSec` variable for the `nvued` unit must be extended
# during the bring up of the `nvued` service.
NVUE_CL_VX_SYSTEMD_TIMEOUT_EXTEND=yes
# If the `NVUE_CL_VX_SYSTEMD_TIMEOUT_EXTEND` is set to `yes`,
# this variable determines by how much the `nvued` service timeout
# deadline should be extended by (in minutes).
NVUE_CL_VX_SYSTEMD_TIMEOUT_EXTEND_SLICE=15

# Set the depth below for data filtering done alongside CLI show
# commands (or the equivalent REST API GET requests). The depth
# determines how far down the tree filtering will be done for
# when attribute names/titles are specified instead of full paths. 
NVUE_FILTER_DEPTH=6
