An object to retain per mirror information
Create a MMM::Mirror object from information found in hash passed as arguments.
my $mirror MMM::Mirror->new( url => 'rsync://host/foo/' );
Return the url of the mirror
Return the hostname of the mirror found in url
Return the level of this mirror in mirrors hierarchy
Period in minutes between sync performed by this mirror
Return the mirror source name from which this mirror is part of.
Set the source name for this mirror.
Return a MMM::Host object proper to the mirror if any
Load host geo info if any
Return a cached random value assigned to this mirror.
Return textual information about this mirror
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
Compare this mirror with another and return 1 if both entries refer to same mirror
Get unknown values from $mirror if defined.
Return a xml string describing this mirror.
See also <MMM::MirrorList::xml_output>
Olivier Thauvin <email@example.com>
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.