-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
06ed5f6
commit cc7f150
Showing
28 changed files
with
231 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,14 @@ | ||
deps/ | ||
|
||
dockers/*/files/ | ||
*.bin | ||
*.deb | ||
*.zip | ||
fsroot/ | ||
fs.* | ||
src/hiredis/hiredis_* | ||
src/hiredis/hiredis-*/ | ||
src/quagga/quagga_* | ||
src/quagga/quagga/ | ||
src/initramfs-tools/initramfs-tools/ | ||
src/redis/redis_* | ||
src/redis/redis-*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[supervisord] | ||
nodaemon=true | ||
|
||
[program:lldpd] | ||
## -d: Do not daemonize. If this option is specified, lldpd will run in | ||
## the foreground and log to stderr. This option can be specified | ||
## many times to increase verbosity | ||
command=/usr/sbin/lldpd -dd | ||
## route stderr to the syslog service instead of being saved to files | ||
stderr_logfile=syslog | ||
|
||
[program:lldpsyncd] | ||
command=/usr/sbin/lldpsyncd | ||
|
||
[program:rsyslogd] | ||
command=/usr/sbin/rsyslogd -n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[program:ptf_nn_agent] | ||
command=/usr/bin/python /opt/ptf_nn_agent.py --device-socket 0@tcp://127.0.0.1:10900 -i 0-3@eth3 | ||
process_name=ptf_nn_agent | ||
stdout_logfile=/tmp/ptf_nn_agent.out.log | ||
stderr_logfile=/tmp/ptf_nn_agent.err.log | ||
redirect_stderr=false | ||
autostart=true | ||
autorestart=true | ||
startsecs=1 | ||
numprocs=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[program:sshd] | ||
command=/usr/sbin/sshd -D | ||
process_name=sshd | ||
stdout_logfile=/tmp/sshd.out.log | ||
stderr_logfile=/tmp/sshd.err.log | ||
redirect_stderr=false | ||
autostart=true | ||
autorestart=true | ||
startsecs=1 | ||
numprocs=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,2 @@ | ||
[supervisord] | ||
nodaemon=true | ||
|
||
[program:sshd] | ||
command=/usr/sbin/sshd -D | ||
process_name=sshd | ||
stdout_logfile=/tmp/sshd.out.log | ||
stderr_logfile=/tmp/sshd.err.log | ||
redirect_stderr=false | ||
autostart=true | ||
autorestart=true | ||
startsecs=1 | ||
numprocs=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[supervisord] | ||
nodaemon=true | ||
|
||
[program:snmpd] | ||
command=/usr/sbin/snmpd -f -LS4d -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf,ifTable,ifXTable -p /run/snmpd.pid | ||
|
||
[program:acs-snmp-subagent] | ||
command=/usr/bin/env python3 -m acs_ax_impl | ||
|
||
[program:rsyslogd] | ||
command=/usr/sbin/rsyslogd -n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[program:ptf_nn_agent] | ||
command=/usr/bin/python /opt/ptf_nn_agent.py --device-socket 1@tcp://0.0.0.0:10900 -i 1-3@Ethernet12 | ||
process_name=ptf_nn_agent | ||
stdout_logfile=/tmp/ptf_nn_agent.out.log | ||
stderr_logfile=/tmp/ptf_nn_agent.err.log | ||
redirect_stderr=false | ||
autostart=true | ||
autorestart=true | ||
startsecs=1 | ||
numprocs=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[supervisord] | ||
nodaemon=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
function clean_up { | ||
service syncd stop | ||
service rsyslog stop | ||
exit | ||
} | ||
|
||
trap clean_up SIGTERM SIGKILL | ||
|
||
service rsyslog start | ||
service syncd start | ||
|
||
read |
Oops, something went wrong.