24a60a49d9
Parameters of type dict must be at the end of the shell command to not cause conflict with the network name current shell generated /usr/bin/neutron port-create --format=shell --name=testport \ --fixed-ip ip_address=172.19.0.2 --binding:host_id=aio \ --binding:profile type=dict interface_name=veth1 net-edge1-gw1 this fails since it matches the first word without "--" to the network name correct call /usr/bin/neutron port-create --format=shell --name=testport \ --fixed-ip ip_address=172.19.0.2 --binding:host_id=aio net-edge1-gw1 \ --binding:profile type=dict interface_name=veth1 Change-Id: Iaa24d52f4f42e0535ad2d0aed1c0a67178af091a
11 lines
582 B
YAML
11 lines
582 B
YAML
---
|
|
fixes:
|
|
- Parameters of type dict must be at the end of the
|
|
shell command to not cause conflict with the network name.
|
|
Neutron cli picks up the network name as the first parameter
|
|
without "--" prefix, thus tresting type=dict as the network
|
|
name instead of the real network name because it comes before.
|
|
By providing the special dictionary type commands after the
|
|
network name the behaviour of the cli is bypassed and neutron
|
|
takes the network name and proceeds interpreting parameters
|
|
with special format ( not in the form of --<param>=<value> ) |