Add sonic platform scripts for bfn montara/maverick
This commit is contained in:
parent
1755035ba1
commit
5915de1b9b
10
platform/barefoot/sonic-platform-modules-bfn-montara/scripts/eeprom
Executable file
10
platform/barefoot/sonic-platform-modules-bfn-montara/scripts/eeprom
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
DOCKER_EXEC_FLAGS="i"
|
||||
|
||||
# Determine whether stdout is on a terminal
|
||||
if [ -t 1 ] ; then
|
||||
DOCKER_EXEC_FLAGS+="t"
|
||||
fi
|
||||
|
||||
docker exec -$DOCKER_EXEC_FLAGS syncd eeprom.py "$@"
|
9
platform/barefoot/sonic-platform-modules-bfn-montara/scripts/fancontrol
Executable file
9
platform/barefoot/sonic-platform-modules-bfn-montara/scripts/fancontrol
Executable file
@ -0,0 +1,9 @@
|
||||
CKER_EXEC_FLAGS="i"
|
||||
|
||||
# Determine whether stdout is on a terminal
|
||||
if [ -t 1 ] ; then
|
||||
DOCKER_EXEC_FLAGS+="t"
|
||||
fi
|
||||
|
||||
docker exec -$DOCKER_EXEC_FLAGS syncd fancontrol.py "$@"
|
||||
|
10
platform/barefoot/sonic-platform-modules-bfn-montara/scripts/ps_info
Executable file
10
platform/barefoot/sonic-platform-modules-bfn-montara/scripts/ps_info
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
DOCKER_EXEC_FLAGS="i"
|
||||
|
||||
# Determine whether stdout is on a terminal
|
||||
if [ -t 1 ] ; then
|
||||
DOCKER_EXEC_FLAGS+="t"
|
||||
fi
|
||||
|
||||
docker exec -$DOCKER_EXEC_FLAGS syncd ps_info.py "$@"
|
10
platform/barefoot/sonic-platform-modules-bfn-montara/scripts/sensors
Executable file
10
platform/barefoot/sonic-platform-modules-bfn-montara/scripts/sensors
Executable file
@ -0,0 +1,10 @@
|
||||
CKER_EXEC_FLAGS="i"
|
||||
|
||||
# Determine whether stdout is on a terminal
|
||||
if [ -t 1 ] ; then
|
||||
DOCKER_EXEC_FLAGS+="t"
|
||||
fi
|
||||
|
||||
docker exec -$DOCKER_EXEC_FLAGS syncd sensors.py "$@"
|
||||
|
||||
|
10
platform/barefoot/sonic-platform-modules-bfn-montara/scripts/sfputil.py
Executable file
10
platform/barefoot/sonic-platform-modules-bfn-montara/scripts/sfputil.py
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
DOCKER_EXEC_FLAGS="i"
|
||||
|
||||
# Determine whether stdout is on a terminal
|
||||
if [ -t 1 ] ; then
|
||||
DOCKER_EXEC_FLAGS+="t"
|
||||
fi
|
||||
|
||||
docker exec -$DOCKER_EXEC_FLAGS syncd sfputil.py "$@"
|
10
platform/barefoot/sonic-platform-modules-bfn/scripts/eeprom
Executable file
10
platform/barefoot/sonic-platform-modules-bfn/scripts/eeprom
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
DOCKER_EXEC_FLAGS="i"
|
||||
|
||||
# Determine whether stdout is on a terminal
|
||||
if [ -t 1 ] ; then
|
||||
DOCKER_EXEC_FLAGS+="t"
|
||||
fi
|
||||
|
||||
docker exec -$DOCKER_EXEC_FLAGS syncd eeprom.py "$@"
|
9
platform/barefoot/sonic-platform-modules-bfn/scripts/fancontrol
Executable file
9
platform/barefoot/sonic-platform-modules-bfn/scripts/fancontrol
Executable file
@ -0,0 +1,9 @@
|
||||
CKER_EXEC_FLAGS="i"
|
||||
|
||||
# Determine whether stdout is on a terminal
|
||||
if [ -t 1 ] ; then
|
||||
DOCKER_EXEC_FLAGS+="t"
|
||||
fi
|
||||
|
||||
docker exec -$DOCKER_EXEC_FLAGS syncd fancontrol.py "$@"
|
||||
|
10
platform/barefoot/sonic-platform-modules-bfn/scripts/ps_info
Executable file
10
platform/barefoot/sonic-platform-modules-bfn/scripts/ps_info
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
DOCKER_EXEC_FLAGS="i"
|
||||
|
||||
# Determine whether stdout is on a terminal
|
||||
if [ -t 1 ] ; then
|
||||
DOCKER_EXEC_FLAGS+="t"
|
||||
fi
|
||||
|
||||
docker exec -$DOCKER_EXEC_FLAGS syncd ps_info.py "$@"
|
10
platform/barefoot/sonic-platform-modules-bfn/scripts/sensors
Executable file
10
platform/barefoot/sonic-platform-modules-bfn/scripts/sensors
Executable file
@ -0,0 +1,10 @@
|
||||
CKER_EXEC_FLAGS="i"
|
||||
|
||||
# Determine whether stdout is on a terminal
|
||||
if [ -t 1 ] ; then
|
||||
DOCKER_EXEC_FLAGS+="t"
|
||||
fi
|
||||
|
||||
docker exec -$DOCKER_EXEC_FLAGS syncd sensors.py "$@"
|
||||
|
||||
|
10
platform/barefoot/sonic-platform-modules-bfn/scripts/sfputil
Executable file
10
platform/barefoot/sonic-platform-modules-bfn/scripts/sfputil
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
DOCKER_EXEC_FLAGS="i"
|
||||
|
||||
# Determine whether stdout is on a terminal
|
||||
if [ -t 1 ] ; then
|
||||
DOCKER_EXEC_FLAGS+="t"
|
||||
fi
|
||||
|
||||
docker exec -$DOCKER_EXEC_FLAGS syncd sfputil.py "$@"
|
Loading…
Reference in New Issue
Block a user