a0ac712a35
when update port set body={"port": {}}, neutron server will return 500.
In function _process_port_binding_attributes(plugins/ml2/plugin.py),
when update port body={"port": {}}
attrs={}
vnic_type = attrs and attrs.get(portbindings.VNIC_TYPE)
vnic_type = {}
because attrs as False, will not execute attrs.get(portbindings.VNIC_TYPE)
vnic_type will be replicated as attrs.
Change-Id: I40d388543387ebdd72f26d761339c1829bef9413
Partial-bug: #1838396
(cherry picked from commit
|
||
---|---|---|
.. | ||
drivers | ||
extensions | ||
__init__.py | ||
_test_mech_agent.py | ||
base.py | ||
test_agent_scheduler.py | ||
test_db.py | ||
test_driver_context.py | ||
test_ext_portsecurity.py | ||
test_extension_driver_api.py | ||
test_managers.py | ||
test_ovo_rpc.py | ||
test_plugin.py | ||
test_port_binding.py | ||
test_rpc.py | ||
test_security_group.py | ||
test_tracked_resources.py |