noc.core.consul

Module Contents

noc.core.consul.CONSUL_CONNECT_TIMEOUT
noc.core.consul.CONSUL_REQUEST_TIMEOUT
noc.core.consul.CONSUL_NEAR_RETRY_TIMEOUT
noc.core.consul.ConsulRepeatableErrors
class noc.core.consul.ConsulHTTPClient

Bases: consul.tornado.HTTPClient

Gentler version of tornado http client

_request(self, callback, request)
get(self, callback, path, params=None)
put(self, callback, path, params=None, data='')
delete(self, callback, path, params=None)
post(self, callback, path, params=None, data='')
class noc.core.consul.ConsulClient

Bases: consul.base.Consul

connect(self, host, port, scheme, verify=True)