bug 668. Fix existing flavor as not created 04/7804/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 24 Jul 2019 15:47:16 +0000 (15:47 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 24 Jul 2019 15:47:16 +0000 (15:47 +0000)
Change-Id: Ifab6f72590f813dbe24be0e78c5aadb14e58c9b4
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_ro/nfvo.py
osm_ro/vimconn_openstack.py

index b0a6a64..15f04d6 100644 (file)
@@ -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:
index f5f213b..073a752 100644 (file)
@@ -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]