9b27efdcc2
The -sv2 suffix was used to differentiate SNMP Dockers when we transitioned from "SONiCv1" to "SONiCv2", about four years ago. The old Docker materials were removed long ago; there is no need to keep this suffix. Removing it aligns the name with all the other Dockers.
11 lines
180 B
Bash
Executable File
11 lines
180 B
Bash
Executable File
#!/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 lldp lldpcli "$@"
|