reclass.py --nodeinfo node1
-> node1
Cannot resolve ${two_beta}, at test2, in yaml_fs:///some_path/classes/one/alpha.yml
It looks like the class two.beta does not get loaded so the two_beta parameter never gets set.
This patch reworks relative class names by converting any relative class names to absolute class names when first encountered in the YamlData.get_entity method. Some additional tests for relative class names and the compose class name option are also added.
The implementation of the relative class name functionality has some bugs, leading to parameters not being correctly set. For example with:
then a nodeinfo fails:
It looks like the class two.beta does not get loaded so the two_beta parameter never gets set.
This patch reworks relative class names by converting any relative class names to absolute class names when first encountered in the YamlData.get_entity method. Some additional tests for relative class names and the compose class name option are also added.