R12.1 JA-2025July15

Compound Variable in Network Intent

NI supports a Compound Variable, which converts the single variable into different formats or calculates new variables using two or more existing single variables.
  1. Define Variables in NI edit mode.

  2. Navigate to Add Variable > New Compound Variable. Select Single Variable and choose a variable type. Click OK.

  1. Define the Variable Name, Type, and Definition for the compound variable.
  • Name — A name can only contain letters, numbers, and underlines, and can only start with a letter or underline.
  • Type — The selection of the Type should be set according to the data type returned by the compound variable or formula.
  • Definition — The Definition input supports two ways: a mathematical operation, such as $var1 + $var2; Call the built-in functions. See Appendix: Supported Built-in Functions in Network Intent for a list of supported functions in NI.
  1. Click OK, and the compound variable is added as a new variable.