Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Terminators and Fixed Link Cost, Incorrect Path Selection #121

Closed
@michaelquigley

Description

Darius reported an issue where he has two links with two terminators:

Id     | Src                      -> Dst                      | State        | Cost | Latency
ARBA   | 09TjLwHMR                -> OoJQ-wHGR                | Connected    | 100  | 0.0433 0.0433 ->down<-
AOq7   | CZejYQNMg                -> 09TjLwHMR                | Connected    | 1    | 0.0632 0.0630 ->down<-
7Ww7   | CZejYQNMg                -> M7ZjLwNGR                | Connected    | 1    | 0.0740 0.0740 ->down<-
7DzA   | CZejYQNMg                -> OoJQ-wHGR                | Connected    | 1    | 0.0642 0.0642 ->down<-
nPQ7   | M7ZjLwNGR                -> 09TjLwHMR                | Connected    | 1000000 | 0.0430 0.0430
A0J7   | M7ZjLwNGR                -> CZejYQNMg                | Connected    | 1    | 0.0742 0.0742
nLxn   | M7ZjLwNGR                -> OoJQ-wHGR                | Connected    | 1    | 0.0230 0.0229 ->down<-
nQmn   | OoJQ-wHGR                -> 09TjLwHMR                | Connected    | 1    | 0.0433 0.0433 ->down<-
ldQA   | OoJQ-wHGR                -> CZejYQNMg                | Connected    | 1    | 0.0642 0.0641 ->down<-
nMQn   | OoJQ-wHGR                -> M7ZjLwNGR                | Connected    | 1    | 0.0239 0.0238 ->down<- (edited) 

Terminators: (2)
Id           | Service      | Binding      | Destination
KkV9         | S9XlUwNMg    | edge_transport | 09TjLwHMR    -> tcp:10.10.255.4:22
pw7p         | S9XlUwNMg    | edge_transport | CZejYQNMg    -> tcp:10.10.255.3:22

Services: (1)
Id           | Name         | Terminator Strategy | Destination(s)
S9XlUwNMg    | MicroEdgeSSH | smartrouting | 09TjLwHMR    -> tcp:10.10.255.4:22
             |              | CZejYQNMg    -> tcp:10.10.255.3:22

Despite setting the cost to 1000000 on the link nPQ7 and having the smartrouting terminator selection strategy, he is still being directed to the higher cost terminator:

Sessions: (1)
Id           | Client       | Service      | Path
XDGA         | 301a5a9b-71d3-4a8b-9ac9-68d30e4b6350 | S9XlUwNMg    | [r/M7ZjLwNGR]->{l/nPQ7}->[r/09TjLwHMR]

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions