Looking at translator/hot/translate_node_templates.py It seems that this aliasing could be achieved by using multi-key dicts such as https://pypi.python.org/pypi/multi_key_dict/ or any custom multi key dict. e.g.
TOSCA_TO_HOT_TYPE['tosca.nodes.Compute', 'Compute', 'tosca:Compute'] = ToscaCompute TOSCA_TO_HOT_TYPE['tosca.nodes.network.Network', 'Network', 'tosca:Network'] = ToscaNetwork
Looking at translator/ hot/translate_ node_templates. py /pypi.python. org/pypi/ multi_key_ dict/ or any custom multi key dict.
It seems that this aliasing could be achieved by using multi-key dicts such as https:/
e.g.
TOSCA_TO_ HOT_TYPE[ 'tosca. nodes.Compute' , 'Compute', 'tosca:Compute'] = ToscaCompute HOT_TYPE[ 'tosca. nodes.network. Network' , 'Network', 'tosca:Network'] = ToscaNetwork
TOSCA_TO_