NetBrain Parser is a file used to parse key metrics (as known as variables) from command lines or device configurations for specific device types.

With Visual Parser added since v10.0, there are two major types of parser in the system:

▪Visual Parser

▪Advanced Parser

Differences between Visual Parser and Advanced Parser

The following table introduces the feature comparision between visual parser and advanced parser.

Feature Category

Visual Parser

Advanced Parser

Start/End Line

√

 

Text Replacement

√

 

Real-time highlight variable definition and comment

√

 

Line pattern syntax highlight and intellisense

√

 

Paragraph nested table

 

√

Paragraph nested paragraph

One-level nesting with parent line

Multi-level nesting

Supported Line Pattern Syntax

▪Simple line pattern

▪mline

▪regex

▪mregex

▪Simple line pattern

▪regex

▪mregex

Supported variable types

▪string

▪mstring

▪int

▪float/double

▪bool

▪enumeration

▪dummy

▪string

▪int

▪double

▪bool

▪enumeration

▪dummy

Allowed ID lines

Multiple ID lines

Only one ID line

Supported Parser Type

▪Text

▪Variable (keyword)

▪Paragraph

▪Table

▪Variable (keyword)

▪Paragraph

▪Table

▪Filter

▪Script

Supported Data Type

▪CLI

▪Configuration

▪CLI

▪Configuration

▪SNMP

▪API

Allowed Samples

One sample only

Multiple samples