Merge "DVR: Increase the link-local address pair range" into stable/mitaka

This commit is contained in:
Jenkins 2016-04-12 11:04:45 +00:00 committed by Gerrit Code Review
commit b8471c512c
3 changed files with 5 additions and 3 deletions

View File

@ -32,7 +32,7 @@ FIP_2_ROUTER_DEV_PREFIX = 'fpr-'
ROUTER_2_FIP_DEV_PREFIX = namespaces.ROUTER_2_FIP_DEV_PREFIX
# Route Table index for FIPs
FIP_RT_TBL = 16
FIP_LL_SUBNET = '169.254.30.0/23'
FIP_LL_SUBNET = '169.254.64.0/18'
# Rule priority range for FIPs
FIP_PR_START = 32768
FIP_PR_END = FIP_PR_START + 40000

View File

@ -77,7 +77,9 @@ class ItemAllocator(object):
self.pool.update(self.remembered.values())
self.remembered.clear()
if not self.pool:
# More than 256 routers on a compute node!
# The number of address pairs allocated from the
# pool depends upon the prefix length specified
# in FIP_LL_SUBNET
raise RuntimeError("Cannot allocate item of type:"
" %s from pool using file %s"
% (self.ItemClass, self.state_file))

View File

@ -30,7 +30,7 @@ VALID_AUTH_TYPES = ['AH', 'PASS']
HA_DEFAULT_PRIORITY = 50
PRIMARY_VIP_RANGE_SIZE = 24
# TODO(amuller): Use L3 agent constant when new constants module is introduced.
FIP_LL_SUBNET = '169.254.30.0/23'
FIP_LL_SUBNET = '169.254.64.0/18'
KEEPALIVED_SERVICE_NAME = 'keepalived'
GARP_MASTER_DELAY = 60