noc.core.config.proto.consul

Module Contents

class noc.core.config.proto.consul.ConsulProtocol(config, url)

Bases: noc.core.config.proto.base.BaseProtocol

Environment variables mapping URL:

consul:///<ip1>:<port>/<path>?token=<token>
DEFAULT_CONSUL_PORT = 8500
REQUEST_TIMEOUT = 30
CONNECT_TIMEOUT = 30
load_async(self)
load(self)
dump(self, section=None)