neutron/neutron
zhouhenglc a0ac712a35 fix update port bug
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 dd080c70b4)
2019-08-07 00:49:40 +00:00
..
agent Merge "Limit max ports per rpc for dhcp_ready_on_ports()" into stable/queens 2019-07-26 02:31:09 +00:00
api Optimize the code that fixes the race condition of DHCP agent. 2019-06-11 09:44:32 +08:00
cmd Secure dnsmasq process against external abuse 2019-01-25 13:58:19 +00:00
common Packets getting lost during SNAT with too many connections 2019-06-04 23:23:43 +00:00
conf Add custom ethertype processing 2019-07-01 11:01:56 +00:00
core_extensions use qos constants from neutron-lib 2017-10-26 19:57:19 +00:00
db Turn CIDR in query filter into proper subnet 2019-06-26 10:25:10 +02:00
debug Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
extensions Improve invalid port ranges error message 2019-03-21 10:18:01 -04:00
hacking hacking: Remove dead code 2017-07-19 13:43:44 +02:00
ipam Allow first address in an IPv6 subnet as valid unicast 2019-05-24 17:42:09 -04:00
locale Imported Translations from Zanata 2018-03-14 06:20:49 +00:00
notifiers use callback payloads for REQUEST/RESPONSE events 2017-12-24 07:27:11 +00:00
objects Use dynamic lazy mode for fetching security group rules 2019-04-30 14:00:38 -06:00
pecan_wsgi Use list instead of six.viewkeys to avoid py2 to py3 problems 2019-05-31 13:22:27 +00:00
plugins fix update port bug 2019-08-07 00:49:40 +00:00
privileged Add capabilities for privsep 2018-10-29 11:28:45 +00:00
quota Fetch specific columns rather than full ORM entities 2018-09-27 19:12:37 +02:00
scheduler Fetch specific columns rather than full ORM entities 2018-09-27 19:12:37 +02:00
server Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
services Retry trunk status updates failing with StaleDataError 2019-07-31 07:24:46 +00:00
tests fix update port bug 2019-08-07 00:49:40 +00:00
__init__.py
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Merge "Remove deprecated cache_url" 2018-01-03 06:35:59 +00:00
policy.py Treat networks shared by RBAC in same way as shared with all tenants 2019-06-28 06:05:44 +00:00
service.py use callback payloads for _SPAWN events 2017-12-21 11:03:36 -07:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00