Guest User

Untitled

a guest
Feb 19th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. Compatibility_test.py
  2.  
  3. C:\Users\Henry Jiang\Desktop\ee122\002>python simulator.py
  4. EE-122 Network Simulator
  5. You can get help on a lot of things.
  6. For example, to see your current scenario, try help(scenario).
  7. If you have a host named h1a, try help(h1a).
  8. If you want to inspect a method of that host, try help(h1a.ping).
  9. For help about the simulator and its API, try help(sim) and help(api).
  10. Type start() to start the simulator.
  11. Good luck!
  12.  
  13. >>> start()
  14. >>> Exception in thread Thread-4:
  15. Traceback (most recent call last):
  16. File "C:\Program Files\Python27\lib\threading.py", line 552, in __bootstrap_in
  17. ner
  18. self.run()
  19. File "C:\Program Files\Python27\lib\threading.py", line 505, in run
  20. self.__target(*self.__args, **self.__kwargs)
  21. File "C:\Users\Henry Jiang\Desktop\ee122\002\sim\core.py", line 218, in run
  22. o[2](*o[3],**o[4])
  23. File "C:\Users\Henry Jiang\Desktop\ee122\002\sim\cable.py", line 49, in rx
  24. self.dstEnt.handle_rx(packet, self.dstPort)
  25. File "C:\Users\Henry Jiang\Desktop\ee122\002\rip_router.py", line 323, in hand
  26. le_rx
  27. self.log("<%s> not for %s" % (packet.dst, me), level ='error')
  28. NameError: global name 'me' is not defined
Add Comment
Please, Sign In to add comment