This commit is contained in:
ahmadbilalkhalid 2019-08-30 23:41:14 +05:00
parent d58381055a
commit 0abac4b4ae
1 changed files with 4 additions and 1 deletions

View File

@ -15,7 +15,10 @@ logging.basicConfig(
datefmt="%d-%b-%y %H:%M:%S",
)
etcd_client = Etcd3Wrapper(host=config("ETCD_URL"), user="root", password=config("ETCD_PASSWORD"))
# TODO: Remove timeout, use certificate authentication
etcd_client = Etcd3Wrapper(host=config("ETCD_URL"), user="root",
password=config("ETCD_PASSWORD"),
timeout=2629746)
host_pool = HostPool(etcd_client, "/v1/host")
vm_pool = VmPool(etcd_client, "/v1/vm")