Custom Configuration File Interface

Prototype

ascend-fd config subcommand

Function

Provides a custom configuration file, including adding or modifying and querying custom configuration, and verifying the custom fault entity file custom-fd-config.json.

Parameters

Table 1 Subcommand parameters

ParameterAbbreviationRequiredValue TypeDescription
--update-uRequired. --update, --show, and --check are mutually exclusive. You must specify exactly one of them.StringAdds or modifies custom configuration in a JSON file. For details about the parameters in the JSON file, see Table 1 Parameters.
--show-sRequired. --update, --show, and --check are mutually exclusive. You must specify exactly one of them.BoolQueries user-defined configuration.
--check-cRequired. --update, --show, and --check are mutually exclusive. You must specify exactly one of them.BoolChecks the validity of the custom-fd-config.json file, primarily verifying the validity of the field attributes of each custom configuration.
--help-hOptional-Queries usage instructions.

Returns

Example: Add a custom configuration file entity through a JSON file.

ascend-fd config -u custom-config.json
Updated entity successfully.