noxrepo / pox

The POX network software platform
https://noxrepo.github.io/pox-doc/html/
Apache License 2.0
620 stars 470 forks source link

Module not found: DEBUG #233

Closed rashmitajolly closed 4 years ago

rashmitajolly commented 4 years ago

While running ./pox.py log.level DEBUG l2_learning command it says Module not found: DEBUG

MurphyMc commented 4 years ago

DEBUG is an argument to the log.level component, so it needs a -- in front. Also, l2_learning's full name is forwarding.l2_learning, so that probably needs adjustment.

./pox.py log.level --DEBUG forwarding.l2_learning

Better yet, if you're using recent version of POX, you can replace log.level with samples.pretty_log and get color logs.

You might want to skim through the POX Manual.

rashmitajolly commented 4 years ago

Thanks for the help.