summaryrefslogtreecommitdiffstats
path: root/sdnvpn/lib/utils.py
diff options
context:
space:
mode:
authorPeriyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>2018-02-15 09:29:01 +0100
committerPeriyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>2018-02-15 11:47:58 +0100
commitf60e2e0a2a7a37cd2b80918d6201e6dff7d8056a (patch)
tree81510580d935b6234ee9e4fcc593f339fc9e6ca2 /sdnvpn/lib/utils.py
parente9167c0dbc19e056074817d4da351bd46b2e441c (diff)
fix for sdnvpn CI test failure
Change-Id: Ie55ccbe68f57a9bb03efc8b6eebf23a0018a0bca Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com>
Diffstat (limited to 'sdnvpn/lib/utils.py')
-rw-r--r--sdnvpn/lib/utils.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/sdnvpn/lib/utils.py b/sdnvpn/lib/utils.py
index 44641ee..47a0b9e 100644
--- a/sdnvpn/lib/utils.py
+++ b/sdnvpn/lib/utils.py
@@ -49,6 +49,13 @@ class AllowedAddressPair(object):
self.macaddress = macaddress
+def create_default_flavor():
+ return os_utils.get_or_create_flavor(common_config.default_flavor,
+ common_config.default_flavor_ram,
+ common_config.default_flavor_disk,
+ common_config.default_flavor_vcpus)
+
+
def create_custom_flavor():
return os_utils.get_or_create_flavor(common_config.custom_flavor_name,
common_config.custom_flavor_ram,