-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Service] Enable/disable container auto-restart based on configuration. #4073
Commits on Jan 27, 2020
-
[Event_listener] modify event listener such that it will read the flag
of auto-restart feature from database and then decide whether to enable/disable this feature. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for e334536 - Browse repository at this point
Copy the full SHA e334536View commit details -
[Docker-teamd] Modify supervisord config file to pass the container n…
…ame to event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for d0bf16b - Browse repository at this point
Copy the full SHA d0bf16bView commit details -
[Docker-telemetry] Modify the supervisord config file to pass container
name to event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 5953740 - Browse repository at this point
Copy the full SHA 5953740View commit details -
[Docker-sflow] Modify supervisord config file to pass container name to
event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 5d007b1 - Browse repository at this point
Copy the full SHA 5d007b1View commit details -
[Docker-lldp] Modify supervisord config file to pass container name to
event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 4439c4a - Browse repository at this point
Copy the full SHA 4439c4aView commit details -
[Docker-swss] Modify supervisord config file to pass container name to
event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for e2ef606 - Browse repository at this point
Copy the full SHA e2ef606View commit details -
[Docker-pmon] Modify supervisord config file to pass container name to
event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 8a963d6 - Browse repository at this point
Copy the full SHA 8a963d6View commit details -
[Docker-radv] Modify supervisord config file to pass container name to
event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for f460268 - Browse repository at this point
Copy the full SHA f460268View commit details -
[Docker-dhcp-relay] Modify supervisord config file to pass container
name to event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for e1580dd - Browse repository at this point
Copy the full SHA e1580ddView commit details -
[Docker-snmp] Modify supervisord config file to pass container name to
event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 091a550 - Browse repository at this point
Copy the full SHA 091a550View commit details -
[Docker-bgp] Add an event listener, critical process list for contain…
…er bgp and event listener will monitor these critical processes and if one of them exited, the event listener will restart this container based on the configuration flag set in database. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for ec4d6ee - Browse repository at this point
Copy the full SHA ec4d6eeView commit details -
[Docker-bgp] Set the maximum restart times to 3 during 20 mins.
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 8161903 - Browse repository at this point
Copy the full SHA 8161903View commit details -
[Docker-bgp] Add a macro in docker's makefile.
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 9097988 - Browse repository at this point
Copy the full SHA 9097988View commit details -
[Docker-syncd-barefoot] Modify the supervisord config file to pass
container name to event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 05170f3 - Browse repository at this point
Copy the full SHA 05170f3View commit details -
[Docker-syncd-broadcom] Modify supervisord config file to pass container
name to event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 0d52f4e - Browse repository at this point
Copy the full SHA 0d52f4eView commit details -
[Docker-syncd-cavium] Modify supervisord config file to pass container
name to event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 4b9b009 - Browse repository at this point
Copy the full SHA 4b9b009View commit details -
[Docker-syncd-centec] Modify supervisord config file to pass container
name to event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 81cb12b - Browse repository at this point
Copy the full SHA 81cb12bView commit details -
[Docker-syncd-marvell] Modify supervisord config file to pass container
name to event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 3b84e80 - Browse repository at this point
Copy the full SHA 3b84e80View commit details -
[Docker-syncd-marvell-arm64] Modify supervisord config file to pass
container name to event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 44970a0 - Browse repository at this point
Copy the full SHA 44970a0View commit details -
[Docker-syncd-marvell-armhf] Modify supervisord config file to pass
container name as parameter to event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for e73a86d - Browse repository at this point
Copy the full SHA e73a86dView commit details -
[Docker-syncd-mellanox] Modify supervisord config file to pass container
name as parameter to event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for bcf43c7 - Browse repository at this point
Copy the full SHA bcf43c7View commit details -
[Docker-syncd-nephos] Modify the supervisord config file to pass
container name as parameter to event listener. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for cbebfe0 - Browse repository at this point
Copy the full SHA cbebfe0View commit details
Commits on Jan 28, 2020
-
[Event listener] Add '=' for getopt parameters.
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for b8a2f39 - Browse repository at this point
Copy the full SHA b8a2f39View commit details -
[Event-listener] Reorganize the import commands in event listener.
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 5dcb1ec - Browse repository at this point
Copy the full SHA 5dcb1ecView commit details -
[Docker-bgp] Delete all the relevant files of auto-restart feature.
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for b30a5a2 - Browse repository at this point
Copy the full SHA b30a5a2View commit details -
[Docker-dhcp-relay] Pass container name as paramter in sampled generated
configuration file. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 51cdf73 - Browse repository at this point
Copy the full SHA 51cdf73View commit details
Commits on Jan 29, 2020
-
[Event-listener] Add the logic to handle if the container name is not
provided or container name is invalid. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 6a2932b - Browse repository at this point
Copy the full SHA 6a2932bView commit details -
[Event-listener] Change the exit code.
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 2457dbf - Browse repository at this point
Copy the full SHA 2457dbfView commit details -
[Event-listener] Change the exit code from 1 to 2.
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 5e6ab1f - Browse repository at this point
Copy the full SHA 5e6ab1fView commit details -
[Event-listener] Change the exit code from 2 to 1 in line 30.
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 693fd78 - Browse repository at this point
Copy the full SHA 693fd78View commit details -
[Event-listener] Add three periods in the line 61.
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 324dd4f - Browse repository at this point
Copy the full SHA 324dd4fView commit details -
[Event-listener] Add logic to decide the invalid container name.
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 8201389 - Browse repository at this point
Copy the full SHA 8201389View commit details -
[Event-listener] Change the logic to avoid invalid container name.
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 3df1a3d - Browse repository at this point
Copy the full SHA 3df1a3dView commit details
Commits on Jan 30, 2020
-
[Event-listener] Add the logic to handle the corner caseis if the tab…
…le is not found in config db and container name is not found in the table. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 0833a03 - Browse repository at this point
Copy the full SHA 0833a03View commit details
Commits on Feb 3, 2020
-
[Event-listener] Use the syslog.LOG_ERR to write message into syslog
file. Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for 56ed262 - Browse repository at this point
Copy the full SHA 56ed262View commit details