Add routers during init

This commit is contained in:
Joshua Boniface 2018-09-24 01:29:30 -04:00
parent 17297dd943
commit 74ef5e5d69
1 changed files with 1 additions and 0 deletions

View File

@ -663,6 +663,7 @@ def init_cluster():
transaction = zk_conn.transaction()
transaction.create('/domains', ''.encode('ascii'))
transaction.create('/nodes', ''.encode('ascii'))
transaction.create('/routers', ''.encode('ascii'))
transaction.create('/networks', ''.encode('ascii'))
transaction.commit()