NodeZero/config/mesh.yml

129 lines
2.6 KiB
YAML
Raw Permalink Normal View History

# NodeZero - Mesh Network Configuration
# Funchal, Madeira
mesh:
# Network-wide settings
name: "funchal-mesh"
version: "1.0.0"
network_id: "mesh.funchal.madeira"
# Geographic parameters
geography:
primary_coverage_km2: 15
target_coverage_km2: 75
urban_center_km2: 12
elevation_min_m: 0
elevation_max_m: 400
max_node_spacing_m: 50
# Coverage zones
zones:
A:
name: "Centro/Funchal"
area_km2: 2
node_count: 60
elevation_m: 50
fiber_connected: true
B:
name: "Zona Industrial"
area_km2: 3
node_count: 50
elevation_m: 100
fiber_connected: true
C:
name: "Zona Comercial"
area_km2: 3
node_count: 50
elevation_m: 75
fiber_connected: true
D:
name: "Porto"
area_km2: 2
node_count: 40
elevation_m: 10
fiber_connected: true
E:
name: "Zona Residencial Norte"
area_km2: 2
node_count: 40
elevation_m: 150
fiber_connected: false
F:
name: "Áreas Periféricas"
area_km2: 3
node_count: 60
elevation_m: 200
fiber_connected: false
# Protocol settings
protocols:
routing: "bgp-mpls"
consensus: "raft"
discovery: "gossip"
name_resolution: "mesh.local"
data_format: "protobuf"
service_bus: "event-sourced"
# Performance targets
performance:
latency_internal_ms: 20
latency_external_ms: 50
bandwidth_gbps: 1.0
redundancy_paths: 3
failover_ms: 500
max_node_count: 700
# Redundancy
redundancy:
paths_per_node: 3
failover_priority:
- "fiber"
- "cellular-a"
- "cellular-b"
- "satellite"
auto_heal: true
self_optimize: true
# Mesh services
services:
- name: "ride-sharing"
protocol: "mqtt"
port: 1883
mesh_routed: true
- name: "housing"
protocol: "grpc"
port: 50051
mesh_routed: true
- name: "delivery"
protocol: "coap"
port: 5683
mesh_routed: true
- name: "commerce"
protocol: "http"
port: 8080
mesh_routed: true
- name: "workforce"
protocol: "grpc"
port: 50052
mesh_routed: true
- name: "governance"
protocol: "grpc"
port: 50053
mesh_routed: true
- name: "health"
protocol: "mqtt"
port: 1884
mesh_routed: true
- name: "education"
protocol: "ws"
port: 8081
mesh_routed: true
# Security
security:
tls: true
mfa_required: true
certificate_policy: "mesh-ca"
key_rotation_days: 90
encryption: "AES-256-GCM"