Files
python-blazarclient/releasenotes/notes/parse-required-floatingips-f79f79d652e371ae.yaml
Pierre Riteau 9183950833 Parse required_floatingips parameter as a JSON array
An API request to create a floating IP reservation is expected to pass
the required_floatingips parameter as a list, not as a string. Modify
the CLI to parse required_floatingips as a JSON array so it can be
passed to the API in the right format.

Change-Id: Ia84ceb881f0889266c8f0349a1ffb047597bac2d
Closes-Bug: #1843258
2019-09-10 09:52:21 +00:00

11 lines
504 B
YAML

---
fixes:
- |
Parse the ``required_floatingips`` command-line parameter as a list instead
of a string, to pass it to the API in the expected format. For example,
this parameter can be used in the following fashion:
``blazar lease-create --reservation 'resource_type=virtual:floatingip,network_id=81fabec7-00ae-497a-b485-72f4bf187d3e,amount=2,required_floatingips=["172.24.4.2","172.24.4.3"]' fip-lease``
For more details, see `bug 1843258 <https://launchpad.net/bugs/1843258>`_.