diff options
author | tomsou <soth@intracom-telecom.com> | 2017-03-17 09:26:06 +0000 |
---|---|---|
committer | Romanos Skiadas <rski@intracom-telecom.com> | 2017-03-22 12:50:26 +0000 |
commit | e3145daf2a35df92b1889b1ead2e860e5b80e342 (patch) | |
tree | 4465f4853b6f9332b2c67382ae61089d464a259d /sdnvpn/lib/config.py | |
parent | e788bd067c1ab7bb5ae4f5b4f6e3716f17c49851 (diff) |
Create flavor for Quagga ubuntu VM
- Implement a new function in lib/utils ensures
(gets or creates) a new flavor existence
- Use this new function within Testcase3, in order
to create a flavor big enough to start ubuntu with
JIRA: SDNVPN-120
Change-Id: I5c7d9c855f083b96bfd056bb5d935baa851420c9
Signed-off-by: tomsou <soth@intracom-telecom.com>
(cherry picked from commit f368948e25f78c64c328662b52d6b139b02826b4)
Diffstat (limited to 'sdnvpn/lib/config.py')
-rw-r--r-- | sdnvpn/lib/config.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sdnvpn/lib/config.py b/sdnvpn/lib/config.py index 4fd40ed..52e328d 100644 --- a/sdnvpn/lib/config.py +++ b/sdnvpn/lib/config.py @@ -47,6 +47,10 @@ class CommonConfig(object): self.ubuntu_image_path = '{0}/{1}'.format( CONST.dir_functest_data, "ubuntu-16.04-server-cloudimg-amd64-disk1.img") + self.custom_flavor_name = 'm1.custom' + self.custom_flavor_ram = 1024 + self.custom_flavor_disk = 10 + self.custom_flavor_vcpus = 1 class TestcaseConfig(object): |