diff options
author | Charalampos Kominos <Charalampos.Kominos@enea.com> | 2018-04-09 13:35:33 +0200 |
---|---|---|
committer | Charalampos Kominos <Charalampos.Kominos@enea.com> | 2018-04-10 15:33:44 +0200 |
commit | 704e7277cca4f6b05b9d5376eb0c430a855519be (patch) | |
tree | 0c9c184d71a3c0a790e14980a134b5b0d0408745 /tosca2heat | |
parent | cabfeecb3259c5e22488756d91b6f72d27c4c18a (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')
-rw-r--r-- | tosca2heat/heat-translator/translator/common/images.py | 7 |
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 |