Class used to encode/decode configuration nodes of type 'OldbSpecFile' to python types.
More...
Class used to encode/decode configuration nodes of type 'OldbSpecFile' to python types.
For each deployment there is one yaml configuration file that stores the list of all oldb specification files part of that deployment. Each specification file is composed by a file name and a prefix. A custom type was created to group those tho fields (!cfg.typedef OldbSpecFile), so we can store them as a list of the custom type in a config-ng configuration file. Those configuration files are then loaded using the config-ng engine and finally decoded to python types with the help of this class which knows how to make the conversion by being aware of the custom type. Check below how a configuration file looks like:
!cfg.typedef OldbSpecFile: file_name !cfg.type:string prefix !cfg.type:string
oldb_spec_files !cfg.type:vector_OldbSpecFile
- file_name: ccsinsoldb_ao.yaml prefix elt/telif
...