def reload_allocations(self):

        # If all subnets turn off dhcp, kill the process.
        if not self._enable_dhcp():
            self.disable()
            LOG.debug('Killing dnsmasq for network since all subnets have '
                      'turned off DHCP: %s', self.network.id)
            return

        self._release_unused_leases()
        self._spawn_or_reload_process(reload_with_HUP=True)
        LOG.debug('Reloading allocations for network: %s', self.network.id)
        self.device_manager.update(self.network, self.interface_name)
Verify that incorrect OTP value yields no cookie.
dataset/ETHPy150Open openstack/neutron/neutron/agent/linux/dhcp.py/Dnsmasq.reload_allocations--crossover with--dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/test/admin_auth_test.py/AdminAuthTestCase.testBadOTP