Razor::Client -- Client API for Vipul's Razor.


NAME

Razor::Client -- Client API for Vipul's Razor.


DESCRIPTION

check() & report() methods will be eventually moved to Razor::Agents. For more information, read the sources for Razor::Client, Razor::Agents, razor-check and razor-report.


ERROR HANDLING

In case of a fatal error, Razor::Client will return undef and set $self->errstr() to one of the following error messages.

2

Razor Error 2: No Catalogue Servers in the $zone zone.

This error will occur when Razor::Client doesn't find any listed servers in the specified zone. The most likely reason for this error is DNS lookup failure.

3

Razor Error 3: No Catalogue Servers available at this time.

None of the listed Catalogue servers are reachable. The most likely reason for this is a local network outage or a firewall blocking outgoing connections to port 2702.

4

Razor Error 4: This is a simulation. Won't connect to $server.

When razor-agents are called with -s option, they exit with value of 4.

11

Razor Error 11: Couldn't open $serverlist for writing.

Razor::Client couldn't write out the list of available servers, ~/.razor.lst by default.


AUTHOR

Vipul Ved Prakash, <mail@vipul.net>

 Razor::Client -- Client API for Vipul's Razor.