noc.core.config.base

Module Contents

noc.core.config.base.DEFAULT_CONFIG = yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
noc.core.config.base.DEFAULT_DUMP_URL = yaml://
class noc.core.config.base.ConfigSectionBase

Bases: type

classmethod __new__(mcs, name, bases, attrs)
class noc.core.config.base.ConfigSection

Bases: six.with_metaclass()

class noc.core.config.base.ConfigBase

Bases: type

classmethod __new__(mcs, name, bases, attrs)
class noc.core.config.base.BaseConfig

Bases: six.with_metaclass()

PROTOCOLS
_rx_env_sh
__iter__(self)
classmethod expand(cls, value)
set_parameter(self, path, value)
get_parameter(self, path)
dump_parameter(self, path)
classmethod get_protocol(cls, url)
load(self)
dump(self, url=DEFAULT_DUMP_URL, section=None)
update(self, cfg)

Update config from dictionary :param cfg: :return: