Commit Graph

58 Commits

Author SHA1 Message Date
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 1527c628af Explicitly send a SIGINT to allow cleanups in units 2018-09-30 18:10:56 -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 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 197abf66f4 Add DHCP server component based on python_dhcp_server 2018-09-30 01:33:01 -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 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 0fca16f512 Fix missing ) 2018-09-24 15:16:52 -04:00
Joshua Boniface 1932e1974b Create cpuload element in ZK 2018-09-24 15:12:50 -04:00
Joshua Boniface 40f36271cc Send CPU load to ZK 2018-09-24 15:09:51 -04:00
Joshua Boniface 06ddc8df4c Fix some timings and messages during failover 2018-09-24 14:38:54 -04:00
Joshua Boniface 0f9637cb69 Make the IP failover work including threaded background os commands 2018-09-24 04:08:35 -04:00
Joshua Boniface eda92a7cbb Fix a few more bugs with master selection 2018-09-24 03:20:46 -04:00
Joshua Boniface 30399608bc Fix up router creation bug 2018-09-24 02:16:39 -04:00
Joshua Boniface e6949ff126 It's not plural 2018-09-24 02:05:00 -04:00
Joshua Boniface 050979dd55 Use self calls 2018-09-24 02:03:57 -04:00
Joshua Boniface 491a6556c3 Fix up handling of cluster primary stepup 2018-09-24 02:02:38 -04:00
Joshua Boniface 1b008f3ae1 Correct problem with t_router calls 2018-09-24 01:57:19 -04:00
Joshua Boniface 4a29aa4bec Create as secondary by default 2018-09-24 01:46:57 -04:00
Joshua Boniface bbe03a2fec Fix some bugs with secondary/primary states 2018-09-24 01:45:04 -04:00
Joshua Boniface 6ba831d1bc Typo in name 2018-09-24 01:37:28 -04:00
Joshua Boniface 9c96d30409 Fix keepalive print 2018-09-24 01:36:31 -04:00
Joshua Boniface 903e94b519 Correct handling of network lists 2018-09-24 01:34:20 -04:00
Joshua Boniface cf9785149b REmove spurious lv_conn 2018-09-24 01:30:23 -04:00
Joshua Boniface 17297dd943 Missing comma 2018-09-24 01:22:49 -04:00
Joshua Boniface d679f2077a Remove libvirt here too 2018-09-24 01:20:51 -04:00
Joshua Boniface 2ce0d8c85b Typo 2018-09-24 01:16:38 -04:00
Joshua Boniface 1d62c48288 Fix up some bad imports 2018-09-24 01:13:05 -04:00
Joshua Boniface a3585da1c8 Update sample config with new options 2018-09-24 01:07:24 -04:00
Joshua Boniface 062a46f48c New router daemon based on virtualization daemon 2018-09-24 01:03:16 -04:00