mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-03 18:43:38 +01:00
The list and search actions read agent flags from a hostname map by node name. With two connections that each have a node called pmx1 and one agent, both nodes and all their guests reported a connected agent, while topology and command routing said only one did. Node rows, system rows that are nodes, and a guest's node_command_agent_connected now use the lookup routing uses, so the flag matches where a command would go. A guest's own command_agent_connected still reads only the guest's identity. Two nodes with the same name now differ only in their flags, so those rows gain id and instance. Assistant refuses a repeated name and asks for the ID. Output for one installation stays byte-identical on the 50-node mock inventory when shown names match node names. A flag changes only where it disagreed with routing: a node with a display name now reports the agent commands use, and a VMware guest no longer reports an agent that shares its host's name, because commands never go through it. Refs #2681