Maps: name a site after its hosts' shared name prefix #59

Closed
opened 2026-11-16 06:43:57 +00:00 by jcoffey-dev · 1 comment
Owner

Sites on the network map are named after their first subnet (10.100.0.0/24) until someone renames them. Many fleets name hosts by site (phx1-app05, iad1-db01), as the demo now does. When most of a site's hosts share a prefix before the first '-', and no other site has it, use it as the site's name. A name set by hand or in topology.yaml still wins.

Sites on the network map are named after their first subnet (10.100.0.0/24) until someone renames them. Many fleets name hosts by site (phx1-app05, iad1-db01), as the demo now does. When most of a site's hosts share a prefix before the first '-', and no other site has it, use it as the site's name. A name set by hand or in topology.yaml still wins.
jcoffey-dev added the enhancement
priority
p3
labels 2026-11-16 06:43:57 +00:00
jcoffey-dev self-assigned this 2026-11-16 06:43:57 +00:00
Author
Owner

Done in #66. A site whose hosts mostly share a name prefix before the first "-" (at least three hosts, four in five, and no other site with the same prefix) is named after it: phx1, iad1, lon1 in the demo. A name set by hand or in topology.yaml still wins.

Done in #66. A site whose hosts mostly share a name prefix before the first "-" (at least three hosts, four in five, and no other site with the same prefix) is named after it: phx1, iad1, lon1 in the demo. A name set by hand or in topology.yaml still wins.
Sign in to join this conversation.