1#
2# (c) Jan Gehring <jan.gehring@gmail.com>
3#
4# vim: set ts=2 sw=2 tw=0:
5# vim: set expandtab:
6
7package Rex::Cloud::Base;
8
9use 5.010001;
10use strict;
11use warnings;
12
13our $VERSION = '1.13.4'; # VERSION
14
15use Rex::Logger;
16
17sub new {
18  my $that  = shift;
19  my $proto = ref($that) || $that;
20  my $self  = {@_};
21
22  bless( $self, $proto );
23
24  return $self;
25}
26
27sub set_auth { Rex::Logger::debug("Not implemented"); }
28
29sub set_endpoint {
30  my ( $self, $endpoint ) = @_;
31
32  # only set endpoint if defined
33  if ( defined $endpoint ) {
34    $self->{__endpoint} = $endpoint;
35  }
36}
37
38sub list_plans             { Rex::Logger::debug("Not implemented"); }
39sub list_operating_systems { Rex::Logger::debug("Not implemented"); }
40
41sub run_instance           { Rex::Logger::debug("Not implemented"); }
42sub terminate_instance     { Rex::Logger::debug("Not implemented"); }
43sub start_instance         { Rex::Logger::debug("Not implemented"); }
44sub stop_instance          { Rex::Logger::debug("Not implemented"); }
45sub list_instances         { Rex::Logger::debug("Not implemented"); }
46sub list_running_instances { Rex::Logger::debug("Not implemented"); }
47
48sub create_volume { Rex::Logger::debug("Not implemented"); }
49sub attach_volume { Rex::Logger::debug("Not implemented"); }
50sub detach_volume { Rex::Logger::debug("Not implemented"); }
51sub delete_volume { Rex::Logger::debug("Not implemented"); }
52sub list_volumes  { Rex::Logger::debug("Not implemented"); }
53sub list_images   { Rex::Logger::debug("Not implemented"); }
54
55sub add_tag { Rex::Logger::debug("Not implemented"); }
56
57sub get_regions            { Rex::Logger::debug("Not implemented"); }
58sub get_availability_zones { Rex::Logger::debug("Not implemented"); }
59
601;
61