noc.core.interface.base

Module Contents

noc.core.interface.base.RESERVED_NAMES
class noc.core.interface.base.BaseInterfaceMetaclass

Bases: type

classmethod __new__(mcs, name, bases, attrs)
class noc.core.interface.base.BaseInterface

Bases: six.with_metaclass()

template
form
preview
has_required_params
gen_parameters(self)

Generator yielding (parameter name, parameter instance) pairs

clean(self, __profile=None, **kwargs)

Clean up all parameters except “returns”

clean_result(self, result)

Clean up returned result

script_clean_input(self, __profile, **kwargs)
script_clean_result(self, __profile, result)
template_clean_result(self, __profile, result)
requires_input(self)
get_form(self)