Comment 1 for bug 1216940

Revision history for this message
Daniel Rich (drich-u) wrote :

This is still present in 2.1.1.

IP discover shows:
IP address MAC address Netmask Date DNS name Delete Register
10.110.48.100 D4:85:64:4E:17:E0 (Hewlett Packard) 255.255.240.0 2014-07-09 01:27:42 warkworth.xxx.com
10.110.48.100 D4:85:64:4E:17:E0 (Hewlett Packard) 255.255.240.0 2014-07-09 01:27:42 warkworth.xxx.com

Yet warkworth is a in OCS, it shouldn't be a non-identified host.

In the DB:
mysql> select * from networks where macaddr='D4:85:64:4E:17:E0';
+--------+-------------+-------------+----------+---------+-------+-------------------+--------+---------------+---------------+-------------+-------------+---------------+------------+
| ID | HARDWARE_ID | DESCRIPTION | TYPE | TYPEMIB | SPEED | MACADDR | STATUS | IPADDRESS | IPMASK | IPGATEWAY | IPSUBNET | IPDHCP | VIRTUALDEV |
+--------+-------------+-------------+----------+---------+-------+-------------------+--------+---------------+---------------+-------------+-------------+---------------+------------+
| 372661 | 4750 | bond0 | Ethernet | | | D4:85:64:4E:17:E0 | Up | 10.110.48.100 | 255.255.240.0 | 10.110.48.1 | 10.110.48.0 | | 0 |
| 372668 | 4750 | eth0 | Ethernet | | | D4:85:64:4E:17:E0 | Up | | | | | 10.110.10.149 | 0 |
| 372669 | 4750 | eth1 | Ethernet | | | D4:85:64:4E:17:E0 | Up | | | | | | 0 |
+--------+-------------+-------------+----------+---------+-------+-------------------+--------+---------------+---------------+-------------+-------------+---------------+------------+
3 rows in set (0.00 sec)
mysql> select * from netmap where mac='D4:85:64:4E:17:E0';
+---------------+-------------------+---------------+-------------+---------------------+-------------------+
| IP | MAC | MASK | NETID | DATE | NAME |
+---------------+-------------------+---------------+-------------+---------------------+-------------------+
| 10.110.48.100 | D4:85:64:4E:17:E0 | 255.255.240.0 | 10.110.48.0 | 2014-07-09 01:27:42 | warkworth.pdi.com |
+---------------+-------------------+---------------+-------------+---------------------+-------------------+
1 row in set (0.00 sec)