kage Ovirt;
use v5.10;
use LWP::UserAgent;
use Scalar::Util qw(looks_like_number);
use Carp;
use JSON;
use XML::LibXML;
use URI::Escape;
use Moo::Role;
=head1 NAME
Ovirt - Bindings for oVirt REST A
=> 'ovirt-mgr.example.com',
api_output => 'xml', # optional, default to json
vm_output_attrs => 'id,name,state,description', # optional
cluste
;
my $host = Ovirt::Host ->new(%con);
# return xml output / json
print $vm->list_xml;
print $vm->list_json;
# list attributes based on 'vm_output_attrs
'||', # optional
);
my $vm = Ovirt::VM->new(%con);
# return xml / json output
print $vm->list_xml;
print $vm->list_json;
# list vm separated by new line
# return attributes specified on '