Skip to content

Exception in add route through fboss_route.py  #1

Closed

Description

@andrianyablonskyy

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)

Activity

  1. oridb commented on Apr 7, 2015

    @oridb
    Contributor

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

    • First, we're not generating the Python bindings for the Thrift interface.
    • Second, the import path for the thrift interface is wrong.

    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.

  2. added a commit that references this issue on Jan 13, 2016
  3. added a commit that references this issue on Nov 17, 2021
  4. 3 remaining items

  5. added a commit that references this issue on May 21, 2025
  6. added a commit that references this issue on Jul 1, 2025
  7. added 2 commits that reference this issue on Nov 26, 2025
    355c78e
    b04eeab
  8. added a commit that references this issue on Jan 15, 2026
    85bc8d8
  9. ghost added a commit that references this issue on Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions