Configuring file purge policies

Introduction

To prevent excessive disk consumption, you can configure purge policies that define the file retention criteria.

The purge function has the following configurable policies:

The settings are configurable in the NSP File Server UI, as described in How do I configure file purge policies?.

The settings are also configurable using an NSP RESTCONF API; see the Network Developer Portal for information.

Consider the following:

Ignore Lists

In each policy type, you can specify an exclusion list of directories called an Ignore List. The directories in an Ignore List are unaffected by the settings in the associated policy.

Special global Ignore List consideration

The global Ignore List includes the following default directories, which must not be removed from the list:

If you accidentally remove a default directory from the global Ignore List, you must return the directory to the list before you complete your configuration activity.

Also, if you use the RESTCONF API to add a directory to an Ignore List, you must include all current directories in the list, and append any new directories to the list, for example:

"ignoreFileList": "/lsom/neSoftware,/lsom/neUpgrade,/nokia/nsp/cam, /nokia/nsp/faultManagement/sounds,/nokia/nsp/i18n,/nokia/nsp/mdm, /ztp,internal,new_directory_1,new_directory_2"