Default net assignment
Adds default network assignment to Quark, along with yanking out repoze.tm2 for compatibility while reinstating the standard sqlalchemy-style transaction sessions to eliminate the race condition in mass-assigning IP addresses under load. Also fixes a typo with ipam_reuse_after which was previously, and incorrectly, a boolean config value.
This commit is contained in:
committed by
Matt Dietz
parent
da5f7b4425
commit
c758f21558
@@ -87,6 +87,7 @@ def _make_subnet_dict(subnet, default_route=None, fields=None):
|
||||
"allocation_pools": _allocation_pools(subnet),
|
||||
"dns_nameservers": dns_nameservers or [],
|
||||
"cidr": subnet.get("cidr"),
|
||||
"shared": STRATEGY.is_parent_network(net_id),
|
||||
"enable_dhcp": None}
|
||||
|
||||
def _host_route(route):
|
||||
|
||||
Reference in New Issue
Block a user