Set default value of flavorid to "auto"
Fixes: Bug #1189877 Change-Id: I80a0834c5f1d264b64f14d78fa2f71b1e4d9d89a
This commit is contained in:
parent
d040ac9c3f
commit
cdee7e12c0
|
@ -116,7 +116,7 @@ class FlavorManager(base.ManagerWithFind):
|
|||
"""
|
||||
self._delete("/flavors/%s" % base.getid(flavor))
|
||||
|
||||
def create(self, name, ram, vcpus, disk, flavorid=None,
|
||||
def create(self, name, ram, vcpus, disk, flavorid="auto",
|
||||
ephemeral=0, swap=0, rxtx_factor=1.0, is_public=True):
|
||||
"""
|
||||
Create (allocate) a floating ip for a tenant
|
||||
|
|
Loading…
Reference in New Issue