Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Compatibility_test.py
- C:\Users\Henry Jiang\Desktop\ee122\002>python simulator.py
- EE-122 Network Simulator
- You can get help on a lot of things.
- For example, to see your current scenario, try help(scenario).
- If you have a host named h1a, try help(h1a).
- If you want to inspect a method of that host, try help(h1a.ping).
- For help about the simulator and its API, try help(sim) and help(api).
- Type start() to start the simulator.
- Good luck!
- >>> start()
- >>> Exception in thread Thread-4:
- Traceback (most recent call last):
- File "C:\Program Files\Python27\lib\threading.py", line 552, in __bootstrap_in
- ner
- self.run()
- File "C:\Program Files\Python27\lib\threading.py", line 505, in run
- self.__target(*self.__args, **self.__kwargs)
- File "C:\Users\Henry Jiang\Desktop\ee122\002\sim\core.py", line 218, in run
- o[2](*o[3],**o[4])
- File "C:\Users\Henry Jiang\Desktop\ee122\002\sim\cable.py", line 49, in rx
- self.dstEnt.handle_rx(packet, self.dstPort)
- File "C:\Users\Henry Jiang\Desktop\ee122\002\rip_router.py", line 323, in hand
- le_rx
- self.log("<%s> not for %s" % (packet.dst, me), level ='error')
- NameError: global name 'me' is not defined
Add Comment
Please, Sign In to add comment