967d003b14
When the neutron client attempts to clear the allowed
address pairs using the '--action=clear' CLI param, it
sends a value of None to the Neutron server for allowed
address pairs. However, the allowed address pairs extension
was only allowing an empty list to clear the pairs.
This patch just converts None to an empty list on allowed
address pairs to be compatible with the client.
APIImpact
Closes-Bug: #1537734
Change-Id: Iba618b3e07bd3bdc202a9577954d7b97c2a5bf09
(cherry picked from commit 8052c39853
)
10 lines
301 B
YAML
10 lines
301 B
YAML
---
|
|
prelude: >
|
|
Allowed address pairs can now be cleared by passing
|
|
None in addition to an empty list. This is to make
|
|
it possible to use the --action=clear option with
|
|
the neutron client.
|
|
neutron port-update <uuid> --allowed-address-pairs action=clear
|
|
fixes:
|
|
- Fixes bug 1537734
|