ADDITIONAL METHODS
with_times
This is a modifier for any search()
(including the helpers below) which will add the following additional synthesized columns to the result set:
- lastchange_stamp
with_is_free
This is a modifier for any search()
(including the helpers below) which will add the following additional synthesized columns to the result set:
- is_free
In the $cond
hash (the first parameter) pass in the age_num
which must be an integer, and the age_unit
which must be a string of either days
, weeks
, months
or years
.
only_free_ports
This is a modifier for any search()
(including the helpers below) which will restrict results based on whether the port is considered "free".
In the $cond
hash (the first parameter) pass in the age_num
which must be an integer, and the age_unit
which must be a string of either days
, weeks
, months
or years
.
with_properties
This is a modifier for any search()
which will add the following additional synthesized columns to the result set:
- error_disable_cause
- remote_is_discoverable (boolean)
- remote_is_wap (boolean)
- remote_is_phone (boolean)
- remote_dns
- ifindex
with_remote_inventory
This is a modifier for any search()
which will add the following additional synthesized columns to the result set:
- remote_vendor
- remote_model
- remote_os_ver
- remote_serial
with_vlan_count
This is a modifier for any search()
(including the helpers below) which will add the following additional synthesized columns to the result set:
- vlan_count
SPECIAL METHODS
delete( \%options? )
Overrides the built-in DBIx::Class delete method to more efficiently handle the removal or archiving of nodes.