From 704e7277cca4f6b05b9d5376eb0c430a855519be Mon Sep 17 00:00:00 2001 From: Charalampos Kominos Date: Mon, 9 Apr 2018 13:35:33 +0200 Subject: Fix aarch64 image naming in parser Some hardcoded values within the parser project create problems for opnfv-armband. In this patch we fix image naming for parser, at least for the testcase we run in opnfv-ci. 1)Tosca functions like get_attribute() or get_item() could in theory be used but due to the current structure of the vRNC file it is not possible. JIRA: ARMBAND-369 JIRA: PARSER-175 Change-Id: I8cdc82b9e5c9008f3a3a5110d65706440d208ab8 Signed-off-by: Charalampos Kominos --- tosca2heat/heat-translator/translator/common/images.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tosca2heat') diff --git a/tosca2heat/heat-translator/translator/common/images.py b/tosca2heat/heat-translator/translator/common/images.py index d9b8818..f3138bd 100644 --- a/tosca2heat/heat-translator/translator/common/images.py +++ b/tosca2heat/heat-translator/translator/common/images.py @@ -64,7 +64,12 @@ PREDEF_IMAGES = { 'os_type': 'linux', 'os_distro': 'rhel', 'os_version': '6.5' - } + }, + 'cirros-0.4.0-aarch64-disk': {'architecture': 'aarch64', + 'os_type': 'linux', + 'os_distro': 'cirros', + 'os_version': '0.4.0' + } } SESSION = None -- cgit 1.2.3-korg