[gearbox] support gearbox feature on docker-sonic-vs (#8765)
This commit is contained in:
parent
2662a19eec
commit
8a00ad73fd
@ -7,6 +7,9 @@
|
||||
"dbCounters" : "COUNTERS_DB",
|
||||
"dbFlex": "FLEX_COUNTER_DB",
|
||||
"dbState" : "STATE_DB",
|
||||
"zmq_enable": false,
|
||||
"zmq_endpoint": "tcp://127.0.0.1:5555",
|
||||
"zmq_ntf_endpoint": "tcp://127.0.0.1:5556",
|
||||
"switches": [
|
||||
{
|
||||
"index" : 0,
|
||||
@ -21,10 +24,13 @@
|
||||
"dbCounters" : "GB_COUNTERS_DB",
|
||||
"dbFlex": "GB_FLEX_COUNTER_DB",
|
||||
"dbState" : "STATE_DB",
|
||||
"zmq_enable": false,
|
||||
"zmq_endpoint": "tcp://127.0.0.1:5565",
|
||||
"zmq_ntf_endpoint": "tcp://127.0.0.1:5566",
|
||||
"switches": [
|
||||
{
|
||||
"index" : 1,
|
||||
"hwinfo" : ""
|
||||
"hwinfo": "mdio0_0_0/0"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -175,6 +175,7 @@ COPY ["buffermgrd.sh", "/usr/bin/"]
|
||||
|
||||
COPY ["platform.json", "/usr/share/sonic/device/x86_64-kvm_x86_64-r0/"]
|
||||
COPY ["hwsku.json", "/usr/share/sonic/device/x86_64-kvm_x86_64-r0/Force10-S6000/"]
|
||||
COPY ["hwsku.json", "/usr/share/sonic/device/x86_64-kvm_x86_64-r0/brcm_gearbox_vs/"]
|
||||
|
||||
# Workaround the tcpdump issue
|
||||
RUN mv /usr/sbin/tcpdump /usr/bin/tcpdump
|
||||
|
@ -109,6 +109,11 @@ fi
|
||||
|
||||
/usr/bin/configdb-load.sh
|
||||
|
||||
if [ "$HWSKU" = "brcm_gearbox_vs" ]; then
|
||||
supervisorctl start gbsyncd
|
||||
supervisorctl start gearsyncd
|
||||
fi
|
||||
|
||||
supervisorctl start syncd
|
||||
|
||||
supervisorctl start portsyncd
|
||||
|
@ -43,6 +43,23 @@ autorestart=false
|
||||
stdout_logfile=syslog
|
||||
stderr_logfile=syslog
|
||||
|
||||
[program:gbsyncd]
|
||||
command=/usr/bin/syncd -s -p /usr/share/sonic/hwsku/pai.profile -x /usr/share/sonic/hwsku/context_config.json -g 1
|
||||
priority=4
|
||||
autostart=false
|
||||
autorestart=false
|
||||
stdout_logfile=syslog
|
||||
stderr_logfile=syslog
|
||||
|
||||
[program:gearsyncd]
|
||||
command=/usr/bin/gearsyncd -p /usr/share/sonic/hwsku/gearbox_config.json
|
||||
startsecs=0
|
||||
priority=5
|
||||
autostart=false
|
||||
autorestart=false
|
||||
stdout_logfile=syslog
|
||||
stderr_logfile=syslog
|
||||
|
||||
[program:portsyncd]
|
||||
command=/usr/bin/portsyncd
|
||||
priority=5
|
||||
|
Reference in New Issue
Block a user