The dict returned by get_config_dict will have a different form depending on the node type: for a non-tag or non-leaf node the configuration under the node will be returned; for a tag node, the configuration including the tag node (xml) name will be returned. This is not necessarily a bug, and makes a certain sense --- the question is whether we want to normalize this behaviour, in line with @thomas-mangin 's suggestion in T2636 to normalize the form of values of multi-valued nodes. We should consider this now, as get_config_dict is moving to general use, hence priority is listed as 'high'. A quick example for clarification:
c.get_config_dict('test some-tag-node') {'some-tag-node': {'some0': {'just-a-node': {'multiple-value': ['one', 'two'], 'single-value': 'val'}}}} c.get_config_dict('test some-tag-node some0 just-a-node') {'multiple-value': ['one', 'two'], 'single-value': 'val'}
This for the configuration:
test { some-tag-node some0 { just-a-node { multiple-value one multiple-value two single-value val } } }