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:
parent
292ec4c901
commit
73adf55f35
@ -22,6 +22,7 @@ STATUS_FIELD_SIZE = 16
|
|||||||
IP_ADDR_FIELD_SIZE = 64 # large enough to hold a v4 or v6 address
|
IP_ADDR_FIELD_SIZE = 64 # large enough to hold a v4 or v6 address
|
||||||
MAC_ADDR_FIELD_SIZE = 32
|
MAC_ADDR_FIELD_SIZE = 32
|
||||||
RESOURCE_TYPE_FIELD_SIZE = 255
|
RESOURCE_TYPE_FIELD_SIZE = 255
|
||||||
|
FQDN_FIELD_SIZE = 255
|
||||||
|
|
||||||
# Alembic branches
|
# Alembic branches
|
||||||
EXPAND_BRANCH = 'expand'
|
EXPAND_BRANCH = 'expand'
|
||||||
|
Loading…
Reference in New Issue
Block a user