E.3. Tags

E.3.1. Using Tags to Customize Interactions with Red Hat Enterprise Virtualization

After your Red Hat Enterprise Virtualization platform is set up and configured to your requirements, you can customize the way you work with it using tags. Tags provide one key advantage to system administrators: they allow system resources to be arranged into groups or categories. This is useful when many objects exist in the virtualization environment and the administrator would like to concentrate on a specific set of them.
This section describes how to create and edit tags, assign them to hosts or virtual machines and search using the tags as criteria. Tags can be arranged in a hierarchy that matches a structure, to fit the needs of the enterprise.
Administration Portal Tags can be created, modified, and removed using the Tags pane.

E.3.2. Creating a Tag

Create tags so you can filter search results using tags.

Procedure E.4. Creating a Tag

  1. Click the Tags tab on the left side of the screen.
  2. Select the node under which you wish to create the tag. For example, to create it at the highest level, click the root node.
  3. Click the New button to open the New Tag window.
  4. Enter the Name and Description of the new tag.
  5. Click OK to create the tag.
The new tag is created and displays on the Tags tab.

E.3.3. Modifying a Tag

You can edit the name and description of a tag.

Procedure E.5. Modifying a Tag

  1. Click the Tags tab on the left side of the screen.
  2. Select the tag you wish to modify.
  3. Click Edit to open the Edit Tag window.
  4. Change the Name and Description fields as necessary.
  5. Click OK to save the edited tag.
You have modified the properties of a tag.

E.3.4. Deleting a Tag

When a tag is no longer needed, remove it.

Procedure E.6. Deleting a Tag

  1. Click the Tags tab on the left side of the screen.
  2. Select the tag you wish to delete.
  3. Click Remove to open the Remove Tag(s) window. The message warns you that removing the tag will also remove all descendants of the tag.
  4. Click OK to delete the selected tag.
You have removed the tag and all its descendants. The tag is also removed from all the objects that it was attached to.

E.3.5. Adding and Removing Tags to and from Objects

You can assign tags to and remove tags from hosts, virtual machines, and users.

Procedure E.7. Adding and Removing Tags to and from Objects

  1. Click the resource tab, and select the object(s) you wish to tag or untag.
  2. Click the Assign Tags button to open the Assign Tags window.
  3. Select the check box to assign a tag to the object, or clear the check box to detach the tag from the object.
  4. Click OK.
The specified tag is now added or removed as a custom property of the selected object(s).

E.3.6. Searching for Objects Using Tags

  • Enter a search query using tag as the property and the desired value or set of values as criteria for the search.
    The objects tagged with the specified criteria are listed in the results list.