summaryrefslogtreecommitdiffstats
path: root/tosca2heat/heat-translator
diff options
context:
space:
mode:
authorCharalampos Kominos <Charalampos.Kominos@enea.com>2018-04-09 13:35:33 +0200
committerCharalampos Kominos <Charalampos.Kominos@enea.com>2018-04-10 15:33:44 +0200
commit704e7277cca4f6b05b9d5376eb0c430a855519be (patch)
tree0c9c184d71a3c0a790e14980a134b5b0d0408745 /tosca2heat/heat-translator
parentcabfeecb3259c5e22488756d91b6f72d27c4c18a (diff)
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 <Charalampos.Kominos@enea.com>
Diffstat (limited to 'tosca2heat/heat-translator')
-rw-r--r--tosca2heat/heat-translator/translator/common/images.py7
1 files changed, 6 insertions, 1 deletions
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