Fix clearing allowed-address-pairs with port_update#74
Fix clearing allowed-address-pairs with port_update#74aswadrangnekar wants to merge 1 commit intoCiscoSystems:cis-havanafrom
Conversation
By default port-update with action=clear sends None instead of empty list. This caused error. Used convert_to in attribute map to convert received None type to empty list in order to fix this error. Closes-rally-bug: DE1788
|
Test results below neutron.tests.unit.test_extension_allowedaddresspairs.TestAllowedAddressPairs.test_update_add_address_pairs 0.347 Ran 18 tests in 11.360s OK (skipped=3) |
By default port-update with action=clear sends None
instead of empty list. This caused error. Used
convert_to in attribute map to convert received
None type to empty list in order to fix this error.
Closes-rally-bug: DE1788