Skip to content

How to build the utilities found in fboss/fboss/util/ #58

Closed

Description

@Lewis-Kang

Hi,

I follow the steps described in BUILD.md, the following three executable files can be generated in build/ folder:
wedge_agent,
qsfp_service,
agent_test

But there is no sim_agent as mentioned in BUILD.md.

There are utility codes in fboss/fboss/util/. Is there a document describing how to build those utilities?

Thanks in advance.

Lewis

Activity

  1. capveg commented on Oct 30, 2017

    @capveg

    Hi Lewis,

    I'll take a look at trying to get those utilities compiled - a bunch of them are only useful for debugging very niche things. Was there a specific utility you were interested in? Also, regarding sim_agent - did you want to use it or were you just (completely reasonably) confused that it was mentioned in the documentation but not built?

    Bottom line is that these utilities don't really get used so no time has been put into making them work in open source. If you have a specific priority or interest in one of the tools, I can prioritize making that work. Just let me know.

  2. Lewis-Kang commented on Oct 30, 2017

    @Lewis-Kang
    Author

    Hi Rob,

    Thanks for your quick response.
    The utility we need is cp2112_util.
    Yes. I am confused that the documentation says sim_agent will be generated after the build,, but I can't find it. Also, is there a guideline on running sim_agent? It would be great if we can try run FBOSS on a virtual switch.

    Thanks for your help again.

    Lewis

  3. capveg commented on Nov 3, 2017

    @capveg

    With ecdaa7f
    I've added the magic to the build system to build cp2112_util and wedge_qsfp_util. Neither are terribly user friendly - let me know if you need help getting them to work.

  4. Lewis-Kang commented on Nov 4, 2017

    @Lewis-Kang
    Author

    Thanks Rob.

  5. added a commit that references this issue on Sep 26, 2023
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