neutron/neutron
lizheng e17dac3ae9 Add protocol to port_forwarding uniq constraint
Floating IP port forwardings with different protocols can not have
the same internal or external port number to the same VM port. But
we can have different application servers, for instance TCP server
and UDP server, listen to the same port at same time.

This patch adds the protocol attribute to the DB uniq constraint
to allow creating different protocol port forwardings with same
internal or external port number.

Co-Authored-By: LIU Yulong <i@liuyulong.me>
Closes-Bug: #1799155
Change-Id: Ifbb5f3ee2473aac98982bff0d2e6bb9b3e5ab5d6
2018-11-06 23:03:06 +08:00
..
agent iptables-restore wait period cannot be zero 2018-10-31 17:01:48 +00:00
api Block port update from unbound DHCP agent 2018-10-31 12:58:45 +00:00
cmd Add neutron-status upgrade check command framework 2018-10-25 12:11:27 +02:00
common Merge "Fix flake8 N534 untranslated exception message" 2018-10-23 16:20:52 +00:00
conf Event driven periodic resync task for DHCP agents 2018-10-26 01:24:24 +08:00
core_extensions use autonested_transaction from neutron-lib 2018-07-26 07:41:34 -06:00
db Add protocol to port_forwarding uniq constraint 2018-11-06 23:03:06 +08:00
debug Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
extensions Merge "Introduce floating IP pool resource" 2018-10-30 06:54:59 +00:00
hacking use sqla functions from neutron-lib 2018-07-25 21:04:20 +00:00
ipam use context manager from neutron-lib 2018-10-24 07:18:46 -06:00
locale Imported Translations from Zanata 2018-03-03 06:08:46 +00:00
notifiers Fix W503 pep8 warnings 2018-04-17 14:22:58 +00:00
objects Add protocol to port_forwarding uniq constraint 2018-11-06 23:03:06 +08:00
pecan_wsgi use context manager from neutron-lib 2018-10-24 07:18:46 -06:00
plugins Scan for MAC through all devices in macvtap agent 2018-11-01 16:00:16 -04:00
privileged Add capabilities for privsep 2018-10-26 18:03:52 +04:00
quota use context manager from neutron-lib 2018-10-24 07:18:46 -06:00
scheduler Fetch specific columns rather than full ORM entities 2018-08-22 10:14:09 +00:00
server Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
services Add protocol to port_forwarding uniq constraint 2018-11-06 23:03:06 +08:00
tests Add protocol to port_forwarding uniq constraint 2018-11-06 23:03:06 +08:00
__init__.py tell pylint to ignore python2 version of gettext 2018-10-03 08:39:35 +00:00
_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 Implement filter validation 2018-07-19 04:13:43 +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 supported_vnic_type configurable for ovs 2018-10-15 20:35:49 +02:00
policy.py Add ext_parent policy check 2018-08-01 02:45:42 +08:00
service.py Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py use context manager from neutron-lib 2018-10-24 07:18:46 -06:00