Skip to content

Commit

Permalink
disable route servers for SCION examples (seed-labs#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
amdfxlucas authored Jan 29, 2025
1 parent 5dedd2b commit c60e7d5
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion examples/scion/S01_scion/scion.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
base.createIsolationDomain(1)

# Internet Exchange
base.createInternetExchange(100)
base.createInternetExchange(100, create_rs=False )

# AS-150
as150 = base.createAutonomousSystem(150)
Expand Down
10 changes: 5 additions & 5 deletions examples/scion/S02_scion_bgp_mixed/scion_bgp_mixed.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
base.createIsolationDomain(2)

# Internet Exchanges
base.createInternetExchange(100)
base.createInternetExchange(101)
base.createInternetExchange(102)
base.createInternetExchange(103)
base.createInternetExchange(104)
base.createInternetExchange(100, create_rs=False)
base.createInternetExchange(101, create_rs=False)
base.createInternetExchange(102, create_rs=False)
base.createInternetExchange(103, create_rs=False)
base.createInternetExchange(104, create_rs=False)

# Core AS 1-150
as150 = base.createAutonomousSystem(150)
Expand Down
2 changes: 1 addition & 1 deletion examples/scion/S03_bandwidth_test/bandwidth_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
base.createIsolationDomain(1)

# Internet Exchange
base.createInternetExchange(100)
base.createInternetExchange(100, create_rs=False )

# AS-150
as150 = base.createAutonomousSystem(150)
Expand Down
2 changes: 1 addition & 1 deletion examples/scion/S04_docker_api/docker_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
base.createIsolationDomain(1)

# Internet Exchange
base.createInternetExchange(100)
base.createInternetExchange(100, create_rs=False )

# AS-150
as150 = base.createAutonomousSystem(150)
Expand Down
16 changes: 8 additions & 8 deletions examples/scion/S05_scion_internet/scion_internet.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ def next_addr(self, net):
# Internet Exchanges
# We use "Internet Exchanges" as internal networks of the subdivided ASes in
# order to reduce the number of networks Docker has to create.
base.createInternetExchange(5) # Tier-1 ISP
base.createInternetExchange(7) # Tier-1 ISP
base.createInternetExchange(10) # Large IXP
base.createInternetExchange(11) # Large IXP
base.createInternetExchange(12) # Small IXP
base.createInternetExchange(17) # Small access network
base.createInternetExchange(18) # Large access network
base.createInternetExchange(20) # Large content provider
base.createInternetExchange(5, create_rs=False) # Tier-1 ISP
base.createInternetExchange(7, create_rs=False) # Tier-1 ISP
base.createInternetExchange(10, create_rs=False) # Large IXP
base.createInternetExchange(11, create_rs=False) # Large IXP
base.createInternetExchange(12, create_rs=False) # Small IXP
base.createInternetExchange(17, create_rs=False) # Small access network
base.createInternetExchange(18, create_rs=False) # Large access network
base.createInternetExchange(20, create_rs=False) # Large content provider

# Tier-1 ISP as50-53
br = create_as(1, 50, is_core=True)[1].joinNetwork('ix5')
Expand Down
2 changes: 1 addition & 1 deletion tests/scion/scion_bwtester/emulator-code/test-emulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
base.createIsolationDomain(1)

# Internet Exchange
base.createInternetExchange(100)
base.createInternetExchange(100, create_rs=False)

# AS-150
as150 = base.createAutonomousSystem(150)
Expand Down

0 comments on commit c60e7d5

Please sign in to comment.