103 Commits (033ca2f20e418add1a06571c12571e286ebad783)

Author SHA1 Message Date
Alejandro Mery 033ca2f20e zones: validate Machine names 1 year ago
Alejandro Mery 1bca1f7da1 zones: add logger to Zone and Machine 1 year ago
Alejandro Mery 5e5958d22e zones: introduce (private) logger interface 1 year ago
Alejandro Mery 45447275a7 zones: introduce WithLogger() scan option 1 year ago
Alejandro Mery a655603343 env: export FSID 1 year ago
Alejandro Mery c291b218a4 zones: improve GetCephFSID() to generate a new UUID if none was found 1 year ago
Alejandro Mery f10ea1dc22 jpictl: write m/ceph.conf on sync 1 year ago
Alejandro Mery ac87757b06 ceph: zones.Zones.WriteCephConfig() and ceph.Config.WriteTo() 1 year ago
Alejandro Mery fe081a4297 env: set ceph monitors variables 1 year ago
Alejandro Mery cea8362fe6 zones: extend scan to ensure every zone has a ceph monitor 1 year ago
Alejandro Mery b772ec0a3d zones: store ceph FSID on scan 1 year ago
Alejandro Mery 77ad016e99 zones: set Machine.CephMonitor if its referenced as monitor on ceph.conf 1 year ago
Alejandro Mery bf4bfeb3fc zones: introduce GenCephConfig() 1 year ago
Alejandro Mery e3ab931eb1 zones: introduce Zone.GetCephMonitors() 1 year ago
Alejandro Mery 05e04c758b zones: introduce Zones.GetCephConfig() accessor for m/ceph.conf 1 year ago
Alejandro Mery 025b9072b4 zones: introduce Machine.CephMonitor field 1 year ago
Alejandro Mery 0fb8c1d44b zones: introduce Zones.CephFSID and Zones.GetCephFSID() 1 year ago
Alejandro Mery 296d4007ff zones: add methods to work with files at the root of m/ 1 year ago
Alejandro Mery 71a1d1a7c2 zones: Env: allow multiple gateways on a Zone 1 year ago
Alejandro Mery de45fa6c30 zones: Env: minor tidy up 1 year ago
Alejandro Mery 94daf5ad59 zones: export Machine.LookupNetIP() and Machine.UpdatePublicAddresses() 1 year ago
Alejandro Mery 0989dec5e8 zones: add ResolvePublicAddresses() ScanOption to prevent early LookupIP calls 1 year ago
Alejandro Mery 216bf5aa29 zones: WithLookuper()/WithResolver() 1 year ago
Alejandro Mery 9af88f6593 zones: introduce ScanOption/ScanOptions for New()/NewFS() 1 year ago
Alejandro Mery af2d836000 zones: Env: drop unused ZONE{zoneID}_IP 1 year ago
Alejandro Mery f63ce6c4e7 zones: introduce Zone.GatewayIDs() 1 year ago
Alejandro Mery 1885c76198 zones: FilterMachines() creates a Machines subset 1 year ago
Alejandro Mery 2224e70638 zones: introduce Machines type. iterable and sortable 1 year ago
Alejandro Mery 6ee848e6ca jpictl: introduce `-e` for `jpictl env` to export variables 1 year ago
Alejandro Mery 864eb02f9d zones: turn Zones.WriteEnv() into Zones.Env().WriteTo() 1 year ago
Alejandro Mery 9da2f8711f zones: fix PruneWireguardConfig recursion 1 year ago
Alejandro Mery a5d9466fb8 zones: change WriteEnv() to not fake gateways 1 year ago
Alejandro Mery 3d638e9a85 zones: add Zone.SetGateway() to set one by ID 1 year ago
Alejandro Mery 60d3a2c290 zones: set first node of a Zone as ring0 gateway if it doesn't have one already 1 year ago
Alejandro Mery af90825f13 zones: Machine.SetGateway() 1 year ago
Alejandro Mery b4f1d2e4d9 wireguard: implement Machine.SyncWireguardConfig() 1 year ago
Alejandro Mery acf9e0e81d zones: extend WriteWireguardConfig to include a Name indicating the ring ID 1 year ago
Alejandro Mery 9762e78f5e jpictl: do SyncWireguardConfig() on `write` 1 year ago
Alejandro Mery 3534e7b755 zones: SyncWireguardConfig() as Prune+Write 1 year ago
Alejandro Mery b80dc84a26 zones: introduce WireguardConfigWriters 1 year ago
Alejandro Mery c0ef6ae9c4 zones: rearrange code around WireguardConfigPruner 1 year ago
Alejandro Mery 58867031ea zones: rearrange code around WireguardKeysWriter 1 year ago
Alejandro Mery b95d1f1878 zones: introduce Wireguard Ring Config factory 1 year ago
Alejandro Mery d38c909b0b zones: introduce ZoneIterator, implemented by Zones 1 year ago
Alejandro Mery 7dd3ea8f96 zones: Machine.Zone() 1 year ago
Alejandro Mery 07b4a22752 zones: introduce MachineIterator interface 1 year ago
Alejandro Mery d1f7d225ae zones: fix RingOneAddress()'s generated address 1 year ago
Alejandro Mery dfbb358187 jpictl: introduce `write` command rewriting all config files 1 year ago
Alejandro Mery 2043708949 zones: Zones.WriteWireguardKeys() and Zone.WriteWireguardKeys() 1 year ago
Alejandro Mery 311ae572da zones: Zones.PruneWireguardConfig() 1 year ago