The hardware address type is not saved for lease4 on some backends.
Related to the from/to memfile and database migration subject.
Current status for hardware address in DHCPv4 leases is:
- in memory memfile uses the lease object but only the address part is used for indexing
- the CSV file has only an address column (name hwaddr, second column since 1.0)
- MySQL stores only the address part (hwaddr VARBINARY(20) column since 1.0)
- PostgreSQL stores only the address part (hwaddr BYTEA since 1.0)
- Cassandra stores only the address part (hwaddr BLOB since 1.0)
Current status for hardware address in DHCPv6 leases is:
- in memory memfile uses the lease object and the hardware address is not used for indexing
- the CSV file has only an address column (name hwaddr, 13th column added in 2.0)
- MySQL stores hwaddr, hwtype and hwaddr_source since 2.0
- PostgreSQL stores hwaddr, hwtype and hwaddr_source since 3.0
- Cassandra stores hwaddr, hwtype and hwaddr_source since 1.0
Options are between doing nothing to fully aligning the different backends...