set best-route strategy correctly
refs: #3696 Change-Id: Ia9285e7261167f511c7193b09f37023b68a39eeb
This commit is contained in:
1 parent
5d5a566f8b
commit
b07ada8b5e
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -359,7 +359,7 @@ def execute(options):
|
||||
"nodes": nodes,
|
||||
"ctime": options.ctime,
|
||||
"nPings": options.nPings,
|
||||
"strategy": Nfd.STRATEGY_BEST_ROUTE_V3,
|
||||
"strategy": Nfd.STRATEGY_BEST_ROUTE,
|
||||
"pctTraffic": options.pctTraffic
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
# -*- Mode:python; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
|
||||
#
|
||||
# Copyright (C) 2015 The University of Memphis,
|
||||
# Copyright (C) 2016 The University of Memphis,
|
||||
# Arizona Board of Regents,
|
||||
# Regents of the University of California.
|
||||
#
|
||||
@@ -25,7 +25,7 @@ import time
|
||||
from ndn.ndn_application import NdnApplication
|
||||
|
||||
class Nfd(NdnApplication):
|
||||
STRATEGY_BEST_ROUTE_V3 = "best-route/%FD%03"
|
||||
STRATEGY_BEST_ROUTE = "best-route"
|
||||
STRATEGY_NCC = "ncc"
|
||||
|
||||
def __init__(self, node):
|
||||
|
||||
Reference in new issue
Block a user