Files
harmony/.sqlx/query-43cfa7b6dda8b9745ef74eb45f3f52a9193dcb09a4b917f0fde9f39058e0f276.json
Sylvain Tremblay bf4f300383 feat(discovery): capture bond, blacklist and bond-mode intent per host
Extend DiscoverHostForRoleScore with three new interactive prompts after
  the installation-disk selection:

  - "Configure a network bond?" (only when host has >= 2 NICs), followed by
    a multi-select of bond members (min 2) and a bond-mode picker
    (LACP / active-backup / balance-rr / balance-xor / broadcast /
    balance-tlb / balance-alb).
  - "Blacklist any remaining interface?", with candidates limited to NICs
    not already claimed by the bond.

  The answers are persisted as a JSON-encoded NetworkConfig on a new
  host_role_mapping.network_config column. HostConfig now exposes
  network_config alongside installation_device so downstream scores can
  honor the user's intent.

  Also adds a new harmony_host_discovery example that discovers a single
  host on 192.168.40.0/24:25000.
2026-04-21 10:13:58 -04:00

33 lines
657 B
JSON

{
"db_name": "SQLite",
"query": "SELECT host_id, installation_device, network_config FROM host_role_mapping WHERE role = ?",
"describe": {
"columns": [
{
"name": "host_id",
"ordinal": 0,
"type_info": "Text"
},
{
"name": "installation_device",
"ordinal": 1,
"type_info": "Text"
},
{
"name": "network_config",
"ordinal": 2,
"type_info": "Text"
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
true,
true
]
},
"hash": "43cfa7b6dda8b9745ef74eb45f3f52a9193dcb09a4b917f0fde9f39058e0f276"
}