Fix rxtx_factor name for creating a flavor
On v3 API, rxtx_factor parameters has been renamed to 'os-flavor-rxtx:rxtx_factor' for consistent interfaces. This patch applies it to 'nova flavor-create' command. Closes-Bug: #1350022 Change-Id: I49e24f0220f87616f346f36973312b2f29333841
This commit is contained in:
parent
50b1068ba6
commit
ad9a14ae2b
@ -38,7 +38,7 @@ class FlavorsTest(test_flavors.FlavorsTest):
|
||||
"ephemeral": ephemeral,
|
||||
"id": id,
|
||||
"swap": swap,
|
||||
"rxtx_factor": rxtx_factor,
|
||||
"os-flavor-rxtx:rxtx_factor": rxtx_factor,
|
||||
"flavor-access:is_public": is_public,
|
||||
}
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ class FlavorManager(flavors.FlavorManager):
|
||||
"id": id,
|
||||
"swap": swap,
|
||||
"ephemeral": ephemeral,
|
||||
"rxtx_factor": rxtx_factor,
|
||||
"os-flavor-rxtx:rxtx_factor": rxtx_factor,
|
||||
"flavor-access:is_public": is_public,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user