1c5bf09a03
Remove The following _MAX_LEN constants from neutron/api/v2/attributes.py and use the corresponding DB field size constants from neutron_lib.db.constants instead. NAME_MAX_LEN --> NAME_FIELD_SIZE TENANT_ID_MAX_LEN --> PROJECT_ID_FIELD_SIZE DESCRIPTION_MAX_LEN --> DESCRIPTION_FIELD_SIZE LONG_DESCRIPTION_MAX_LEN --> LONG_DESCRIPTION_FIELD_SIZE DEVICE_ID_MAX_LEN --> DEVICE_ID_FIELD_SIZE DEVICE_OWNER_MAX_LEN --> DEVICE_NAME_FIELD_SIZE In alembic migration scripts, the raw numerical value is used. For more information, see: http://lists.openstack.org/pipermail/openstack-dev/2016-October/105789.html NeutronLibImpact Change-Id: I734890372584fe27e5d6ec38c0cad2de882ff11c |
||
---|---|---|
.. | ||
plugins | ||
README | ||
__init__.py | ||
address_scope.py | ||
agent.py | ||
allowed_address_pair.py | ||
dns.py | ||
dvr.py | ||
external_net.py | ||
flavor.py | ||
l3.py | ||
l3_attrs.py | ||
l3agent.py | ||
l3ha.py | ||
metering.py | ||
portbinding.py | ||
provisioning_block.py | ||
securitygroup.py | ||
segment.py | ||
servicetype.py | ||
subnet_service_type.py | ||
tag.py |
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).