return vm NAME if exists instead of template NAME
make a common rpc module, all others can/will inherit from this one
let the VM module inherit from the RPC module
introduce _onerpc and _onerpcsimple
rewite VM.pm with operpc and onerpc simple, including factory for most
actions
Merge branch 'vm_name' of github.com:stdweird/p5-net-opennebula into easy_rpc
add more function to common RPC class
remove more common code
inherit from RPC
inherit from RPC
use correct name _onerpc_simple
set states as constants, cleanup code a bit, detect possible bug.
add a regex name filter on get_hosts, get_vms and get_templates
add _onerpc_id for method that only require the id
add create and delete template methods
make code a bit easier to read
allow to run _get_info to use external id, eg when creating new template
set the data after creating the template
provide easy create_template method
fix typo