Commit Graph

921 Commits

Author SHA1 Message Date
Joshua Boniface da2f99a808 Remove old DHCP integration preferring dnsmasq 2018-10-03 19:42:25 -04:00
Joshua Boniface 503680d5b2 Add better handling of listing leases and handling static reservations 2018-10-03 19:23:46 -04:00
Joshua Boniface e5ed3d2c44 Fix lease duplication bug due to bad conditional logic 2018-10-02 19:48:43 -04:00
Joshua Boniface f461f12927 Correct the flag name 2018-10-02 00:15:04 -04:00
Joshua Boniface 15ded04680 Make that wording more consistent 2018-10-02 00:14:08 -04:00
Joshua Boniface e1ef9e1af1 Ordering change to reflect wording better 2018-10-02 00:08:45 -04:00
Joshua Boniface d12345b728 Make wording tweaks around DHCP leases 2018-10-02 00:06:53 -04:00
Joshua Boniface 3302088f34 Add nicer client handling of DHCP leases 2018-10-02 00:02:23 -04:00
Joshua Boniface 29a194f27d Fix up the formatting of the list 2018-10-01 23:03:51 -04:00
Joshua Boniface 062a56f639 Update readme to reflect correct tag version 2018-10-01 23:02:57 -04:00
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