• Masahito Muroi's avatar
    Convert integer style parameters to integer values · b2fa6bf5
    Masahito Muroi authored
    python-blazarclient sends all request parameters in the request body as
    strings even though the blazar service only accepts integer values for
    some parameters.
    
    For instance, the instance reservation feature accepts an integer for
    the 'vcpus' parameter, but the blazar client sends a string value for
    the parameter with the --reservation vcpus=1 option.
    
    This patch enables the --reservation option to convert integer style
    parameters to integer values.
    
    Closes-Bug: #1707552
    Change-Id: Ife1124e14adc0183fe5d4680031bc00ca3647ed5
    b2fa6bf5
Name
Last commit
Last update
blazarclient Loading commit data...
climateclient Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitreview Loading commit data...
.testr.conf Loading commit data...
HACKING.rst Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
requirements.txt Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
test-requirements.txt Loading commit data...
tox.ini Loading commit data...