Test scoping in connector vmware

This commit is contained in:
Quentin Garnier 2015-04-28 10:00:55 +02:00
parent 93c9d129c7
commit dcacac78af
1 changed files with 15 additions and 0 deletions

View File

@ -50,6 +50,9 @@ sub new {
{
"vm-hostname:s" => { name => 'vm_hostname' },
"filter" => { name => 'filter' },
"scope-datacenter:s" => { name => 'scope_datacenter' },
"scope-cluster:s" => { name => 'scope_cluster' },
"scope-host:s" => { name => 'scope_host' },
"filter-description:s" => { name => 'filter_description' },
"disconnect-status:s" => { name => 'disconnect_status', default => 'unknown' },
"nopoweredon-status:s" => { name => 'nopoweredon_status', default => 'unknown' },
@ -119,6 +122,18 @@ VM hostname is a regexp.
Filter also virtual machines description (can be a regexp).
=item B<--scope-datacenter>
Search in following datacenter(s) (can be a regexp).
=item B<--scope-cluster>
Search in following cluster(s) (can be a regexp).
=item B<--scope-host>
Search in following host(s) (can be a regexp).
=item B<--disconnect-status>
Status if VM disconnected (default: 'unknown').