Fixes 162. Re-use an existing flavor at openstack without EPA parameters
Change-Id: I675eab965fd00f86b0a5ce55944b121d45c9825d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
diff --git a/vimconn.py b/vimconn.py
index 814be65..ad06dc8 100644
--- a/vimconn.py
+++ b/vimconn.py
@@ -242,7 +242,13 @@
Returns the flavor dict details {'id':<>, 'name':<>, other vim specific } #TODO to concrete
'''
raise vimconnNotImplemented( "Should have implemented this" )
-
+
+ def get_flavor_id_from_data(self, flavor_dict):
+ """Obtain flavor id that match the flavor description
+ Returns the flavor_id or raises a vimconnNotFoundException
+ """
+ raise vimconnNotImplemented( "Should have implemented this" )
+
def new_flavor(self, flavor_data):
'''Adds a tenant flavor to VIM
flavor_data contains a dictionary with information, keys:
@@ -287,7 +293,9 @@
raise vimconnNotImplemented( "Should have implemented this" )
def get_image_id_from_path(self, path):
- '''Get the image id from image path in the VIM database. Returns the image_id'''
+ """Get the image id from image path in the VIM database.
+ Returns the image_id or raises a vimconnNotFoundException
+ """
raise vimconnNotImplemented( "Should have implemented this" )
def get_image_list(self, filter_dict={}):