diff --git a/neutron/agent/l3/dvr_fip_ns.py b/neutron/agent/l3/dvr_fip_ns.py index 6c76ea6d4bd..0288da22c43 100644 --- a/neutron/agent/l3/dvr_fip_ns.py +++ b/neutron/agent/l3/dvr_fip_ns.py @@ -31,7 +31,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 diff --git a/neutron/agent/l3/item_allocator.py b/neutron/agent/l3/item_allocator.py index 79e8ee1cf13..5338a050fbc 100644 --- a/neutron/agent/l3/item_allocator.py +++ b/neutron/agent/l3/item_allocator.py @@ -74,7 +74,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)) diff --git a/neutron/agent/linux/keepalived.py b/neutron/agent/linux/keepalived.py index 03466499187..f27d3eef138 100644 --- a/neutron/agent/linux/keepalived.py +++ b/neutron/agent/linux/keepalived.py @@ -31,7 +31,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