Rechercher

Ce contenu n'est pas disponible dans la langue sélectionnée.

1.5. Tags

download PDF

1.5.1. Using Tags to Customize Interactions with Red Hat Virtualization

After your Red Hat Virtualization platform is set up and configured to your requirements, you can customize the way you work with it using tags. Tags allow system resources to be arranged into groups or categories. This is useful when many objects exist in the virtualization environment and the administrator wants 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.

To create, modify, and remove Administration Portal tags, click the Tags icon ( Tag ) in the header bar.

1.5.2. Creating a Tag

Create tags so you can filter search results using tags.

Procedure

  1. Click the Tags icon ( Tag ) in the header bar.
  2. Click Add to create a new tag, or select a tag and click New to create a descendant tag.
  3. Enter the Name and Description of the new tag.
  4. Click OK.

1.5.3. Modifying a Tag

You can edit the name and description of a tag.

Modifying a Tag

  1. Click the Tags icon ( Tag ) in the header bar.
  2. Select the tag you want to modify and click Edit.
  3. Change the Name and Description fields as necessary.
  4. Click OK.

1.5.4. Deleting a Tag

When a tag is no longer needed, remove it.

Procedure

  1. Click the Tags icon ( Tag ) in the header bar.
  2. Select the tag you want to delete and click Remove. A message warns you that removing the tag will also remove all descendants of the tag.
  3. Click OK.

You have removed the tag and all its descendants. The tag is also removed from all the objects that it was attached to.

1.5.5. Adding and Removing Tags to and from Objects

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

Procedure

  1. Select the object(s) you want to tag or untag.
  2. Click More Actions ( moreactions ), then click Assign Tags.
  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).

1.5.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.

Note

If you search for objects using tag as the property and the inequality operator (!=), for example, Host: Vms.tag!=server1, the results list does not include untagged objects.

1.5.7. Customizing Hosts with Tags

You can use tags to store information about your hosts. You can then search for hosts based on tags. For more information on searches, see Searches.

Procedure

  1. Click Compute Hosts and select a host.
  2. Click More Actions ( moreactions ), then click Assign Tags.
  3. Select the check boxes of applicable tags.
  4. Click OK.

You have added extra, searchable information about your host as tags.

Red Hat logoGithubRedditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez leBlog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.