noc.core.profile.loader

Module Contents

noc.core.profile.loader.GENERIC_PROFILE = Generic.Host
class noc.core.profile.loader.ProfileLoader

Bases: noc.core.loader.base.BaseLoader

name = profile
get_profile(self, name)

Load profile and return BaseProfile instance. Returns None when no profile found or loading error occured

reload(self)

Reset profile cache and release all modules

is_valid_name(self, name)
find_profiles(self)

Scan all available profiles

iter_profiles(self)

Returns all available profile names

has_profile(self, name)

Check profile is exists

choices(self)
noc.core.profile.loader.loader