

@staticmethod
def _store_ip_allocation(context, ip_address, network_id, subnet_id, port_id):
    LOG.debug('Allocated IP %(ip_address)s (%(network_id)s/%(subnet_id)s/%(port_id)s)', {
        'ip_address': ip_address,
        'network_id': network_id,
        'subnet_id': ip_address,
        'port_id': port_id,
    })
    allocated = models_v2.IPAllocation(network_id=network_id, port_id=port_id, ip_address=ip_address, subnet_id=subnet_id)
    context.session.add(allocated)
    context.session.info.setdefault('allocated_ips', []).append(allocated)

dataset/ETHPy150Open openstack/neutron/neutron/db/db_base_plugin_common.py DbBasePluginCommon._store_ip_allocation/VarMisuse@41/99 `subnet_id`->`ip_address`