add filter uuid option for vm

This commit is contained in:
Colin Gagnaire 2019-04-10 11:59:49 +02:00
parent 8fda6409ad
commit 9329190dc4
10 changed files with 10 additions and 0 deletions

View File

@ -56,6 +56,7 @@ sub run {
my $filters = $self->build_filter(label => 'name', search_option => 'vm_hostname', is_regexp => 'filter');
$self->add_filter(filters => $filters, label => 'config.annotation', search_option => 'filter_description');
$self->add_filter(filters => $filters, label => 'config.guestFullName', search_option => 'filter_os');
$self->add_filter(filters => $filters, label => 'config.uuid', search_option => 'filter_uuid');
my @properties = ('name', 'runtime.connectionState', 'runtime.powerState');
if (defined($self->{display_description})) {

View File

@ -62,6 +62,7 @@ sub run {
my $filters = $self->build_filter(label => 'name', search_option => 'vm_hostname', is_regexp => 'filter');
$self->add_filter(filters => $filters, label => 'config.annotation', search_option => 'filter_description');
$self->add_filter(filters => $filters, label => 'config.guestFullName', search_option => 'filter_os');
$self->add_filter(filters => $filters, label => 'config.uuid', search_option => 'filter_uuid');
my @properties = ('name', 'datastore', 'runtime.connectionState', 'runtime.powerState');
if (defined($self->{display_description})) {

View File

@ -55,6 +55,7 @@ sub run {
my $filters = $self->build_filter(label => 'name', search_option => 'vm_hostname', is_regexp => 'filter');
$self->add_filter(filters => $filters, label => 'config.annotation', search_option => 'filter_description');
$self->add_filter(filters => $filters, label => 'config.guestFullName', search_option => 'filter_os');
$self->add_filter(filters => $filters, label => 'config.uuid', search_option => 'filter_uuid');
my @properties = ('name', 'runtime.connectionState', 'runtime.powerState', 'config.hardware.device');
if (defined($self->{display_description})) {

View File

@ -51,6 +51,7 @@ sub run {
my $filters = $self->build_filter(label => 'name', search_option => 'vm_hostname', is_regexp => 'filter');
$self->add_filter(filters => $filters, label => 'config.annotation', search_option => 'filter_description');
$self->add_filter(filters => $filters, label => 'config.guestFullName', search_option => 'filter_os');
$self->add_filter(filters => $filters, label => 'config.uuid', search_option => 'filter_uuid');
my @properties = ('name', 'runtime.connectionState', 'runtime.powerState', 'config.cpuAllocation.limit', 'config.memoryAllocation.limit');
if (defined($self->{check_disk_limit})) {

View File

@ -56,6 +56,7 @@ sub run {
my $filters = $self->build_filter(label => 'name', search_option => 'vm_hostname', is_regexp => 'filter');
$self->add_filter(filters => $filters, label => 'config.annotation', search_option => 'filter_description');
$self->add_filter(filters => $filters, label => 'config.guestFullName', search_option => 'filter_os');
$self->add_filter(filters => $filters, label => 'config.uuid', search_option => 'filter_uuid');
my @properties = ('name', 'summary.config.memorySizeMB', 'runtime.connectionState', 'runtime.powerState');
if (defined($self->{display_description})) {

View File

@ -51,6 +51,7 @@ sub run {
my $filters = $self->build_filter(label => 'name', search_option => 'vm_hostname', is_regexp => 'filter');
$self->add_filter(filters => $filters, label => 'config.annotation', search_option => 'filter_description');
$self->add_filter(filters => $filters, label => 'config.guestFullName', search_option => 'filter_os');
$self->add_filter(filters => $filters, label => 'config.uuid', search_option => 'filter_uuid');
my @properties = ('snapshot.rootSnapshotList', 'name', 'runtime.connectionState', 'runtime.powerState');
if (defined($self->{check_consolidation}) == 1) {

View File

@ -51,6 +51,7 @@ sub run {
my $filters = $self->build_filter(label => 'name', search_option => 'vm_hostname', is_regexp => 'filter');
$self->add_filter(filters => $filters, label => 'config.annotation', search_option => 'filter_description');
$self->add_filter(filters => $filters, label => 'config.guestFullName', search_option => 'filter_os');
$self->add_filter(filters => $filters, label => 'config.uuid', search_option => 'filter_uuid');
my @properties = ('name', 'summary.overallStatus', 'runtime.connectionState', 'runtime.powerState');
if (defined($self->{display_description})) {

View File

@ -56,6 +56,7 @@ sub run {
my $filters = $self->build_filter(label => 'name', search_option => 'vm_hostname', is_regexp => 'filter');
$self->add_filter(filters => $filters, label => 'config.annotation', search_option => 'filter_description');
$self->add_filter(filters => $filters, label => 'config.guestFullName', search_option => 'filter_os');
$self->add_filter(filters => $filters, label => 'config.uuid', search_option => 'filter_uuid');
my @properties = ('name', 'runtime.connectionState', 'runtime.powerState');
if (defined($self->{display_description})) {

View File

@ -51,6 +51,7 @@ sub run {
my $filters = $self->build_filter(label => 'name', search_option => 'vm_hostname', is_regexp => 'filter');
$self->add_filter(filters => $filters, label => 'config.annotation', search_option => 'filter_description');
$self->add_filter(filters => $filters, label => 'config.guestFullName', search_option => 'filter_os');
$self->add_filter(filters => $filters, label => 'config.uuid', search_option => 'filter_uuid');
my @properties = ('name', 'config.hardware.device', 'runtime.connectionState', 'runtime.powerState');
if (defined($self->{display_description})) {

View File

@ -64,6 +64,7 @@ sub run {
my $filters = $self->build_filter(label => 'name', search_option => 'vm_hostname', is_regexp => 'filter');
$self->add_filter(filters => $filters, label => 'config.annotation', search_option => 'filter_description');
$self->add_filter(filters => $filters, label => 'config.guestFullName', search_option => 'filter_os');
$self->add_filter(filters => $filters, label => 'config.uuid', search_option => 'filter_uuid');
my @properties = ('name', 'summary.guest.toolsStatus', 'runtime.connectionState', 'runtime.powerState');
if (defined($self->{display_description})) {