- Fix strange indentation
- Fix typo in comment
Change-Id: I70893bc751c16265a8c3b3214524ab2553f4f30f
"""
for subnet in network.subnets:
if (subnet.ip_version == ip_version and
- new_subnetpool_id != subnet.subnetpool_id):
+ new_subnetpool_id != subnet.subnetpool_id):
raise n_exc.NetworkSubnetPoolAffinityError()
def _validate_allocation_pools(self, ip_pools, subnet_cidr):
:param tenant_id: The tenant id who will own the subnet
:type tenant_id: str uuid
:param subnet_id: Neutron's subnet ID
- :type subnet_id: srt uuid
+ :type subnet_id: str uuid
:param gateway_ip: An IP to reserve for the subnet gateway.
:type gateway_ip: None or convertible to netaddr.IPAddress
:param allocation_pools: The pool from which IPAM should allocate