Managing Hierarchical Tags
Hierarchical tags consist of multiple levels of tags within a single tag. You can use hierarchical tags to classify objects managed by Junos Space Network Management Platform into categories and subcategories. Hierarchical tagging uses other tags to classify a tag. The hierarchy allows you to drill down to the specific objects in Junos Space Network Management Platform very easily.
A hierarchical tag contains parent and child tags. For example, if you have an existing tag named West Coast and you create another tag within this tag named California, then the West Coast tag is the parent tag and the California tag is the child tag.
Only public tags can be hierarchical. That is, you can create a public tag within another public tag.
You can view, create, update, and delete hierarchical tags on the Devices > Device Management inventory page and Jobs > Job Management inventory page. For more information about creating, modifying, and deleting tags, see Using the Shortcut Menu. This topic contains information about working with tags on the Device Management page. You can extend this information to the Job Management page.
The Devices > Device Management inventory page displays all devices on the network that are accessible to you and that are managed by Junos Space Network Management Platform. To filter devices on the basis of tags:
Click the Display Tag View icon on the toolbar.
The Tag Hierarchy pane appears, which displays a tree view of all tags (public and private tags) that are relevant to the inventory landing page that you are currently on.
You can view, create, update, and delete tags on this pane.
Mouse over a tag to view the number of objects assigned to a public or private tag.
The Tag Hierarchy pane also displays the Untagged category, which lists the number of devices that are not tagged.
Select a public or private tag on the tag hierarchy tree to filter devices that are assigned the selected tag. The devices tagged assigned with this specific tag appear in a tabular view (also called Tabular View Pane).
If you click Untagged, the devices that are untagged are displayed.
Using the Tag Hierarchy Pane
The Tag Hierarchy pane displays all tags organized hierarchically in a tree view. You can view, create, update, and delete tags in this pane.
To display the Tag Hierarchy pane, click the Display Tag View icon on the Devices > Devices Management inventory page.
- Using the Tag Action Bar
- Using the Shortcut Menu
- Using Drag-and-Drop
- Using the Quick Info Tool Tip
- Browsing Tagged Objects
- Viewing All Tags
- Adding a Child Tag
- Deleting a Tag
- Using Notification
Using the Tag Action Bar
You can use the Tag Action bar to add a tag or delete an existing tag in the tag hierarchy tree. The Tag Action bar has two buttons—the plus [+] button and the minus [–] button. You can click the plus [+] button to add a child tag and the minus [–] button to delete a tag in the tag hierarchy tree.
Only public tags can be hierarchical. That is, you can create a public tag within another public tag.
To add a public or private tag:
To delete a tag:
Select the tag you want to delete from the tag hierarchy tree.
Click the Delete Tag (minus [–] button) on the Tag Action bar. This option is disabled if you do not have the necessary permissions.
A confirmation dialog box appears.
Note:If you are deleting a child tag and you want to remove the child tag completely from Junos Space Network Management Platform, select the Also delete <tag-name> tags check box on the confirmation dialog box. If this check box is not selected and if the selected tag appears in multiple locations, then it is deleted from the current location only.
CAUTION:If you have assigned this tag to any object, then the object-tag association is lost when you click Yes on the confirmation dialog box.
Click Yes to delete the tag.
Note:The tag is deleted and any object-tag association is lost. However, you can click No on the confirmation dialog box to prevent this and the tag is not deleted.
Using the Shortcut Menu
When you right-click a tag in the tag hierarchy tree, a shortcut menu appears.
This menu displays the Add Tag, Remove Tag, and Modify Tag options. Use the Add Tag option to add a new child tag in case of a public tag or to add a new private tag. Use Modify Tag and Remove Tag options to modify and delete a tag, respectively.
Only public tags can be hierarchical. That is, you can create a public tag within another public tag.
To add a child tag by using the shortcut menu:
To modify a tag by using the shortcut menu:
Select the tag you want to modify from the tag hierarchy tree.
Click the Modify Tag option on the shortcut menu. This option is disabled if you do not have the necessary permissions.
The Edit Tag Name or Description dialog box appears.
Edit the tag name or the description, as needed.
Click Modify Tag to modify the tag.
Note:If you have assigned this tag to any object, then those objects are associated with the modified tag.
To delete a tag by using the shortcut menu:
Select the tag you want to delete in the tag hierarchy tree.
Click the Delete Tag option on the shortcut menu. This option is disabled if you do not have the necessary permissions.
A confirmation dialog box appears.
Note:If you are deleting a child tag and you want to remove the child tag completely from Junos Space Network Management Platform, select the Also delete <tag-name> tags check box on the confirmation dialog box. If this check box is not selected and if the selected tag appears in multiple locations, then it is deleted from the current location only.
CAUTION:If you have assigned this tag to any object, then the object-tag association is lost when you click Yes on the confirmation dialog box.
Click Yes to delete the tag.
Note:The tag is deleted and any object-tag association is lost. However, you can click No on the confirmation dialog box to prevent this and the tag is not deleted.
Using Drag-and-Drop
You can drag a public tag from one location and drop it in another location to manipulate the tag hierarchy. When you drag and drop a tag from one location to another, the corresponding tagged objects are not affected. For example, if the tag is associated with five devices, then it remains associated with the same five devices after you drag and drop the tag from one location to another.
When you try to drag a public tag from one location to another, you can either move the tag from the current location to another location or copy the tag. The copy operation is used to make an identical copy of the tag in the new location, whereas the move operation is used to move the tag from the current location to a new location.
You can move tags only within the public tags hierarchy. If you do not have permissions to create or delete tags, you cannot move tags.
Using the Quick Info Tool Tip
The Quick Info tool tip provides quick and immediate statistics about a tag. You can place the cursor over a tag name or a tag icon in the tag hierarchy tree to see a quick summary of its tagged objects.
To view the tool tip for a tag:
Browsing Tagged Objects
When you browse the tag hierarchy tree and select a tag, the corresponding tagged objects appear in the Tabular View pane. When you select the root node in the tag hierarchy tree, all tagged objects appear in the Tabular View pane without any filtering.
You can click the [X] icon in the Tabular View pane to clear tag filtering. When you clear tag filtering, the root node in the tag hierarchy tree is automatically selected and all tagged objects appear in the Tabular View pane.
Viewing All Tags
By default, the tag hierarchy tree displays tags relevant to the Device Management inventory page only. In this mode, only those tags appear that are either empty or a tag that has at least one object on the inventory page. This is because Show Relevant Tags is selected by default on the Tags list located at the top of the Tag Hierarchy pane.
To view all public tags:
Adding a Child Tag
You can use either the Tag Action bar or the shortcut menu to add a child tag to the tag hierarchy tree. To add a child tag by using the Tag Action bar, see Using the Tag Action Bar. To add a child tag by using the shortcut menu, see Using the Shortcut Menu.
Deleting a Tag
You can use either the Tag Action bar or the shortcut menu to delete a tag from the tag hierarchy tree. To delete a tag by using the Tag Action bar, see Using the Tag Action Bar. To delete a tag by using the shortcut menu, see Using the Shortcut Menu.
Using Notification
When multiple Junos Space Network Management Platform users view the same tag view on the Device Management inventory page, any change a user makes is immediately updated in the other tag views. Changes include creating, updating, and deleting tags in the Tag View pane, and tagging objects in the Tabular View pane.
Using the Tabular View Pane
The Tabular View pane displays all managed objects as rows in a table. When you select a particular tag in the tag hierarchy tree, its corresponding tagged objects are displayed in this pane.
In this view, you can tag objects and also search for objects tagged with a particular tag.
Tagging an object by using a hierarchical tag in the Tabular View pane is similar to tagging an object using a nonhierarchical tag on any application workspace manage inventory page. For information about how to tag an object, see Tagging an Object.
To search for specific tagged objects:
Navigate to the Device Management page.
Select a tag in the search box.
The tag hierarchy tree navigates to the selected tag, and the Tabular View pane displays the objects that are tagged with that particular tag only.