Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
c1e393b
[Nexthop] Update FBOSS-OSS Kernel to remove Nexthop-specific references
raghav-nexthop Jan 29, 2026
229dc06
[Nexthop] Add CMake test infrastructure for FBOSS Image Builder
raghav-nexthop Jan 9, 2026
8fe63f4
[Nexthop] Add basic utilities for FBOSS Image Builder
raghav-nexthop Jan 9, 2026
df25910
[Nexthop] Add Docker support for FBOSS Image Builder
raghav-nexthop Jan 9, 2026
3fc0743
[Nexthop] Add artifact handling for FBOSS Image Builder
raghav-nexthop Jan 9, 2026
a6648ab
[Nexthop] Add download support for FBOSS Image Builder
raghav-nexthop Jan 9, 2026
d73c166
[Nexthop] Add command execution support for FBOSS Image Builder
raghav-nexthop Jan 9, 2026
5197a2f
[Nexthop] Add component system for FBOSS Image Builder
raghav-nexthop Jan 9, 2026
853ec88
[Nexthop] Add build entrypoint for FBOSS Image Builder
raghav-nexthop Jan 9, 2026
5210f7b
[Nexthop] Add ImageBuilder orchestration for FBOSS Image Builder
raghav-nexthop Jan 26, 2026
94e29db
[Nexthop] Add build forwarding and platform stack support
raghav-nexthop Jan 26, 2026
0fe575d
Add fboss2-dev CLI to Distro Image
travisb-nexthop Feb 5, 2026
493b963
Create FBOSS command wrappers in PATH
travisb-nexthop Feb 18, 2026
61faa73
Merge remote-tracking branch 'origin/main' into raghav.build-stack-pa…
travisb-nexthop Mar 3, 2026
b8fa098
Merge remote-tracking branch 'origin/raghav.build-stack-part10b' into…
travisb-nexthop Mar 3, 2026
1e90621
Merge remote-tracking branch 'origin/main' into distro_cmds_in_path
travisb-nexthop Mar 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
exec /usr/local/lib/fboss_cmd_find.sh diag_shell_client "$@"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
exec /usr/local/lib/fboss_cmd_find.sh fboss2 "$@"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
exec /usr/local/lib/fboss_cmd_find.sh fboss2-dev "$@"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
exec /usr/local/lib/fboss_cmd_find.sh fw_util "$@"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
exec /usr/local/lib/fboss_cmd_find.sh sensor_service_client "$@"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
exec /usr/local/lib/fboss_cmd_find.sh showtech "$@"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
exec /usr/local/lib/fboss_cmd_find.sh weutil "$@"
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/bin/bash
# Find and run the given FBOSS command.
# Usage: fboss_cmd_find.sh <binary_name> [args...]
set -e

# Install locations during image build
default_forwarding_stack_path="/opt/fboss/bin"
default_platform_stack_path="/opt/fboss/bin"

if [ -z "$1" ]; then
echo "No command specified" >&2
exit 1
fi

cmd="$1"
shift

case "$cmd" in
fboss2 | fboss2-dev | diag_shell_client)
# Forwarding stack commands
stack_path=${default_forwarding_stack_path}
;;

fw_util | sensor_service_client | showtech | weutil)
# Platform stack commands
stack_path=${default_platform_stack_path}
;;

*)
echo "Unknown FBOSS command: $cmd" >&2
exit 1
;;
esac

exec "${stack_path}/${cmd}" "$@"
Loading