noc.core.script.oidrules.caplist

Module Contents

class noc.core.script.oidrules.caplist.CapabilityListRule(oid, type=None, scale=1, capability=None, separator=', ', strip=True, default=None, path=None)

Bases: noc.core.script.oidrules.oid.OIDRule

Expand {{item}} from capability capability: String capability, separated by separator separator: String separator, comma by default strip: Strip resulting item, remove spaces from both sides

name = caplist
iter_oids(self, script, cfg)