Restrictions
The CfgMgr is used to manage configuration parameters in the system and save the parameters in YAML format. The CfgMgr works with the interfaces for setting, obtaining, snapshotting, and reloading parameters to improve parameter management efficiency. Note the following when using the CfgMgr interface:
- The total number of parameters cannot exceed 50,000.
- A single key must be less than 128 bytes.
- The key must be unique even if it belongs to different parameter groups. Configuration parameters with the same key will be overwritten when they are loaded or set.
- A single value must be less than 256 bytes.
- The key and value cannot contain colons (:) and semicolons (;).
- The parameter group name (group) must be less than 64 bytes.
- When the set interface is used, if the value is a map, multiple parameters can be set. A maximum of 128 parameters can be set at a time.
- The snapshot name cannot exceed 32 bytes.
- The value range expression cannot exceed 256 bytes.
- The type expression cannot exceed 32 bytes.
- The version information cannot exceed 32 bytes.
Parent topic: Configuration Management