Add FQDN_FIELD_SIZE constant

FQDN_MAX_LEN has been defined at multiple locations
in neutron tree, I encountered a situation where use
of this constant from neutron/extensions/dns.py ended
up in cyclic import. The better solution would be to
have it in neutron lib and use it everywhere.

Related-Bug: #1653780

Change-Id: Ifd13f6d85bd7c7f5f803eaa8aac0e16c0f0edff7
This commit is contained in:
Manjeet Singh Bhatia 2017-01-03 22:23:25 +00:00
parent 292ec4c901
commit 73adf55f35
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ STATUS_FIELD_SIZE = 16
IP_ADDR_FIELD_SIZE = 64 # large enough to hold a v4 or v6 address
MAC_ADDR_FIELD_SIZE = 32
RESOURCE_TYPE_FIELD_SIZE = 255
FQDN_FIELD_SIZE = 255
# Alembic branches
EXPAND_BRANCH = 'expand'