noc.core.confdb.syntax.patterns

Module Contents

class noc.core.confdb.syntax.patterns.BasePattern

Bases: object

__slots__ = ['match_rest']
match_rest = False
match(self, token)
static compile_gen_kwarg(name, value=None)
static compile_value(name)
class noc.core.confdb.syntax.patterns.ANY

Bases: noc.core.confdb.syntax.patterns.BasePattern

static match(token)
__repr__(self)
class noc.core.confdb.syntax.patterns.REST

Bases: noc.core.confdb.syntax.patterns.BasePattern

match_rest = True
static match(token)
__repr__(self)
class noc.core.confdb.syntax.patterns.Token(token)

Bases: noc.core.confdb.syntax.patterns.BasePattern

match(self, token)
__repr__(self)
class noc.core.confdb.syntax.patterns.BOOL

Bases: noc.core.confdb.syntax.patterns.ANY

static clean(value)
static compile_gen_kwarg(name, value=None)
static compile_value(name)
class noc.core.confdb.syntax.patterns.INTEGER

Bases: noc.core.confdb.syntax.patterns.ANY

static compile_gen_kwarg(name, value=None)
static compile_value(name)
class noc.core.confdb.syntax.patterns.FLOAT

Bases: noc.core.confdb.syntax.patterns.ANY

static compile_gen_kwarg(name, value=None)
static compile_value(name)
noc.core.confdb.syntax.patterns.VR_NAME
noc.core.confdb.syntax.patterns.FI_NAME
noc.core.confdb.syntax.patterns.IF_NAME
noc.core.confdb.syntax.patterns.UNIT_NAME
noc.core.confdb.syntax.patterns.IF_UNIT_NAME
noc.core.confdb.syntax.patterns.IPv4_ADDRESS
noc.core.confdb.syntax.patterns.IPv4_PREFIX
noc.core.confdb.syntax.patterns.IPv6_ADDRESS
noc.core.confdb.syntax.patterns.IPv6_PREFIX
noc.core.confdb.syntax.patterns.IP_ADDRESS
noc.core.confdb.syntax.patterns.ISO_ADDRESS
noc.core.confdb.syntax.patterns.ETHER_MODE
noc.core.confdb.syntax.patterns.STP_MODE
noc.core.confdb.syntax.patterns.HHMM
noc.core.confdb.syntax.patterns.CHOICES(*args)