X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=create-topo-attributes.py;h=05b5aba8c6aadba0fabbf0589b23cdd7a1ef698f;hb=7fe0b7fe3450fe8c693f6815fd362caa64ae8052;hp=324d09fa0ff5bda7c187ec04163ff4548a59a852;hpb=dfd9c23cca4dff811276cf01f2eedcd633f843b6;p=nodemanager-topo.git diff --git a/create-topo-attributes.py b/create-topo-attributes.py index 324d09f..05b5aba 100755 --- a/create-topo-attributes.py +++ b/create-topo-attributes.py @@ -8,36 +8,7 @@ slices that have an EGRE key. This script to be run from a cron job. import string import socket - -""" -Links in the physical topology, gleaned from looking at the Internet2 -and NLR topology maps. Link (a, b) connects sites with IDs a and b. -""" -links = [(2, 12), # I2 Princeton - New York - (4, 5), # NLR Chicago - Houston - (4, 6), # NLR Chicago - Atlanta - (4, 7), # NLR Chicago - Seattle - (4, 9), # NLR Chicago - New York - (4, 10), # NLR Chicago - Wash DC - (5, 6), # NLR Houston - Atlanta - (5, 8), # NLR Houston - Los Angeles - (6, 10), # NLR Atlanta - Wash DC - (7, 8), # NLR Seattle - Los Angeles - (9, 10), # NLR New York - Wash DC - (11, 13), # I2 Chicago - Wash DC - (11, 15), # I2 Chicago - Atlanta - (11, 16), # I2 Chicago - CESNET - (11, 17), # I2 Chicago - Kansas City - (12, 13), # I2 New York - Wash DC - (13, 15), # I2 Wash DC - Atlanta - (15, 19), # I2 Atlanta - Houston - (17, 19), # I2 Kansas City - Houston - (17, 22), # I2 Kansas City - Salt Lake City - (19, 20), # I2 Houston - Los Angeles - (20, 21), # I2 Los Angeles - Seattle - (20, 22), # I2 Los Angeles - Salt Lake City - (21, 22)] # I2 Seattle - Salt Lake City - +from topology import links """ Generate site adjacency map from list of links