add default node map configuration, to avoid the need to set this up every time
This commit is contained in:
parent
afb6af5f87
commit
42bcb1c79d
14 changed files with 38 additions and 63 deletions
|
@ -13,8 +13,7 @@ import optparse
|
|||
import sys
|
||||
import time
|
||||
|
||||
from core.misc import ipaddress, nodeutils
|
||||
from core.misc import nodemaps
|
||||
from core.misc import ipaddress
|
||||
from core.mobility import BasicRangeModel
|
||||
from core.netns.nodes import WlanNode
|
||||
from core.netns.vnet import EbtablesQueue
|
||||
|
@ -108,8 +107,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
# configure nodes to use
|
||||
node_map = nodemaps.NODES
|
||||
nodeutils.set_node_map(node_map)
|
||||
|
||||
main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue