~rvb/maas/transaction-1.7-bug-1409852

« back to all changes in this revision

Viewing changes to src/provisioningserver/pserv_services/dhcp_probe_service.py

merged upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        """Tell the region that there's a rogue DHCP server.
86
86
 
87
87
        :param client: The RPC client to use.
88
 
        :param name: The name of the interface where the rogue
 
88
        :param name: The name of the network interface where the rogue
89
89
            DHCP server was found.
90
90
        :param foreign_dhcp_ip: The IP address of the rogue server.
91
91
        """
122
122
        for interface in cluster_interfaces:
123
123
            try:
124
124
                servers = yield deferToThread(
125
 
                    probe_interface, interface['name'], interface['ip'])
 
125
                    probe_interface, interface['interface'], interface['ip'])
126
126
            except socket.error:
127
127
                maaslog.error(
128
128
                    "Failed to probe sockets; did you configure authbind as "