Commit Graph

914 Commits

Author SHA1 Message Date
Joshua Boniface 6b5fa3d50b Move Zookeeper update out of NodeInstance and into the main Daemon 2018-10-22 21:01:59 -04:00
Joshua Boniface d69cb72439 Modify alloc memory check to just look at alloc 2018-10-22 00:43:58 -04:00
Joshua Boniface 59219c4e97 Increase domain state length 2018-10-21 22:10:13 -04:00
Joshua Boniface 2de65e514f Add missing common call 2018-10-21 22:10:05 -04:00
Joshua Boniface bfd42b5a7b Make primary watching happen in the daemon not the Node object 2018-10-21 22:08:23 -04:00
Joshua Boniface d464bf74da Increase width of daemon_state line 2018-10-21 15:19:24 -04:00
Joshua Boniface 05af23064f Fix name of "ansiiprint" since it's "ANSI" 2018-10-20 15:28:25 -04:00
Joshua Boniface a3f7419124 Handle colouring of network lists when a network is invalid 2018-10-20 15:27:07 -04:00
Joshua Boniface 187a572c13 Make a whole bunch of things work 2018-10-17 20:05:22 -04:00
Joshua Boniface 87d1c7513e Add floating IPs and better termination of daemons 2018-10-17 00:23:43 -04:00
Joshua Boniface c726865b89 Support writing ACLs 2018-10-17 00:23:27 -04:00
Joshua Boniface d9d57c015f Remove implicit conversion of nontypes to '' and convert data to string 2018-10-16 23:17:09 -04:00
Joshua Boniface 1b49f70b3c Tweaks to the dameon operation 2018-10-15 22:22:34 -04:00
Joshua Boniface c13a4e84af Add DNS aggregator via PowerDNS and sqlite3 2018-10-15 21:09:40 -04:00
Joshua Boniface a2a7a1d790 Support logging of daemon directly to a file 2018-10-15 21:07:00 -04:00
Joshua Boniface a5c76c5d41 Use new-style class definitions 2018-10-14 22:14:29 -04:00
Joshua Boniface a3b1445bf1 Support configuring upstream interface on coordinators 2018-10-14 21:58:19 -04:00
Joshua Boniface 709be9fbba Explicitly stop dnsmasq service on startup 2018-10-14 18:38:23 -04:00
Joshua Boniface 605889f59f Add some additional dependencies 2018-10-14 18:36:02 -04:00
Joshua Boniface 2e2459c63c Some cleanups and fix bridge interface bug 2018-10-14 18:35:57 -04:00
Joshua Boniface 199b4bd40e Remove obsolete daemon-common section 2018-10-14 16:30:07 -04:00
Joshua Boniface 5bc18be396 Remove licence blurb for python_dhcp_server
I no longer use this code in PVC.
2018-10-14 16:29:39 -04:00
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