Global Variables enable you to define a set of name-value pairs that can be used in variable substitution expressions within directives, parameters, and macros. Global variables are independent of the typical server- or service-specific CA Configuration Automation data model, and can be defined manually within the CA Configuration Automation user interface, imported from an existing XML or CSV file, or exported to a CSV file.
CA Configuration Automation displays the global variable repository in a table on the Global Variables page. Global variables require unique variable names and can include only alphanumeric characters, periods (.), parentheses (( )), and underscores ( _ ).
The named values defined in the global variable repository are:
The Global Variables page lets you create, export, import, and delete the global variables.
To manage the global variables, follow the steps:
The Blueprints tab page appears.
The Global Variables page appears.
To create a global variable:
The Create Global Variable dialog appears.
Identifies the global variable.
Describes the purpose of the global variable.
Specifies the syntax for addressing global variables for variable substitution using the $(@global_variable_name) format. This expression represents the value of the global variable c at the path /a/b in the Global Variables tree.
Note: You cannot use variable substitution expressions with name qualifiers that contain colons (:), for example: $(/var1/var2/var3/var3(:2:)/value) is not a valid expression.
To Import the global Variables that have been exported from another instance of CA Configuration Automation:
The Import Global Variables dialog appears.
The selected file appears in the Import XML or CSV File field.
By default, all entries are imported.
The global variables are imported and appear in the Global Variables table.
To export global variables to an Excel file in a comma separated value (CSV) format:
The ExportToCsvServlet runs in a web browser, then displays a File Download window.
The CSV file is saved in the specified location.
To delete the global variables:
The selected global variables are removed from the table.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|