noc.cm.parsers.pyparser

Module Contents

class noc.cm.parsers.pyparser.BasePyParser(managed_object)

Bases: noc.cm.parsers.base.BaseParser

RX_INTERFACE_BLOCK
ENABLE_PACKRAT = True
create_parser(self)

Return ParserElement instance

preprocess(self, config)

Perform config preprocessing

parse(self, config)

Parse config, yield and modify facts

on_tokens(self, tokens)