Page History
...
- Change the *_config_store.py scripts to take another command line argument that selects between creating a new configdb entry or modifying an existing one
- If creating, behave as now
- if modifying:
- read the configdb entry into a json string (get_config.py: get_config())
- apply the modified schema coded elsewhere in *config_store.py to configdb
- use the json string from above to update the values of the new configdb entry (get_config.py: update_config() ?? )
- elements that are in the configdb entry but not in the json string are ignored
- elements that are not in the configdb entry but are in the json string are ignored
- The RO elements like
help
and version numbers should be governed by the new schema code and not by the previous DB contents - Delta configs (e.g. CALIB configdb entries) may need special handling to avoid turning a delta config into a base config and vice versa
- Delta configs are recognized through the presence of a
_cfgTypeRef
element
- Delta configs are recognized through the presence of a
item 1:
ts_config_V1:
config[group][0][rate]=10Hz
[1][rate]=100Hz
[2][rate]=100Hz
...
Overview
Content Tools