projects
/
osm
/
vim-emu.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix: Fixed a lot of small things in the README.md
[osm/vim-emu.git]
/
src
/
emuvim
/
api
/
openstack
/
resources
/
instance_flavor.py
1
import
uuid
2
3
4
class
InstanceFlavor
:
5
def
__init__
(
self
,
name
,
cpu
=
None
,
memory
=
None
,
memory_unit
=
None
,
storage
=
None
,
storage_unit
=
None
):
6
self
.
id
=
str
(
uuid
.
uuid4
())
7
self
.
name
=
name
8
self
.
cpu
=
cpu
9
self
.
memory
=
memory
10
self
.
memory_unit
=
memory_unit
11
self
.
storage
=
storage
12
self
.
storage_unit
=
storage_unit