Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix FBOSS Python Tools building procedure #71

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ggiamarchi
Copy link

  • Install python-pip in order to install missing pip packages
  • Use Facebook thrift binary instead of the standard version
  • Add missing thrift generation for qsfp_service
  • Error "can't find generator 'cpp2' error" is no longer present
  • Fix import in send_pkt

Copy link

@capveg capveg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update to this documentation! I wrote this before I even joined facebook so it's at least 3 years old and definitely out of date.

FYI: the fboss_route.py command is effectively deprecated in favor of the fboss cli which is in fboss/py - but I think most of the work you've documented here still applies because it applies to the thrift dependencies.

If you can fix up the spelling mistake, I'd be happy to accept!

Thanks again


apt-get install python-ipaddr python-thrift thrift-compiler
export FBOSS=/path/to/base/of/code
FBOSS ans its extarnal dependencies are supposed to be compiled in order to build FBOSS Python Tools. See [facebook/fboss/build.md](https://github.com/facebook/fboss/blob/master/BUILD.md)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/extarnal/external/ please

* Install python-pip in order to install missing pip packages
* Use Facebook thrift binary instead of the standard version
* Add missing thrift generation for qsfp_service
* Error "can't find generator 'cpp2' error" is no longer present
* Fix import in send_pkt
@ggiamarchi
Copy link
Author

@capveg Spelling mistake fixed

arajeev-ARISTA pushed a commit to arajeev-ARISTA/fboss that referenced this pull request Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants