Commit Graph

62 Commits

Author SHA1 Message Date
Joshua Boniface bfbe9188ce Finish setup of Ceph OSD addition and basic management 2018-10-29 17:51:25 -04:00
Joshua Boniface 7f18c99172 Add OSD add and OSD remove commands 2018-10-28 22:15:25 -04:00
Joshua Boniface 3025772e6d Fix bug in vni lists 2018-10-28 18:13:28 -04:00
Joshua Boniface 103ae95fb9 Add Ceph commands and status handling 2018-10-27 18:11:58 -04:00
Joshua Boniface b65472aa83 Add remote SSH-based command handling 2018-10-27 17:51:03 -04:00
Joshua Boniface 9f87321f10 Remove ending newline 2018-10-27 16:33:50 -04:00
Joshua Boniface a5be42908d Handle verifyNode properly 2018-10-27 16:19:07 -04:00
Joshua Boniface 4b924e54d9 Fix children list typo 2018-10-27 16:03:01 -04:00
Joshua Boniface 2b115160a2 Use zkhandler for everything; add delete operation 2018-10-27 15:51:52 -04:00
Joshua Boniface 29d44444e5 Add function to get primary node 2018-10-27 15:24:42 -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 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 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 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 d1ef073a8e Correct deletion of reservations 2018-10-03 23:53:33 -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 503680d5b2 Add better handling of listing leases and handling static reservations 2018-10-03 19:23:46 -04:00
Joshua Boniface 15ded04680 Make that wording more consistent 2018-10-02 00:14:08 -04:00
Joshua Boniface 3302088f34 Add nicer client handling of DHCP leases 2018-10-02 00:02:23 -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 07a6ef0fba Remove ability for client to set router secondary (must always set
primary)
2018-09-30 16:35:57 -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 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 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
Joshua Boniface c66a83e6c5 Fix bug obtaining VM list 2018-09-28 20:31:45 -04:00
Joshua Boniface b6eeb5c264 Fix up some bugs in kv handling 2018-09-28 19:34:35 -04:00
Joshua Boniface 2fda346f9b Improved rewrite of zkhandler.writedata to allow for creation 2018-09-28 16:14:31 -04:00
Joshua Boniface 2d5078cbd6 Add a bit of colour to network output 2018-09-25 13:58:52 -04:00
Joshua Boniface 1c9c63db92 Fix some problems with modify command after split 2018-09-25 02:32:08 -04:00
Joshua Boniface 9107e16c33 Add getDomainName to vm functions 2018-09-25 02:26:37 -04:00
Joshua Boniface 7daed1b0d8 Improve limit handling 2018-09-25 02:20:32 -04:00
Joshua Boniface 615169cd69 Properly support limit 2018-09-25 01:52:05 -04:00
Joshua Boniface e5f81b26bf Remove spurious ZKConnection call 2018-09-25 01:47:18 -04:00
Joshua Boniface 2813fda06c Fix up call 2018-09-25 01:32:52 -04:00
Joshua Boniface 98d9c4d70b Revert "Remove gratuitous long_output"
This reverts commit 97cd90ce88.
2018-09-25 01:32:03 -04:00
Joshua Boniface 97cd90ce88 Remove gratuitous long_output 2018-09-25 01:23:57 -04:00
Joshua Boniface 54541c991c Remove routers config from networks as not needed 2018-09-25 01:19:56 -04:00