Commit Graph

692 Commits

Author SHA1 Message Date
Joshua Boniface 3bbff271a0 Reorganize sysctl commands; fix bug with rp_filtering on vni_dev 2018-10-14 11:00:31 -04:00
Joshua Boniface d4e5015db4 Shorten this string 2018-10-14 03:08:11 -04:00
Joshua Boniface b0a4ca97bf Typo in this_node reference 2018-10-14 03:02:47 -04:00
Joshua Boniface 5337e8242d Add sysctl tweaks on daemon startup 2018-10-14 02:58:02 -04:00
Joshua Boniface 49d5b60f15 Remove superfluous Hypervisor mention 2018-10-14 02:47:30 -04:00
Joshua Boniface f198f62563 Massive rejigger into single daemon
Completely restructure the daemon code to move the 4 discrete daemons
into a single daemon that can be run on every hypervisor. Introduce the
idea of a static list of "coordinator" nodes which are configured at
install time to run Zookeeper and FRR in router mode, and which are
allowed to take on client network management duties (gateway, DHCP, DNS,
etc.) while also allowing them to run VMs (i.e. no dedicated "router"
nodes required).
2018-10-14 02:40:54 -04:00
Joshua Boniface 25df845769 Correct some stuff 2018-10-09 22:38:40 -04:00
Joshua Boniface ceb7b6b5cd Correct dhcp_reservations default 2018-10-09 00:24:59 -04:00
Joshua Boniface f2431f179e Correct multiple issues with DHCP and add firewall control logic 2018-10-08 23:53:41 -04:00
Joshua Boniface 16e714b544 Add sysctl commands to daemon startup 2018-10-07 17:47:03 -04:00
Joshua Boniface 404bb435d5 Remove this junky file 2018-10-04 00:19:54 -04:00
Joshua Boniface 2103d5f8b7 Add DELETED event handler 2018-10-04 00:10:13 -04:00
Joshua Boniface 7d33e2d154 Commit a few more bugs 2018-10-04 00:04:48 -04:00
Joshua Boniface d1ef073a8e Correct deletion of reservations 2018-10-03 23:53:33 -04:00
Joshua Boniface a72978e33d Remove debug print 2018-10-03 23:53:27 -04:00
Joshua Boniface 168435a827 Correct signals problem 2018-10-03 23:45:19 -04:00
Joshua Boniface 8195064f11 Enable dnsmasq damoning in VXNetworks 2018-10-03 23:39:02 -04:00
Joshua Boniface 3e5e50e438 Handle daemons for dnsmasq 2018-10-03 23:17:59 -04:00
Joshua Boniface 717d1a9045 Fix up handling of reservations in the client 2018-10-03 23:16:31 -04:00
Joshua Boniface a6f7986b87 Update network modify with new add flags 2018-10-03 20:24:54 -04:00
Joshua Boniface 5ee8af3b2f Add script for writing dnsmasq leases to ZK 2018-10-03 19:42:42 -04:00
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