Alejandro Mery
892d849740
cluster: introduce Machine.Inactive flag
...
if a Machine is Inactive, it won't be included on the DNS
aliases for the zone or it's regions.
v2:
- Machine.Active() renamed to Machine.IsActive()
Signed-off-by: Alejandro Mery <amery@jpi.io>
10 months ago
Alejandro Mery
d0b0698c10
cluster: make domain, basedir and cluster name public fields
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
11 months ago
Alejandro Mery
5abb4c2f92
cluster: rename pkg/zones to pkg/cluster
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
11 months ago
Alejandro Mery
204f3a49a1
drop toml support
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
12 months ago
Alejandro Mery
32046fc1ec
zones: fix `jpictl dump` by explicitly omitting Machine.logger and Zone.logger
...
if they were fields, as in Zones, they would be ignored automatically.
but they aren't
Signed-off-by: Alejandro Mery <amery@jpi.io>
12 months ago
Alejandro Mery
1bca1f7da1
zones: add logger to Zone and Machine
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
12 months ago
Alejandro Mery
025b9072b4
zones: introduce Machine.CephMonitor field
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
12 months ago
Alejandro Mery
af90825f13
zones: Machine.SetGateway()
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
7dd3ea8f96
zones: Machine.Zone()
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
20484a5061
zones: change toml tags to match yaml and json output
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
c0e2ae9bf1
zones: annotate Machine for JSON encoding
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
080021b427
zones: annotate Machine for YAML encoding
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
86075eb47f
zones: move Machine.ReadFile to a dedicated machine_file.go
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
c81b782b26
zones: Machine.IsGateway()
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
0f62ee2e53
zones: rename Machine.RingAddresses to Machine.Rings
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
aca0a5e834
zones: calculate Machine.ID on init
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
e5baf53758
zones: import wireguard keys from wgN.conf files
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
c92873f07d
zones: introduce RingInfo and Machine.Rings
...
RingInfo includes Wireguard ring related details
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
3599812072
zones: introduce Machine.ReadFile()
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
7e6c53c5f5
zones: introduce Machine.PublicAddresses()
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
5f924dcb00
zones: introduce Machine.FullName()
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago
Alejandro Mery
1ea1ab4ac4
zones: add initial m/ scanner
...
Signed-off-by: Alejandro Mery <amery@jpi.io>
1 year ago