Skip to main content
Question

Visual Parser$bool Variable


Can anyone share an example of processing a $bool variable in the Visual Parser.  Basically, what I would like to do is verify whether a certain command is present or not and put a true or false in an output table.

For example, verify that the Nexus pim feature is enabled. Command in config is;

feature pim

  • New Participant
  • August 21, 2023

At first I was looking at the $bool variable. But then I looked at the other options and this worked to check that the Nexus “feature nv overlay” was present. It checks to see if either “feature nv overlay” or feature dummy” is present. If present, nv overlay appears in a column of the output data table.

^feature $nvOverlay(nv overlay|dummy)

  • New Participant
  • August 21, 2023

Hi @TimLang, We do not have bool variable type in visual parser. Hence if you are using a standalone parser we may not be able to achieve it, as standalone parser is not useful if you are using this parser for some Network Intent or Qapp, we can create compound variable there and achieve the requirement.

Please confirm where (Network Intent or Qapp) you want to use this parser and we will help you to achieve it.

 

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings