ndn_routing_helper: Show status of route calculation
Change-Id: Ib38cedfed57bc8fe1397526c3d05bac6c3d80c93
This commit is contained in:
1 parent
407c5f0ef3
commit
f53ab47678
2 files changed
+4
-2
No files matched your search
@@ -33,6 +33,7 @@ from math import sin, cos, sinh, cosh, acos, acosh
|
||||
import json
|
||||
import operator
|
||||
from collections import defaultdict
|
||||
from tqdm import tqdm
|
||||
|
||||
from mininet.log import info, debug, error, warn
|
||||
from minindn.helpers.nfdc import Nfdc as nfdc
|
||||
@@ -294,7 +295,7 @@ class NdnRoutingHelper(object):
|
||||
|
||||
def globalRoutingHelperHandler(self):
|
||||
info('Creating faces and adding routes to FIB\n')
|
||||
for host in self.net.hosts:
|
||||
for host in tqdm(self.net.hosts):
|
||||
neighborIPs = self.getNeighbor(host)
|
||||
self.createFaces(host, neighborIPs)
|
||||
self.routeAdd(host, neighborIPs)
|
||||
|
||||
+2
-1
@@ -1,2 +1,3 @@
|
||||
python-igraph
|
||||
setuptools
|
||||
setuptools
|
||||
tqdm
|
||||
Reference in new issue
Block a user