facebook / fboss

Facebook Open Switching System Software for controlling network switches.
Other
860 stars 295 forks source link

Exception in add route through fboss_route.py #1

Closed andrianyablonskyy closed 8 years ago

andrianyablonskyy commented 9 years ago

There is an error during add route through the fboss script.

=================================================

Traceback (most recent call last): File "fboss_route.py", line 18, in from neteng.fboss.ctrl import FbossCtrl ImportError: No module named neteng.fboss.ctrl

=================================================

Steps to reproduce:

  1. Start wedge_agent from sudo (# ./wedge_agent --config sample1.json)
  2. Change directory to './fboss/agent/tools'
  3. Start fboss_route.py (# python fboss_route.py add prefix=1.1.1.0/24 nexthop=10.1.1.1)
oridb commented 9 years ago

It looks like there are three problems, and two of them are our bugs:

Finally, running the Python scripts will need to modify the PYTHONPATH to include the generated thrift bindings.

I'll look at getting that fixed soon.

ghost commented 9 years ago

Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.