From: tierno Date: Wed, 24 Jul 2019 15:47:16 +0000 (+0000) Subject: bug 668. Fix existing flavor as not created X-Git-Tag: v6.0.2rc1~4 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F04%2F7804%2F1;p=osm%2FRO.git bug 668. Fix existing flavor as not created Change-Id: Ifab6f72590f813dbe24be0e78c5aadb14e58c9b4 Signed-off-by: tierno --- diff --git a/osm_ro/nfvo.py b/osm_ro/nfvo.py index b0a6a648..15f04d6e 100644 --- a/osm_ro/nfvo.py +++ b/osm_ro/nfvo.py @@ -808,7 +808,7 @@ def create_or_use_flavor(mydb, vims, flavor_dict, rollback_list, only_create_at_ try: flavor_vim_id = None flavor_vim_id=vim.get_flavor_id_from_data(flavor_dict) - flavor_create="false" + flavor_created="false" except vimconn.vimconnException as e: pass try: diff --git a/osm_ro/vimconn_openstack.py b/osm_ro/vimconn_openstack.py index f5f213b7..073a7522 100644 --- a/osm_ro/vimconn_openstack.py +++ b/osm_ro/vimconn_openstack.py @@ -799,7 +799,7 @@ class vimconnector(vimconn.vimconnector): extended = flavor_dict.get("extended", {}) if extended: #TODO - raise vimconn.vimconnNotFoundException("Flavor with EPA still not implemted") + raise vimconn.vimconnNotFoundException("Flavor with EPA still not implemented") # if len(numas) > 1: # raise vimconn.vimconnNotFoundException("Cannot find any flavor with more than one numa") # numa=numas[0]