Business categorization for your virtual environment
Post Reply
TimeKnight
Enthusiast
Posts: 29
Liked: never
Joined: Jan 19, 2012 3:35 pm
Full Name: Brian Weinberg
Contact:

Tags Grouping Expression when VM’s have multiple tags

Post by TimeKnight »

I am try to create groups based on the administrator of a VM. I have a category of tags called “VM Admin” and each VM is tagged with its Administrator. Here is my grouping expression:
CASE
WHEN Tag("VM Admin") = "Andy" THEN "Andy"
WHEN Tag("VM Admin") = "John" THEN "John"
WHEN Tag("VM Admin") = "Craig" THEN "Craig"
WHEN Tag("VM Admin") = "Brian" THEN "Brian"
ELSE "Unknown Admin"
END

My groups are all populated nicely except when a VM that has two administrator, because it then has two “VM Admin” tags. I would like to have the VM listed in both (or somethings three) administrators list. Is there a way to do this?
BTW I am using VeeamOne 9.5 update 1

Thanks,
Brian
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: Tags Grouping Expression when VM’s have multiple tags

Post by Shestakov »

Hello Brian,
There is "IndexOf" method which searches for the value in the string(analog of "contains"). I would either try using this or just create static groups with simple rules instead of dynamics, since they will be sufficient for your case.
Thanks!
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Tags Grouping Expression when VM’s have multiple tags

Post by Vitaliy S. »

VMs cannot belong to the different groups at the same time within the same category, it is currently by design. In your case, it seems like another category will be required. Thanks!
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: Tags Grouping Expression when VM’s have multiple tags

Post by Shestakov »

Vitaliy is correct, we are going to eliminate the restriction in future versions though.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests