ADDITIONAL METHODS

upsert_subnet( $net, $now )

Records $net as seen at $now, a SQL expression for the time, adding the row if it is new. One statement, so two pollers that see the same new subnet at once cannot both try to insert it.