Cisco Tetration - Hands-On Lab
Module05 - Annotations
Annotations are metadata that can be associated with endpoint IP addresses that are stored in Tetration inventory. Traditionally, IP addresses and/or hostnames of devices have been the primary means of identifying devices in an environment. Annotations provide a mechanism by which we can provide more context about the IP addresses, and build search criteria and policy within the platform using language that is much more consumable and meaningful to humans. Each IP address can be annotated with up to 32 fields of metadata. With annotations we can build policy that is dynamic; by changing an annotation we can potentially affect the policy that is being applied to a particular machine. Take for an example a machine that has been identified by the security team as running a highly vulnerable version of software. By creating a policy that matches an annotation of “Quarantine”, we can annotate the workload with the “Quarantine” annotation to cause it to be removed from the network so that the vulnerability can be patched.
In this module, we’ll configure Static Annotations for the endpoints in the lab environment. Static Annotations are manually configured by the Tetration administrator by uploading a .CSV file, or alternatively by configuring one at a time using the Assign Annotations wizard from the Inventory Upload screen. Annotations can also be populated from external sources, such as tags in VMware and AWS. External annotations will be covered in Module 06 - External Orchestrators.
Click here to view the first of two videos highlighting the creation of static Annotations.
Click here to view the second of two videos highlighting the verification of those Annotations.
Steps for this Module
Step 001 - Open annotations file
Step 002 - Modify annotations file with lab IP addresses
Step 003 - Save the annotations file to the desktop
Step 004 - Navigate to Inventory Uploads
Step 005 - Select the annotations file from the desktop
Step 006 - Specify the upload operation
Step 007 - Examine the new annotations
Step 008 - Navigate to Inventory Search
Step 009 - View the annotations that can be filtered upon
Step 010 - Search for inventory using annotations
Step 011 - Navigate to Workload Profile
Step 012 - View the annotations assigned to the workload
Step 013 - Annotations on the workload
Open the provided annotations.csv file in a text editor.
Change the 1.1.1.x addresses in the annotations file to the provided IP addresses for the lab.
Save the annotations file to the desktop on the lab workstation.
On the Tetration dashboard, click on Visibility and Inventory Upload.
Click the Select File button and select the .csv file previously saved to the desktop.
Click the dropdown arrow and select Add for the operation.
Notice the new annotation columns that have been imported into the cluster from the .csv file. These map to the column headers in the .csv file.
Click on Visibility and Inventory Search.
Here we can query for workloads using the annotations that we created. Click on the question mark next to Filters to display the annotation columns. Tetration contains a number of default fields that can be filtered on, however user annotations as well as annotations from external orchestrators are prepended with a * to differentiate from the system defaults.
Note: It may take a few minutes for the newly uploaded annotations to show up in the Filters help screen.
Enter the query: * AppName contains OpenCart
and click Search. The Linux machine in your lab environment should be shown.
Click on the IP address of the Linux machine to go to the Workload Profile screen.
Click on the link under User Annotations to display the list of annotations.
Here you should see the annotations and their values that were entered into the .csv file for this workload.
Return to Table of Contents | Go to Top of the Page | Continue to the Next Module |