DarkNode/config/node.yml

118 lines
2.2 KiB
YAML
Raw Normal View History

# NodeZero - Archival Node Configuration
# Funchal, Madeira
# Node identification
node:
name: "nodezero-funchal"
id: "${NODE_ID}"
zone: "A" # Zone A-F
type: "core" # core, edge, gateway, micro
firmware_version: "1.0.0"
# Hardware
hardware:
cpu: "ARM64 8-core"
ram_gb: 32
storage_type: "RAID1/Btrfs"
storage_total_tb: 16
battery_capacity_ah: 100
solar_watts: 200
operating_voltage: "24V DC"
# Network
network:
mesh:
protocol: "mesh-overlay"
port: 9001
bootstrap_port: 9002
ssid: "NodeZero"
ipv6_prefix: "fd00:funchal::/48"
beacon_interval_ms: 500
ttl: 64
mtu: 1492
wifi:
standard: "WiFi 6"
channels: [36, 40, 44, 48]
max_stations: 256
lora:
frequency_mhz: 868
spreading_factors: [7, 8, 9, 10, 11, 12]
duty_cycle: 0.01
gateways:
- type: "fiber"
provider: "PT"
bandwidth_gbps: 1.0
latency_ms: 2
- type: "cellular"
provider: "MEO"
bandwidth_gbps: 0.5
latency_ms: 20
- type: "cellular"
provider: "NOS"
bandwidth_gbps: 0.5
latency_ms: 25
- type: "satellite"
provider: "Starlink"
bandwidth_gbps: 0.3
latency_ms: 50
# Storage
storage:
partition_scheme: "btrfs"
backup_policy: "mirror"
retention_days: 90
compression: true
encryption: true
mount_points:
- "/data/mesh"
- "/data/db"
- "/data/logs"
- "/data/cache"
# Service mesh
service_mesh:
enabled: true
discovery_protocol: "gossip"
load_balancing: "round-robin"
circuit_breaker:
enabled: true
threshold: 5
timeout_ms: 3000
# Power management
power:
mode: "solar-primary"
sleep_threshold: "500ms load"
wake_threshold: "100ms load"
auto_sleep: true
auto_wake: true
# Monitoring
monitoring:
enabled: true
heartbeat_interval_s: 30
metrics_collected:
- cpu_usage
- memory_usage
- disk_usage
- network_latency
- packet_loss
- power_level
- node_temperature
alert_thresholds:
cpu_warning: 80
cpu_critical: 95
temp_warning: 65
temp_critical: 80
power_warning: 30
power_critical: 10
# Security
security:
tls: true
tls_version: "1.3"
certificate_authority: "mesh-ca-nodezero"
key_rotation_days: 90
bitcoin_did: true
role_based_access: true