R12 Publication-2025July16
Define Variable
The table lists variable types in intent:
| Category | Value Type | Description | Sample | |
|---|---|---|---|---|
| Parser Variable | string | Match any single word. | Device hostname can be parsed by parser with string variable, such as hostname CA-TOR-SW1 --> Hostname $hostname (string).![]() | |
| mstring | Match one or multiple words.
| device neighbor can be parsed by parser with mstring variable.![]() | ||
| int | Match any whole number. | ![]() | ||
| float | Match any double-precision IEEE 64-bit (8-byte) floating-point number. | Device version can be parsed by parser with string variable, such as Version 15.4 --> Version $version (float).![]() | ||
| table | Match any information that can be converted into a table. | Device ip route can be parsed by parser with table variable.![]() | ||
| Intent Variable | Compound Variable | Compound variable can convert the single variable into different formats or calculates new variables using two or more existing single variables. | ![]() | |
| Compound Table | Compound table can merge two table variables in the same NI into one table variable, including merged table, sub table, and appended table. | ![]() | ||
| Macro Variable | Macro variables are variables with a pre-defined default value. | ![]() | ||
| Task Variable | Task variable is a global variable, which can be used in the Triggered Automation Framework (TAF), auto intent, and bot. | ![]() | ||
| Critical Variable | All variables in diagnosis If condition can be automatically collected as critical variables to qualify devices in NIT. | ![]() | ||
| Signature Variable | Signature variables are available to be added to table column in ADT building from NIT. | ![]() | ||
| Built-in Table | The device built-in data are supported in intent, such as Route Table, Topology Table, and NCT. | ![]() | ||
| ADT | ADT is an extended global data table for managing the critical network assets and network intents associated with those network assets. | ![]() | ||
| Intent Variable: | Intent variable is defined at the intent level (string, number, or table variable). | ![]() | ||
| Built-in Variable | such as $this_device, $device_name. | ![]() |














