- COPYRIGHT AND LICENSE
An object to retain host information
Create a MMM::Host object from information found in hash passed as arguments.
my $mirror MMM::Mirror->new( host => 'host.domain' );
Return the hostname of the host
Return the revision of the entry. The revision is an id to identify if an entry is newer than another for same mirror.
Reset revision to current timestamp
Return the latitude and the longitude for this host
Try to use various method to find latitude and longitude and return them
Get and set information from hostip.info website
Try to find geolocalisation from DNS LOC record
Set the geolocalisation for this host
Calcule the distance (angle in degrees) to another host
Compare two host entry and return true if they identify the same computer
Get unknown values from $host if defined.
Return a xml string describing this mirror.
See also <MMM::MirrorList::xml_output>
Olivier Thauvin <firstname.lastname@example.org>
Copyright (C) 2006 Olivier Thauvin
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.