Annelidous-snapshot
view release on metacpan or search on metacpan
Annelidous/Connector/Xen.pm view on Meta::CPAN
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
package Annelidous::Connector::Xen;
use base 'Annelidous::Connector';
use Data::Dumper;
#use Annelidous::Transport::SSH;
sub new {
my $invocant = shift;
my $class = ref($invocant) || $invocant;
my $self={
-transport=>'Annelidous::Transport::SSH',
-vm=>undef,
@_
Annelidous/Frontend.pm view on Meta::CPAN
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
package Annelidous::Frontend;
use Annelidous::VM;
use Data::Dumper;
sub new {
my $invocant = shift;
my $class = ref($invocant) || $invocant;
my $self={
-search_module=>undef,
-connector_module=>undef,
@_
};
bless $self, $class;
Annelidous/Frontend/XenShell/ActiveHandler.pm view on Meta::CPAN
# 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 Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
package Annelidous::Frontend::XenShell::ActiveHandler;
use Data::Dumper;
sub TIESCALAR {
my $invocant=shift;
my $self={};
bless $self, $invocant;
$self->{_frontend_obj}=shift;
return $self;
}
sub STORE {
Annelidous/Search/Ubersmith.pm view on Meta::CPAN
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
package Annelidous::Search::Ubersmith;
# Inheritance (shorthand for using @INC/require)
use base ("Annelidous::Search");
use Annelidous::Cluster::GrokThis;
use Data::Dumper;
sub new {
my $class=shift;
my $self={
-dbh=>undef,
@_
};
bless $self, $class;
if (defined $self->{-dbh}) {
Annelidous/Transport/SSH.pm view on Meta::CPAN
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# STUB: This file is only stub!
#
package Annelidous::Transport::SSH;
use base 'Annelidous::Transport';
use Data::Dumper;
sub new {
my $invocant = shift;
my $class = ref($invocant) || $invocant;
my $self={
use_openssh=>1,
username=>'root',
-host=>'',
@_
Annelidous/VM.pm view on Meta::CPAN
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
package Annelidous::VM;
use strict;
use Data::Dumper;
use Carp;
#
# All class variables starting '-' are arguments to 'new'.
# Method 'id' returns self{'_id'}, the set id.
# Thus, '-id' is an argument to 'new', '_id' is the current id.
#
sub new {
my $invocant = shift;
my $class = ref($invocant) || $invocant;
( run in 0.563 second using v1.01-cache-2.11-cpan-4d50c553e7e )