add filter uuid option for vm
This commit is contained in:
parent
8fda6409ad
commit
9329190dc4
|
@ -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})) {
|
||||
|
|
|
@ -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})) {
|
||||
|
|
|
@ -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})) {
|
||||
|
|
|
@ -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})) {
|
||||
|
|
|
@ -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})) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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})) {
|
||||
|
|
|
@ -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})) {
|
||||
|
|
|
@ -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})) {
|
||||
|
|
|
@ -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})) {
|
||||
|
|
Loading…
Reference in New Issue