Put a link on standby; the routing metric stays per city pair (#122)

A backup-only link next to a normal one still carried traffic, because
parallel links merge into one edge. The metric stays on the city pair
(S.pairMet), and any link can go on standby: it adds capacity that
fills only after the active links, so it idles as a backup, takes the
overflow when they are full and carries the traffic when they are down.
Build order no longer matters, and adding a link never idles the
others. Old saves keep each pair's lowest metric with every link
active, which is how they routed before. The panel says what a standby
link is doing, the redundancy list tags it, the map draws it dashed
while idle, and traceroute shows the active link.
This commit is contained in:
Frederic Jung 2026-10-28 06:54:11 +01:00
parent da69c5d843
commit b4f8d9c7f5
18 changed files with 217 additions and 18 deletions

View file

@ -1249,6 +1249,7 @@
"common.spreadsheet_ipam":"IPAM em planilha",
"common.stage_six":"Estágio seis",
"common.standard":"Padrão",
"common.standby":"Reserva",
"common.start_a_new_network":"Começar uma nova rede",
"common.start_building":"Começar a construir",
"common.start_construction":"Iniciar obra",
@ -2092,6 +2093,7 @@
"link_modal.waves_on_the_same_route_share":"Waves na mesma rota compartilham o destino: uma retroescavadeira corta todas.",
"link_modal.you_already_have_n_link_here":{"one":"Você já tem {n} link aqui ({list}). Links paralelos somam capacidade. Como este deve ser roteado?","other":"Você já tem {n} links aqui ({list}). Links paralelos somam capacidade. Como este deve ser roteado?"},
"link_panels.a_bigger_fabric_carries_more_traffic":"Um fabric maior carrega mais tráfego e tem espaço para mais membros. Seu router aqui ainda precisa dar conta.",
"link_panels.a_link_on_standby_carries_traffic":"Um link de reserva só leva tráfego quando os outros links entre estas cidades estão cheios ou fora do ar.",
"link_panels.a_regen_site_turns_the_light":"Um site de regeneração transforma a luz de volta em bits no meio do caminho e a reenvia novinha, então as ópticas só precisam alcançar o próximo site. Cada um precisa de uma placa de regeneração para cada canal aceso. {price}/mês por site pelo abrigo.",
"link_panels.abandon_the_fiber":"Abandonar a fibra",
"link_panels.add_parallel_link":"Adicionar link paralelo",
@ -2151,6 +2153,9 @@
"link_panels.not_present_in_any_of_your":"Ainda não está em nenhuma das suas cidades",
"link_panels.nothing_spare_to_sell_on_this":"Nada sobrando para vender nesta fibra por enquanto.",
"link_panels.off_while_your_peering_policy_is":"Desligado enquanto sua política de peering for {pol}",
"link_panels.on_standby_but_carrying_the_traffic":"De reserva, mas levando o tráfego: nenhum link ativo entre estas cidades está no ar.",
"link_panels.on_standby_idle_while_the_other":"De reserva: ocioso enquanto os outros links entre estas cidades tiverem espaço.",
"link_panels.on_standby_taking_the_overflow":"De reserva: levando o excedente, porque os outros links entre estas cidades estão cheios.",
"link_panels.open_peer_but_not_on_any":"Peer aberto, mas em nenhum IX onde você tem POP. O mais próximo: {city}",
"link_panels.open_peer_but_not_on_any_bfbb":"Peer aberto, mas em nenhum IX onde você tem POP",
"link_panels.open_peer_join_the_route_server":"Peer aberto: entre no route server do {ix}",
@ -2168,6 +2173,7 @@
"link_panels.ports_at_p_of_the_usual":"Portas a {p}% do preço normal.",
"link_panels.ports_up_to_port_are_free":"Portas até {port} são grátis.",
"link_panels.price_n_days":"{price} · {n} dias",
"link_panels.put_this_link_on_standby":"Deixar este link de reserva",
"link_panels.ready_for_a_pni_in_city":"Pronto para um PNI em {city}",
"link_panels.ready_in_n_days":"Pronto em {n} dias",
"link_panels.really_give_it_up":"Desistir mesmo?",
@ -2190,6 +2196,7 @@
"link_panels.spares_kit_on":"Kit de reserva ativo ✓",
"link_panels.stock_a_spare_optic_price":"Guardar um {optic} sobressalente <small>{price}</small>",
"link_panels.sys_level_n":"{sys} <small>nível {n}</small>",
"link_panels.take_it_off_standby":"Tirar da reserva",
"link_panels.there_s_no_ix_in_city":"Ainda não há IX em {city}. Funde um: as redes entram com o tempo, pagam pelas portas e fazem peering com você de graça.",
"link_panels.they_need_the_full_internet_your":"Eles querem a internet inteira. Seu alcance é de {pct}.",
"link_panels.this_fiber_is_dark_add_optics":"Esta fibra está apagada. Adicione ópticas abaixo para levar tráfego.",