Net::DHCP::Info::Obj - Storage module for dhcp-information
This module contains methods that can access the data
Net::DHCP::Info has extracted. It inherits from
NetAddr::IP, so it provides all the methods from that package as well.
use Net::DHCP::Info::Obj; my $ip = "127.0.0.1"; my $obj = Net::DHCP::Info::Obj->new($ip); $obj->mac("aa:b:02:3d:0:01"); print $obj->mac; # prints the above mac
Returns the dhcp leases binding.
Returns the dhcp leases circuit id.
Returns the client-hostname
Returns the dhcp leases mac.
Returns a list of ranges in a subnet in this format:
Returns the dhcp leases remote id.
Returns a list of routers in a subnet.
Returns the dhcp leases start time as string / DateTime object.
Returns the dhcp leases end time as string / DateTime object.
Jan Henning Thorsen,
<pm at flodhest.net>
Copyright 2007 Jan Henning Thorsen, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.