rxtx factor should be a float

The rxtx factor on compute flavors is a float in the API. OSC is
currently blocking float values.

Change-Id: Ifa9c14825f388d2821ff4b63ab8ae83fa9c8d88b
This commit is contained in:
Sean Dague 2016-04-04 15:38:34 -04:00 committed by Steve Martinelli
parent 55b37d5e33
commit 97492c168f
2 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ Create new flavor
.. option:: --rxtx-factor <factor>
RX/TX factor (default 1)
RX/TX factor (default 1.0)
.. option:: --public

View File

@ -76,10 +76,10 @@ class CreateFlavor(command.ShowOne):
)
parser.add_argument(
"--rxtx-factor",
type=int,
type=float,
metavar="<factor>",
default=1,
help="RX/TX factor (default 1)",
default=1.0,
help="RX/TX factor (default 1.0)",
)
public_group = parser.add_mutually_exclusive_group()
public_group.add_argument(