Custom Configuration File Interface
ascend-fd config subcommandProvides a custom configuration file, including adding or modifying and querying custom configuration, and verifying the custom fault entity file custom-fd-config.json.
Table 1 Subcommand parameters
| Parameter | Abbreviation | Required | Value Type | Description |
|---|---|---|---|---|
--update | -u | Required. --update, --show, and --check are mutually exclusive. You must specify exactly one of them. | String | Adds or modifies custom configuration in a JSON file. For details about the parameters in the JSON file, see Table 1 Parameters. |
--show | -s | Required. --update, --show, and --check are mutually exclusive. You must specify exactly one of them. | Bool | Queries user-defined configuration. |
--check | -c | Required. --update, --show, and --check are mutually exclusive. You must specify exactly one of them. | Bool | Checks the validity of the custom-fd-config.json file, primarily verifying the validity of the field attributes of each custom configuration. |
--help | -h | Optional | - | Queries usage instructions. |
Example: Add a custom configuration file entity through a JSON file.
ascend-fd config -u custom-config.json
Updated entity successfully.