Remove assumption that 'nodeid' value in rspec is an integer
authorAndy Bavier <acb@cs.princeton.edu>
Thu, 25 Jun 2009 21:00:01 +0000 (21:00 +0000)
committerAndy Bavier <acb@cs.princeton.edu>
Thu, 25 Jun 2009 21:00:01 +0000 (21:00 +0000)
topo.py

diff --git a/topo.py b/topo.py
index a86ea81..3bda6bb 100755 (executable)
--- a/topo.py
+++ b/topo.py
@@ -53,7 +53,7 @@ Create a "virtual link" for slice between here and nodeid.
 The key is used to create the EGRE tunnel.
 """
 def setup_virtual_link(slice, key, rate, myid, nodeid, ipaddr, virtip, vnet):
-    logger.log("%s: Set up virtual link to node %d" % (slice, nodeid))
+    logger.log("%s: Set up virtual link to node %s" % (slice, nodeid))
     run(setup_link_cmd + " %s %s %s %s %s %s %s" % (slice, nodeid, ipaddr, 
                                                  key, rate, virtip, vnet))
     return