Commit Graph

1911 Commits

Author SHA1 Message Date
Joshua Boniface f59b3e217a Update readme GitHub notice 2018-10-01 22:58:40 -04:00
Joshua Boniface 0fa4e36551 Correct bug from previous commit in pvcvd as well 2018-10-01 22:51:34 -04:00
Joshua Boniface 5c44b8a754 Fix bug with DataWatches holding up instance del
Fixes a very esoteric bug I was having with duplicate class instances
not being reaped properly due to held-open DataWatch elements.
Workaround for the bug(?) described in
https://github.com/python-zk/kazoo/issues/525
2018-10-01 22:43:14 -04:00
Joshua Boniface fc0c07695b Update zookeper once after starting keepalive timer 2018-10-01 17:58:18 -04:00
Joshua Boniface a5257e75b0 Tweaks to startup and shutdown 2018-09-30 20:06:29 -04:00
Joshua Boniface 4612c8086f Fix bug where network list grows 2018-09-30 19:27:39 -04:00
Joshua Boniface 0b5a492859 Handle new gateways better 2018-09-30 19:19:06 -04:00
Joshua Boniface b0084f6a18 Re-add 0.5 second delay before secondary to avoid minor ping loss 2018-09-30 19:16:47 -04:00
Joshua Boniface 0499ca5b47 Remove all debug printing 2018-09-30 19:09:11 -04:00
Joshua Boniface 1216f4a046 Ordering bug 2018-09-30 19:06:18 -04:00
Joshua Boniface 66d8c436fb Remove sleep before deactivating network 2018-09-30 18:52:06 -04:00
Joshua Boniface a86fd06184 Properly correct handling of primary during shutdown 2018-09-30 18:45:39 -04:00
Joshua Boniface 1483db3c2d Allow secondary routers again and handle them better
This reverts commit 07a6ef0fba.
2018-09-30 18:16:27 -04:00
Joshua Boniface 1527c628af Explicitly send a SIGINT to allow cleanups in units 2018-09-30 18:10:56 -04:00
Joshua Boniface 07a6ef0fba Remove ability for client to set router secondary (must always set
primary)
2018-09-30 16:35:57 -04:00
Joshua Boniface 726a6ceca5 Fix a bug 2018-09-30 16:16:05 -04:00
Joshua Boniface 1489486bbb Fix some missing stops 2018-09-30 16:09:23 -04:00
Joshua Boniface c360a91d9a Print messasge in a better place 2018-09-30 16:05:34 -04:00
Joshua Boniface cb3fb84b8d Support anding start and end addresses to DHCP config 2018-09-30 15:58:39 -04:00
Joshua Boniface 120b770a02 Add stop and message on DHCP server shutdown 2018-09-30 13:57:10 -04:00
Joshua Boniface ad3c85eda3 Fix that up a bit more 2018-09-30 13:52:46 -04:00
Joshua Boniface de708ef620 Revert "Finagle how startup happens"
This reverts commit 3e937362cd.
2018-09-30 13:45:20 -04:00
Joshua Boniface ce6d863424 Properly handle creating gateways and DHCP servers 2018-09-30 13:43:18 -04:00
Joshua Boniface 3e937362cd Finagle how startup happens 2018-09-30 13:34:31 -04:00
Joshua Boniface fc8a2e1806 Fix bug with dhcp close 2018-09-30 13:22:59 -04:00
Joshua Boniface 751414d2a3 Typoo 2018-09-30 13:19:22 -04:00
Joshua Boniface c4a9bb8523 Remove some junk 2018-09-30 13:16:27 -04:00
Joshua Boniface 7ebc8ddb74 Add message when starting DHCP server 2018-09-30 13:13:03 -04:00
Joshua Boniface 31f35da91d Fix up call 2018-09-30 13:02:34 -04:00
Joshua Boniface e4509d356a Set up DHCP config properly 2018-09-30 12:59:33 -04:00
Joshua Boniface a65f876483 Create the right type of object 2018-09-30 12:47:54 -04:00
Joshua Boniface 4d350ced7e Some major tweaks to make DHCP reservations work with the server 2018-09-30 12:43:56 -04:00
Joshua Boniface 3775edf415 Fold reservations into leases DB 2018-09-30 11:22:25 -04:00
Joshua Boniface 436dc42576 Don't delete if lease is static 2018-09-30 11:11:33 -04:00
Joshua Boniface a673e38cff Make hostname field into description 2018-09-30 11:08:39 -04:00
Joshua Boniface 9dbeaf8524 Complete DHCP server setup including ZK leases database 2018-09-30 02:52:35 -04:00
Joshua Boniface 505a951a7d Add delete function to zkhandler 2018-09-30 02:52:22 -04:00
Joshua Boniface 197abf66f4 Add DHCP server component based on python_dhcp_server 2018-09-30 01:33:01 -04:00
Joshua Boniface ec868b50f4 Another slight client tweak 2018-09-29 02:59:00 -04:00
Joshua Boniface 46446f11fc Slight output tweak 2018-09-29 02:56:36 -04:00
Joshua Boniface 15f26f9fa3 Support adding the DHCP range with the client 2018-09-29 02:54:48 -04:00
Joshua Boniface 560fa57176 Make use of router primary write key in client too 2018-09-29 02:00:07 -04:00
Joshua Boniface 08c09135c8 Don't bother watching the control key, it's only for write updates 2018-09-29 01:57:38 -04:00
Joshua Boniface 2ff8e7a07b Fix dumb conflict 2018-09-29 01:54:39 -04:00
Joshua Boniface 667a1218ef Fix up the wrong key 2018-09-29 01:51:37 -04:00
Joshua Boniface a4bece898e Add a dedicated primary key to keep master selection consistent 2018-09-29 01:47:48 -04:00
Joshua Boniface e9d7761e78 Add a dedicated primary key to keep master selection consistent 2018-09-29 01:45:23 -04:00
Joshua Boniface fa1e3591cb Use much nicer updated zkhander from client library 2018-09-29 01:31:09 -04:00
Joshua Boniface 63d48a3821 Support domain names in networks 2018-09-28 20:50:55 -04:00
Joshua Boniface 5d35adb4fc Support DHCP reservations in networks on client side 2018-09-28 20:32:15 -04:00