From c5ebfa8eecd71b87e1dbcfe2429cc38f50fc875e Mon Sep 17 00:00:00 2001 From: Andy Bavier Date: Thu, 19 Feb 2009 18:51:18 +0000 Subject: [PATCH] Add rate to topo_rspec attribute --- create-topo-attributes.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/create-topo-attributes.py b/create-topo-attributes.py index 380a147..816c819 100755 --- a/create-topo-attributes.py +++ b/create-topo-attributes.py @@ -114,11 +114,10 @@ for slice in GetSlices(): """ for node in slicenodes: topo = [] - site = get_site(node) - for adj in adjacencies[site]: + for adj in adjacencies[get_site(node)]: for adj_node in get_sitenodes(adj): if node != adj_node and adj_node in slicenodes: - link = adj_node, get_ipaddr(adj_node) + link = adj_node, get_ipaddr(adj_node), "1Mbit" topo.append(link) topo_str = "%s" % topo print node, topo_str -- 2.43.0