Routing Algebras What are routing algebras? Created to study - - PowerPoint PPT Presentation

routing algebras what are routing algebras
SMART_READER_LITE
LIVE PREVIEW

Routing Algebras What are routing algebras? Created to study - - PowerPoint PPT Presentation

Routing Algebras What are routing algebras? Created to study properties of routing protocols Does the routing protocol converge? Does the routing protocol compute optimal paths? Separates the routing data & algorithm Data


slide-1
SLIDE 1

Routing Algebras

slide-2
SLIDE 2

What are routing algebras?

  • Created to study properties of routing protocols
  • Does the routing protocol converge?
  • Does the routing protocol compute optimal paths?
  • Separates the routing data & algorithm
  • Data à what routes are exchanged, how they are updated
  • Logic à how to compute paths (Dijkstra’s, Bellman Ford, …)
slide-3
SLIDE 3

What are routing algebras?

A = (R, F,⊕, 0, ∞)

set of routes route edge transformers route merging initial route no route

slide-4
SLIDE 4

Computing shortest paths

d

1 2 3 4

2 4 1 7 3

𝐞𝐟𝐠 ROUTING G, d : 𝐠𝐩𝐬 each node v ∈ V 𝐞𝐩 dist v ← INT. MAX 𝐟𝐨𝐞 dist d ← INT. MIN Q ← {d} 𝐱𝐢𝐣𝐦𝐟 Q ≠ ∅ 𝐞𝐩 u ← EXTRACT(Q) 𝐠𝐩𝐬 each node v ∈ N u 𝐞𝐩 dist v = min(dist v , dist u + weight u, v ) 𝐣𝐠 dist v changed 𝐞𝐩 Q ← Q ∪ v 𝐟𝐨𝐞 𝐟𝐨𝐞 𝐟𝐨𝐞 𝐟𝐨𝐞

slide-5
SLIDE 5

Computing shortest paths

d

1 2 3 4

2 4 1 7 3

𝐞𝐟𝐠 ROUTING G, d : 𝐠𝐩𝐬 each node v ∈ V 𝐞𝐩 dist v ← ∞ 𝐟𝐨𝐞 dist d ← 0 Q ← {d} 𝐱𝐢𝐣𝐦𝐟 Q ≠ ∅ 𝐞𝐩 u ← EXTRACT(Q) 𝐠𝐩𝐬 each node v ∈ N u 𝐞𝐩 dist v = dist v ⊕ f [,\ dist u 𝐣𝐠 dist v changed 𝐞𝐩 Q ← Q ∪ v 𝐟𝐨𝐞 𝐟𝐨𝐞 𝐟𝐨𝐞 𝐟𝐨𝐞

slide-6
SLIDE 6

Shortest path algebra

d

1 2 3 4

2 4 1 7 3

SP = (Nat, F_, min, 0, ∞) R = natural numbers fc x = x + weight(e) x ⊕ y = min(x, y) 0 = 0 ∞ = ∞

slide-7
SLIDE 7

Other examples of algebras

𝑆

“Asynchronous Convergence of Policy Rich Distributed Bellman-Ford Routing Protocols”

slide-8
SLIDE 8

“Algebra and Algorithms for QoS Path Computation and Hop-by-Hop Routing in the Internet”

Example: widest shortest paths

R = (int, int) length width

slide-9
SLIDE 9

Properties of routing algebras

𝐧𝐩𝐨𝐩𝐮𝐩𝐨𝐣𝐝𝐣𝐮𝐳: a ≤ f a or 𝐭𝐮𝐬𝐣𝐝𝐮 𝐧𝐩𝐨𝐩𝐮𝐩𝐨𝐣𝐝𝐣𝐮𝐳 a < f a 𝐭𝐟𝐦𝐟𝐝𝐮𝐣𝐰𝐣𝐮𝐳: a ⊕ b ∈ {a, b} we say a ≤ b ⇔ a ⊕ b = a 𝐣𝐭𝐩𝐮𝐩𝐨𝐣𝐝𝐣𝐮𝐳: a ≤ b ⇒ f a ≤ f(b) the cost of paths does not decrease or increases relative cost of two paths will not rlip when extended

slide-10
SLIDE 10

Results from routing algebras

  • 1. always converge ⇔ the algebra is strictly monotone
  • 2. always optimal ⇔ the algebra is strictly monotone & isotone

for path vector protocols:

slide-11
SLIDE 11

Convergence of protocols

Protocol type SM I ⊕ assoc path vector link state with Dijkstrays link state with LPVS

“Metarouting, Timothy Griffin 2005”