Commit Graph

270 Commits

Author SHA1 Message Date
c08b225ee2 Fix bug in nebula TUN device naming, causing it to force nebula to reload too much 2024-12-12 22:02:00 +01:00
d2c16573ff Fix race-condition when CreateHost is called at the same time that reloadHosts runs 2024-12-12 21:26:09 +01:00
c21b3e0c33 Test daemon config validation, fix a bug which came out of it 2024-12-12 21:05:36 +01:00
b4a58d1508 Make nebula config generation deterministic 2024-12-12 20:51:13 +01:00
e750bc44a5 Check for IPs in use in CreateHost 2024-12-12 20:20:27 +01:00
37d436a428 Move certain sub-command optional fields to options on flag parsing method call 2024-12-10 22:07:25 +01:00
81cfdd5030 Refactor how daemon.RPC is passed through sub-commands 2024-12-10 22:00:55 +01:00
be7844f658 Move most TODOs into task files, introduce busiless to explore them 2024-12-10 21:36:56 +01:00
1c1b05db06 Small cleanup to cli formatting 2024-12-10 16:35:14 +01:00
10758f11a2 Implement 'vpn firewall reset' and 'vpn firewall commit' 2024-12-10 16:14:48 +01:00
9b27676521 Don't error from 'vpn firewall show --staged' if nothing is staged, return the live config instead 2024-12-10 15:35:13 +01:00
dd847cafe1 Implement 'vpn firewall remove' 2024-12-10 15:17:07 +01:00
a5829a6493 Rename 'vpn firewall list' to 'vpn firewall show' 2024-12-10 13:55:03 +01:00
cf968ff883 Implement 'vpn firewall add' 2024-12-10 13:52:57 +01:00
1608031103 Give 'vpn firewall list' a --staged flag 2024-12-09 18:09:45 +01:00
b38d780bdf Implement 'vpn firewall list', and move 'nebula create-cert' to 'vpn create-cert' 2024-12-08 16:59:01 +01:00
a984ffc724 Make 'host list' output match config field naming better 2024-12-07 22:23:49 +01:00
723642e13b Remove 'nebula show' subcmd and add that data to 'network list' 2024-12-07 22:11:29 +01:00
df5ece950a Implement GetBootstrap to replace other redundant methods 2024-12-07 20:39:13 +01:00
54cebcad53 Allow marshaling/unmarshaling zero value keys 2024-12-07 20:36:29 +01:00
2e92081e07 Clean up .gitignore 2024-12-06 14:46:15 +01:00
a696f0ded6 Add debug logging to all HTTP requests 2024-11-19 14:12:17 +01:00
8e1dd2b2e9 Use atomic.Uint64 type rather than atomic.AddUint64 (see Bugs section of atomic package) 2024-11-19 12:55:56 +01:00
9545f77cce Auto-configure device tunnel name, remove from daemon.yml 2024-11-19 12:50:58 +01:00
6c8d37a054 Spruce up errors a bit 2024-11-18 22:25:49 +01:00
32cc38ab08 Implement 'storage add-allocation' 2024-11-18 22:11:14 +01:00
cedd9f2c99 Implement 'storage remove-allocation' 2024-11-18 21:16:47 +01:00
8eb3b1d98f Add test for 'storage list-allocation(s)' command 2024-11-16 11:50:55 +01:00
190beba739 Get the entrypoint test-ready 2024-11-15 13:14:23 +01:00
1d02c1f6a0 Implement 'storage list-allocation(s)' 2024-11-14 20:55:15 +01:00
070524f686 Add network get-config command 2024-11-12 18:18:47 +01:00
6809445832 Write a short document on removing hosts from the network 2024-11-12 16:46:35 +01:00
095489af2a Parallelize integration tests better 2024-11-12 13:42:35 +01:00
6ec56f2a88 Pass NetworkConfig into Network loaders as an optional argument 2024-11-12 13:34:39 +01:00
72bca72b29 Revert "Add SetConfig to Daemon, though it will always error right now"
This reverts commit 2ec28cde61.
2024-11-10 22:58:09 +01:00
f0cb29b553 Implement network.Loader, will be helpful for testing Daemon 2024-11-10 22:13:06 +01:00
bfa0dc457f Add mock of network interface 2024-11-09 23:17:10 +01:00
2ec28cde61 Add SetConfig to Daemon, though it will always error right now 2024-11-09 23:14:20 +01:00
5e33eafb80 Fix test removing all allocs 2024-11-09 20:40:39 +01:00
335867644b Output command-line results in either yaml or json, based on a flag 2024-11-09 17:40:02 +01:00
06d85ca961 Make log level configurable, remove custom log message handler 2024-11-09 17:11:10 +01:00
032bdb9e43 Have hosts update garage cluster layout to remove other nodes if necessary 2024-11-08 22:57:31 +01:00
53a06af9ba Use the term 'role' or 'node' rather than 'peer' in the context of garage 2024-11-08 17:46:44 +01:00
734406d4bb Remove legacy tests, document new ones 2024-11-05 23:47:44 +01:00
04978fa9db Block for bucket list to sync across garage instances during init 2024-11-05 21:25:04 +01:00
8e264cf028 Rework how Network background jobs are managed a bit 2024-11-05 11:59:45 +01:00
efdab29ae6 Update isle link in README 2024-11-05 11:23:28 +01:00
932c8e2244 Refactor arch package building a bit, to make it easier to test 2024-11-03 15:23:43 +01:00
6ac473edcb Fix garage health check to wait for full replication factor of nodes 2024-10-31 13:13:17 +01:00
2cdec586b2 Implement removal of nodes from the garage layout 2024-10-31 13:04:19 +01:00