neutron/neutron/db/models
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
..
plugins Relocate Geneve DB models 2016-09-29 15:48:31 -05:00
README Update README to reflect ML2 Exception in Dir Tree 2016-08-22 15:20:35 +00:00
__init__.py Add devref for Relocating DB models 2016-08-09 15:55:18 +02:00
address_scope.py Use DB field sizes instead of _MAX_LEN constants 2016-12-23 13:48:57 +00:00
agent.py Use DB field sizes instead of _MAX_LEN constants 2016-12-23 13:48:57 +00:00
allowed_address_pair.py Cleanup _find_related_obj 2017-02-25 06:29:33 +00:00
data_plane_status.py Port data plane status extension implementation 2017-04-11 19:56:13 +00:00
dns.py use dns api def from neutron-lib 2017-10-20 16:38:33 -06:00
dvr.py Relocate dvr model 2016-10-04 08:41:33 +00:00
external_net.py Cleanup _find_related_obj 2017-02-25 06:29:33 +00:00
flavor.py Flavors: move dict extend out of txn 2017-02-15 08:58:35 -08:00
l3.py Add port_details to Floating IP 2018-04-25 17:16:03 +00:00
l3_attrs.py Cleanup _find_related_obj 2017-02-25 06:29:33 +00:00
l3agent.py Remove deprecation warnings for agents_db 2016-10-13 15:33:22 +00:00
l3ha.py Router should flip to standby if all L3 nodes down 2018-04-04 23:43:00 +00:00
loggingapi.py [log]: db models and migration rules 2017-06-13 08:52:12 +07:00
metering.py Switch to 'subquery' for 1-M relationships 2017-02-06 09:01:31 +00:00
port_forwarding.py Add protocol to port_forwarding uniq constraint 2018-11-06 23:03:06 +08:00
portbinding.py Cleanup _find_related_obj 2017-02-25 06:29:33 +00:00
provisioning_block.py Relocate Provisioning Block DB Model 2016-09-27 04:30:03 +00:00
securitygroup.py Tag mechanism supports resources with standard attribute 2017-07-25 08:14:04 +09:00
segment.py Revert "use segment api def from neutron-lib" 2018-03-22 10:03:45 +00:00
servicetype.py Use DB field sizes instead of _MAX_LEN constants 2016-12-23 13:48:57 +00:00
subnet_service_type.py Cleanup _find_related_obj 2017-02-25 06:29:33 +00:00
tag.py Cleanup _find_related_obj 2017-02-25 06:29:33 +00:00

README

This directory is designed to contain all SQLAlchemy models shipped with core
Neutron.

* The expected directory structure is flat, except for the ML2 plugins. All ML2
  plugin models should fall under the plugins subdirectory (i.e. plugins/ml2/gre_allocation).
* Module names should use singular forms for nouns (port.py, not ports.py).