noc.core.stencil

Module Contents

noc.core.stencil.logger
noc.core.stencil.Stencil
class noc.core.stencil.StencilRegistry
prefix
DEFAULT_STENCIL = Cisco/router
DEFAULT_CLOUD_STENCIL = Cisco/cloud
classmethod stencil_from_svg(cls, path)

Read SVG and fetch metadata

Parameters:path
Returns:Stencil insance or None in case of parsing error
load(self)
get(self, stencil_id)

Get stencil instance by id :param stencil_id: :return: Stencil instance

noc.core.stencil.stencil_registry